JPH06155794A - Printer - Google Patents

Printer

Info

Publication number
JPH06155794A
JPH06155794A JP4335294A JP33529492A JPH06155794A JP H06155794 A JPH06155794 A JP H06155794A JP 4335294 A JP4335294 A JP 4335294A JP 33529492 A JP33529492 A JP 33529492A JP H06155794 A JPH06155794 A JP H06155794A
Authority
JP
Japan
Prior art keywords
print
printing
area
head
thermal
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
JP4335294A
Other languages
Japanese (ja)
Inventor
Hanzo Tsuzuki
伴三 都築
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP4335294A priority Critical patent/JPH06155794A/en
Publication of JPH06155794A publication Critical patent/JPH06155794A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To extend a heating element life to extend a printing head replacing period by changing the relative positions of heating elements opposed to a printing area and a non-printing area. CONSTITUTION:A CPU 11 discriminates whether or not an issuance of a receipt has been completed by a printer 30. If an issuance of a receipt has been completed, for conducting printing, the CPU 11 outputs printing data to the printing controller 30 with a shift of one bit rightward for shifting a printing start position by one dot, i.e., for shifting a thermal element opposed to the printing start position by one segment rightward. Thereafter, on the basis of the count value of a bit counter, the CPU 11 judges whether or not a shift amount is larger than an amount of auxiliary thermal elements provided on a thermal line head. If it is larger, the shift amount is initialized so that printing is started at a segment 1 (SEG 1).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電子レジスタ(EC
R)やPOSシステム等に用いられる印字装置に係り、
例えば、印字ヘッドにセグメント単位の発熱素子をマト
リックス状に配列したサーマルラインヘッド等を適用し
た印字装置に関する。
BACKGROUND OF THE INVENTION The present invention relates to an electronic register (EC
R) and printing devices used in POS systems,
For example, the present invention relates to a printing device in which a thermal line head or the like in which heating elements in segment units are arranged in a matrix is applied to the printing head.

【0002】[0002]

【従来の技術】電子レジスタ(ECR)は、売上データ
を累計(登録)し、その売上データを出力し、登録され
た売上金額や売上回数等を点検、精算する装置であり、
また、POS端末装置は、百貨店、スーパーマーケッ
ト、コンビニエンスストア等の売り場に設置して、商品
管理、顧客管理、売上管理等に利用するデータを即時に
収集する端末装置である。
2. Description of the Related Art An electronic register (ECR) is a device for accumulating (registering) sales data, outputting the sales data, and inspecting and adjusting the registered sales amount and sales count.
Further, the POS terminal device is a terminal device which is installed in a department store, a supermarket, a convenience store or the like, and immediately collects data used for product management, customer management, sales management and the like.

【0003】これらの装置は、登録した商品の売上金額
や数量、値引き額等をレシート用紙に印字すると共に、
同様の登録内容をジャーナル用紙にも印字して営業管理
に利用するため、レシート用紙及びジャーナル用紙に印
字する印字装置を内蔵しており、その印字装置として
は、例えば、マトリクス状の発熱素子をライン状に配列
したラインヘッドを備えた印字装置が多く利用されてい
る。
[0003] These devices print the sales amount, quantity, discount amount, etc. of registered merchandise on receipt paper, and
In order to print the same registration contents on journal paper and use them for business management, it has a built-in printing device that prints on receipt paper and journal paper. A printing apparatus having line heads arranged in a line is widely used.

【0004】このような印字装置では、取引単位で入力
される商品の売上金額や数量、値引き額等の印字データ
に基づいてレシート用紙及びジャーナル用紙の印字対象
領域に対して印字が実行され、すなわち、入力される印
字データに基づいてライン状に配列されたマトリクス状
の発熱素子が選択的に駆動され、1行分の文字列は複数
ラインに分けて印字されている。
In such a printing device, printing is executed on the print target area of the receipt paper and the journal paper based on the print data such as the sales amount, quantity, discount amount, etc. of the products input in transaction units, that is, The matrix-shaped heating elements arranged in a line are selectively driven based on the input print data, and the character string for one line is divided into a plurality of lines and printed.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来のECRやPOSシステム等に内蔵される印字装置に
あっては、取引単位で入力される印字データに応じてレ
シート用紙及びジャーナル用紙の印字対象領域に印字さ
れる文字列の印字領域と非印字領域が固定される傾向に
あったため、これらの用紙に対向して配置される上記ラ
イン状の印字ヘッドのうち、印字領域で印字に利用され
る発熱素子と非印字領域で印字に利用されない発熱素子
が固定され、印字領域に該当する発熱素子の消耗が著し
くなり、この印字領域に該当する発熱素子の寿命が短く
なり、印字ヘッドの交換期間が短くなって印字装置の保
守コストを増大させるという問題が発生していた。
However, in the printing device built in the above-mentioned conventional ECR or POS system, the print target area of the receipt paper and the journal paper according to the print data input in transaction units. Since the printing area and non-printing area of the character string printed on the paper tended to be fixed, the heat generated by the printing area in the printing area of the line-shaped print heads facing the paper The heating element that is not used for printing is fixed in the element and the non-printing area, the heating element corresponding to the printing area is significantly consumed, the life of the heating element corresponding to this printing area is shortened, and the replacement period of the print head is short. Therefore, there has been a problem that the maintenance cost of the printing apparatus is increased.

【0006】本発明の課題は、印字領域と非印字領域に
対向する発熱素子の相対位置を変更して発熱素子の寿命
を長引かせ、印字ヘッドの交換期間を長引かせるように
することである。
An object of the present invention is to change the relative positions of the heating elements facing the printing area and the non-printing area to prolong the life of the heating elements and prolong the replacement period of the print head.

【0007】[0007]

【課題を解決するための手段】本発明の手段は次の通り
である。
The means of the present invention are as follows.

【0008】請求項1記載の発明は、一連の処理単位で
入力される印字データにより所定の印字対象領域が印字
領域と非印字領域に固定され、該印字対象領域に対向し
てライン状に配設された印字ヘッドを用いて該入力印字
データを該印字領域に印字する印字機構を備えた印字装
置(例えば、マトリクス状の発熱素子をライン状に配列
した印字ヘッドを備えた印字装置等において、前記入力
印字データにより固定される前記印字領域の印字開始位
置を所定タイミングで前記印字対象領域内で変位させ、
該印字領域と前記非印字領域に対向する前記印字ヘッド
の相対位置を該所定タイミングで変更する印字位置制御
手段(例えば、CPU等)を備えることを特徴とし、ま
た、請求項2記載の発明は、前記印字位置制御手段は、
前記印字領域の印字開始位置を前記一連の処理単位の終
了タイミングで前記印字対象領域内で変位させ、該印字
領域と前記非印字領域に対向する前記印字ヘッドの相対
位置を該一連の処理単位の終了タイミングで変更するこ
とを特徴とし、さらに、請求項3記載の発明は、前記印
字位置制御手段によって制御される印字開始位置の変位
量を指定する指定手段(例えば、変位量指定キー)を設
け、該印字ヘッドの印字領域に対向する所定位置に不良
箇所が発生したとき、該指定手段により該不良箇所を印
字領域から除くように印字開始位置の変位量を指定し、
前記印字位置制御手段は、該指定手段により指定された
変位量に基づいて印字開始位置を変位させ、前記印字領
域と前記非印字領域に対向する前記印字ヘッドの相対位
置を変更することを特徴としている。
According to a first aspect of the present invention, a predetermined print target area is fixed to a print area and a non-print area according to print data input in a series of processing units, and the print target area is arranged in a line in opposition to the print target area. A printing device provided with a printing mechanism for printing the input print data in the printing area by using the provided print head (for example, in a printing device provided with a print head in which matrix heating elements are arranged in a line, The print start position of the print area fixed by the input print data is displaced within the print target area at a predetermined timing,
The invention according to claim 2, further comprising a print position control unit (for example, a CPU) that changes a relative position of the print head facing the print region and the non-print region at the predetermined timing. , The printing position control means,
The print start position of the print area is displaced within the print target area at the end timing of the series of processing units, and the relative position of the print head facing the print area and the non-print area is set to the series of processing units. The invention is characterized in that the change is made at the end timing, and further, the invention according to claim 3 is provided with a designating unit (for example, a displacement amount designating key) for designating a displacement amount of the print start position controlled by the print position control unit. When a defective portion occurs at a predetermined position facing the print area of the print head, the displacement amount of the print start position is designated by the designating means so as to remove the defective portion from the print area,
The print position control means is characterized in that the print start position is displaced based on the displacement amount designated by the designating means, and the relative position of the print head facing the print area and the non-print area is changed. There is.

【0009】[0009]

【作用】本発明の手段の作用は次の通りである。The operation of the means of the present invention is as follows.

【0010】請求項1記載の発明によれば、一連の処理
単位で入力される印字データにより所定の印字対象領域
が印字領域と非印字領域に固定され、該印字対象領域に
対向してライン状に配設された印字ヘッドを用いて該入
力印字データを該印字領域に印字する印字機構を備えた
印字装置において、印字位置制御手段により前記入力印
字データにより固定される前記印字領域の印字開始位置
が所定タイミングで前記印字対象領域内で変位され、該
印字領域と前記非印字領域に対向する前記印字ヘッドの
相対位置が該所定タイミングで変更される。
According to the first aspect of the present invention, the predetermined print target area is fixed to the print area and the non-print area by the print data input in a series of processing units, and the line shape is provided so as to face the print target area. In a printing apparatus having a printing mechanism for printing the input print data in the print area by using a print head arranged in the print head, a print start position of the print area fixed by the input print data by print position control means. Is displaced within the print target area at a predetermined timing, and the relative position of the print head facing the print area and the non-print area is changed at the predetermined timing.

【0011】また、請求項2に記載の発明によれば、前
記印字位置制御手段により、前記印字領域の印字開始位
置は、前記一連の処理単位の終了タイミングで前記印字
対象領域内で変位され、該印字領域と前記非印字領域に
対向する前記印字ヘッドの相対位置が該一連の処理単位
の終了タイミングで変更される。
According to a second aspect of the present invention, the print position control means displaces the print start position of the print area within the print target area at the end timing of the series of processing units. The relative position of the print head facing the print area and the non-print area is changed at the end timing of the series of processing units.

【0012】したがって、入力印字データによって印字
領域と非印字領域に対向する印字ヘッドの相対位置が固
定されることを回避することができ、ライン状の印字ヘ
ッド全体を無駄なく印字に利用することができ、印字ヘ
ッドの特定箇所の消耗が進行することを回避することが
でき、印字ヘッドの寿命を長くして交換期間を長引かせ
ることができ、印字装置の保守コストを低減することが
できる。
Therefore, it is possible to prevent the relative positions of the print heads facing the print area and the non-print area from being fixed by the input print data, and the entire line print head can be used for printing without waste. Therefore, it is possible to prevent the wear of a specific portion of the print head from progressing, extend the life of the print head, prolong the replacement period, and reduce the maintenance cost of the printing apparatus.

【0013】さらに、請求項3記載の発明によれば、該
印字ヘッドの印字領域に対向する所定位置に不良箇所が
発生したとき、指定手段により該不良箇所を印字領域か
ら除くように前記印字開始位置の変位量が指定される
と、前記印字位置制御手段により、該指定手段により指
定された変位量に基づいて印字開始位置を変位され、前
記印字領域と前記非印字領域に対向する前記印字ヘッド
の相対位置が変更される。
Further, according to the third aspect of the invention, when a defective portion is generated at a predetermined position facing the print area of the print head, the printing is started by the designating means so as to remove the defective portion from the print area. When the displacement amount of the position is designated, the print position control unit displaces the print start position based on the displacement amount designated by the designating unit, and the print head faces the print region and the non-print region. The relative position of is changed.

【0014】したがって、入力印字データによって印字
領域と非印字領域に対向する印字ヘッドの相対位置が固
定されることを回避することができるとともに、印字ヘ
ッドに不良箇所が発生した場合でも、その不良箇所を避
けて印字を継続させることができ、ライン状の印字ヘッ
ド全体を無駄なく印字に利用することができ、印字ヘッ
ドの特定箇所の消耗が進行することを回避することがで
き、印字ヘッドの寿命を長くして交換期間を長引かせる
ことができ、印字装置の保守コストを一層低減すること
ができる。
Therefore, it is possible to prevent the relative positions of the print heads facing the print area and the non-print area from being fixed by the input print data, and even if a print head has a defective portion, that defective portion can be prevented. It is possible to continue printing while avoiding waste, and the entire line-shaped print head can be used for printing without wasting, and it is possible to avoid the progression of consumption of specific parts of the print head, and the life of the print head. Can be extended to prolong the replacement period, and the maintenance cost of the printer can be further reduced.

【0015】[0015]

【実施例】以下、図1〜図4を参照して本発明に係る印
字装置を電子レジスタ(以下、ECRという)に適用し
た一実施例を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the printer according to the present invention is applied to an electronic register (hereinafter referred to as ECR) will be described below with reference to FIGS.

【0016】まず、構成を説明する。図1は本発明に係
る印字装置を適用したECR10の全体構成のブロック
図である。図1において、ECR10は、CPU11、
ROM12、RAM13、入力制御部14、キー入力部
15、表示駆動部16、表示部17、印字制御部18、
印字部19、ドロア20及び変位量指定キー21等から
構成され、各部はバス22に接続されている。また、図
1において、印字制御部18及び印字部19は、印字装
置30を構成する。
First, the structure will be described. FIG. 1 is a block diagram of the overall configuration of an ECR 10 to which the printing device according to the present invention is applied. In FIG. 1, the ECR 10 is a CPU 11,
ROM 12, RAM 13, input control unit 14, key input unit 15, display drive unit 16, display unit 17, print control unit 18,
The printing unit 19, the drawer 20, the displacement amount designation key 21, and the like are provided, and each unit is connected to the bus 22. Further, in FIG. 1, the print control unit 18 and the print unit 19 configure a printing device 30.

【0017】CPU(Central Processing Unit)11
は、ROM12に格納されている各種制御プログラムに
従ってRAM13との間で各種データの授受を行いなが
ら各種動作に必要な数値を演算処理し、この演算処理に
基づいてECR10内の各部を制御するための各種制御
信号を出力する。また、CPU11内には、後述する印
字制御部18において実行される印字位置シフト処理に
よりシフトされる印字開始位置のシフト量をカウントす
るためのbitカウンタ11aが設けられており、CP
U11は、このbitカウンタ11aのカウント値に基
づいて印字制御部18に出力する印字データのシフト量
を制御している。なお、このシフト量は、後述する変位
量指定キー21から入力指定されるセグメント数によっ
ても変更可能である。
CPU (Central Processing Unit) 11
Performs arithmetic processing of numerical values required for various operations while exchanging various data with the RAM 13 according to various control programs stored in the ROM 12, and controls each part in the ECR 10 based on the arithmetic processing. Outputs various control signals. Further, in the CPU 11, a bit counter 11a for counting the shift amount of the print start position that is shifted by the print position shift process executed in the print control unit 18 described later is provided.
U11 controls the shift amount of the print data output to the print control unit 18 based on the count value of the bit counter 11a. It should be noted that this shift amount can also be changed by the number of segments input and designated by a displacement amount designation key 21 described later.

【0018】ROM(Read Only Memory)12は、CP
U11がECR10の各種動作を制御するための各種制
御プログラムを格納するとともに、後述する印字制御部
19が、印字動作を制御するための印字制御プログラム
も格納する。RAM(RandomAccess Memory)13は、
売上データ及びCPU11で処理される演算結果等を一
時的に記憶するデータエリアを形成するとともに、印字
制御部19が印字処理を実行する際に指定される印字開
始位置の変位量データを格納するデータエリアを形成す
る。
ROM (Read Only Memory) 12 is a CP
The U11 stores various control programs for controlling various operations of the ECR 10, and the print control unit 19 described later also stores a print control program for controlling the printing operation. RAM (Random Access Memory) 13 is
Data that forms a data area for temporarily storing sales data and a calculation result processed by the CPU 11, and stores displacement amount data of a print start position designated when the print control unit 19 executes print processing. Form an area.

【0019】入力制御部14は、キー入力部15から入
力されるモードデータや各種操作データ等をバス22を
介してCPU11及び表示駆動部16に出力する。キー
入力部15は、その操作パネル上にテンキー16a、フ
ァンクションキー16b及びモードスイッチMSが設け
られており、ユーザーのキー操作により入力される各種
操作データやモードデータ等を入力制御部14に出力す
る。
The input control unit 14 outputs the mode data, various operation data and the like input from the key input unit 15 to the CPU 11 and the display drive unit 16 via the bus 22. The key input unit 15 is provided with a ten-key 16a, a function key 16b, and a mode switch MS on its operation panel, and outputs various operation data, mode data, etc. input by the user's key operation to the input control unit 14. .

【0020】表示駆動部16は、CPU11、キー入力
部15及びRAM13からバス22を介して入力される
演算結果、各種データ及び売上データ等に基づいて表示
部17を駆動制御し、その演算結果、各種データ及び売
上データ等を表示させる。表示部17は、CRT(Cath
ode Ray Tube)や液晶ディスプレイ等から構成され、表
示駆動部16の駆動制御により演算処理結果、各種デー
タ及び売上データ等を表示する。
The display drive unit 16 drives and controls the display unit 17 based on the calculation result, various data, sales data and the like input from the CPU 11, the key input unit 15 and the RAM 13 via the bus 22, and the calculation result, Display various data and sales data. The display unit 17 is a CRT (Cath
ode Ray Tube), a liquid crystal display, etc., and displays the arithmetic processing result, various data, sales data, etc. by the drive control of the display drive unit 16.

【0021】印字制御部18は、ROM12に格納され
た印字制御プログラムに従って印字部19の印字動作と
紙送り動作を制御し、CPU11からバス21を介して
入力される印字データを所定の時間間隔で1ライン毎に
印字部19内の後述する印字ヘッド部に出力し、印字部
19にセットされるレシート用の感熱紙(以下、レシー
ト用紙という)或いはジャーナル用の感熱紙(以下、ジ
ャーナル用紙という)に売り上げデータ等の印字動作を
実行させるとともに、本実施例では、印字位置シフト処
理を実行し、サーマルラインヘッド部に出力する印字デ
ータの入力タイミングをCPU11からbitカウンタ
11aのカウント値に基づいて入力される印字データに
より印字文字の印字開始位置をドット単位でシフトさ
せ、レシート用紙及びジャーナル用紙の印字対象領域内
の印字領域と非印字領域に対向するサーマルラインヘッ
ドの印字利用領域をセグメント単位でシフトさせる。
The print control unit 18 controls the print operation and paper feed operation of the print unit 19 according to the print control program stored in the ROM 12, and print data input from the CPU 11 via the bus 21 at predetermined time intervals. The thermal paper for receipt (hereinafter referred to as receipt paper) or the thermal paper for journals (hereinafter referred to as journal paper) which is output to the print head unit described later in the printing unit 19 for each line and is set in the printing unit 19 In addition to executing the printing operation of the sales data and the like, in the present embodiment, the printing position shift processing is executed, and the input timing of the printing data to be output to the thermal line head unit is input from the CPU 11 based on the count value of the bit counter 11a. The print start position of the print character is shifted in dot units according to the print data that is printed, and the receipt paper and Shifting the print usage area of the thermal line head that faces the print area and non-printing area of the print target area of the journal paper in segments.

【0022】印字部19は、図2にその概略構成の斜視
図を示すように、印字ヘッド部31とプラテンローラー
32の間に感熱紙Kが挟装されている。プラテンローラ
32は、回転軸33の駆動により図中矢印方向に回転
し、その回転速度は印字ヘッド部31の印字速度に応じ
て設定される。このプラテンローラ32の回転により感
熱紙Kは、印字速度に応じた搬送速度で図中矢印方向へ
搬送される。
The printing section 19 has a thermal paper K sandwiched between a print head section 31 and a platen roller 32, as shown in the perspective view of the schematic construction of FIG. The platen roller 32 rotates in the direction of the arrow in the figure by driving the rotating shaft 33, and the rotation speed thereof is set according to the printing speed of the print head unit 31. The rotation of the platen roller 32 causes the thermal paper K to be transported in the direction of the arrow in the figure at a transport speed that corresponds to the printing speed.

【0023】印字ヘッド部31は、図3に示すように、
セグメント単位のサーマル素子がライン状に配列された
サーマルラインヘッド41と、入力される印字データに
応じてサーマルラインヘッド41を駆動する駆動回路4
2が、基板43上に設けられている。
The print head unit 31, as shown in FIG.
A thermal line head 41 in which thermal elements for each segment are arranged in a line, and a drive circuit 4 for driving the thermal line head 41 according to input print data.
2 are provided on the substrate 43.

【0024】サーマルラインヘッド41は、図4に示す
ように、セグメント単位で複数のサーマル素子(SEG
1〜SEGn‥‥)がライン状に配列されている。ま
た、図5にその等価回路を示すように、各サーマル素子
は、コモン電極(CON)に共通接続され、コモン電極
には、図外の駆動電源から所定のDC電圧が供給され、
各サーマル素子には、駆動回路42から印字データに応
じた駆動信号が入力されて駆動される。駆動回路42
は、シフトレジスタ及びNANDゲート等から構成さ
れ、1ライン毎に入力される印字データに応じてサーマ
ルラインヘッド41の各サーマル素子に駆動信号を出力
する。なお、サーマルラインヘッド41による印字動作
は、1ライン毎の印字データをセグメント単位でnライ
ン繰り返し行って1行分の所定文字数の印字を終了す
る。
As shown in FIG. 4, the thermal line head 41 includes a plurality of thermal elements (SEG) for each segment.
1 to SEGn ... Are arranged in a line. Further, as shown in its equivalent circuit in FIG. 5, each thermal element is commonly connected to a common electrode (CON), and a predetermined DC voltage is supplied to the common electrode from a drive power source (not shown).
A drive signal corresponding to print data is input from the drive circuit 42 to each thermal element to be driven. Drive circuit 42
Is composed of a shift register, a NAND gate, etc., and outputs a drive signal to each thermal element of the thermal line head 41 in accordance with print data input for each line. In the printing operation by the thermal line head 41, the printing data for each line is repeatedly performed for each segment of n lines, and the printing of a predetermined number of characters for one line is completed.

【0025】ドロア20は、現金を収納し、”現金/預
かり金キー”等が操作された際に開放される。
The drawer 20 stores cash and is opened when a "cash / deposit key" or the like is operated.

【0026】変位量指定キー21は、印字制御部18に
より印字処理に際してシフトされる上記サーマル素子の
セグメント数を指定する指定キーであり、1セグメント
を印字文字1ドットとして指定する。
The displacement amount designation key 21 is a designation key for designating the number of segments of the thermal element to be shifted in the printing process by the print control unit 18, and designates one segment as one dot of a printing character.

【0027】次に、動作を説明する。Next, the operation will be described.

【0028】いま、上記印字制御部18に入力される印
字データの1文字の構成が、例えば、図6に示すよう
に、縦7ドット×横5ドットで、文字と文字の間に2ド
ットスペースが挿入されるとすると、この文字構成に対
応して利用されるサーマル素子のセグメントは、図4に
示すように、5セグメント分のサーマル素子が印字に利
用され、次の2セグメント分は印字に利用されないとい
うように、印字領域(I)と非印字領域(H)に分けら
れる。
Now, as shown in FIG. 6, for example, one character of the print data inputted to the print control unit 18 is 7 dots in length × 5 dots in width, with a space of 2 dots between characters. Assuming that a character is inserted, the thermal element segment used corresponding to this character structure is the thermal element for 5 segments used for printing and the next 2 segments for printing, as shown in FIG. It is divided into a print area (I) and a non-print area (H) such that it is not used.

【0029】特に、ECR10では、1回の取引で入力
される商品名や集計金額等の印字データによりレシート
用紙及びジャーナル用紙の印字対象領域内に印字される
印字データの桁数及び印字位置は固定されているため、
すなわち、印字対象領域内で印字領域と非印字領域は固
定されており、この印字領域に利用されるサーマル素子
も固定されている。取引毎に印字に利用されるサーマル
素子の消耗だけが著しく進行して印字不能となると、非
印字領域に対向するサーマル素子は、ほとんど印字に利
用されないまま交換されていた。
In particular, in the ECR 10, the number of digits and the printing position of the print data printed in the print target area of the receipt paper and the journal paper are fixed by the print data such as the product name and the total amount of money input in one transaction. Because it has been
That is, the print area and the non-print area are fixed in the print target area, and the thermal element used in this print area is also fixed. When only the consumption of the thermal element used for printing progressed remarkably for each transaction and printing became impossible, the thermal element facing the non-printing area was replaced while being hardly used for printing.

【0030】このため、サーマルラインヘッド41の寿
命は、印字領域で利用されるサーマル素子の消耗度だけ
で決定されるため、本来、全サーマル素子を平均に印字
に利用した場合の寿命よりも短くなってしまい、サーマ
ルラインヘッド41の交換期間が短くなり、ECR10
の保守コストを増大させていた。
For this reason, the life of the thermal line head 41 is determined only by the degree of wear of the thermal elements used in the printing area. Therefore, the life of the thermal line head 41 is originally shorter than that when all the thermal elements are used for printing on average. Therefore, the replacement period of the thermal line head 41 is shortened, and the ECR10
Was increasing maintenance costs.

【0031】本実施例では、以上のようなラインサーマ
ルヘッド41に関する不具合を解決するため、入力印字
データによって印字に利用されるサーマル素子が固定さ
れないように、CPU11は、1回の取引が終了する毎
に、印字装置30に出力する印字データをビット単位で
シフトさせ、印字装置30の印字処理に際して印字デー
タの印字開始位置をシフトさせ、印字に利用されるサー
マル素子をセグメント単位でシフトさせるようにするも
のである。
In the present embodiment, in order to solve the above-mentioned problems relating to the line thermal head 41, the CPU 11 completes one transaction so that the thermal element used for printing is not fixed by the input print data. The print data to be output to the printing device 30 is shifted bit by bit, the print start position of the print data is shifted in the printing process of the printing device 30, and the thermal element used for printing is shifted in segment units. To do.

【0032】CPU11により実行されるレシート用紙
を印字対象とした印字位置シフト処理について図7に示
すフローチャートに基づいて説明する。なお、本実施例
では、この印字位置シフト処理を実行するため、図8に
示すように、サーマルラインヘッド41に、レシート用
紙及びジャーナル用紙の印字対象領域から外れる位置
に、予備のサーマル素子を2ドット分(2セグメント
分)設けている。
The print position shift processing for the receipt sheet to be printed, which is executed by the CPU 11, will be described with reference to the flowchart shown in FIG. In the present embodiment, in order to execute this print position shift processing, as shown in FIG. 8, the thermal line head 41 is provided with a spare thermal element at a position outside the print target area of the receipt paper and the journal paper. Dots (2 segments) are provided.

【0033】図7において、CPU11は、まず、印字
装置30によりレシートの発行が完了したか否かを判別
し(ステップS1)、レシートの発行が完了していない
ときは、次の印字データの印字処理を印字装置30に実
行させ(ステップS2)、レシート発行が完了している
ときは、印字開始位置を1ドット分シフトさせるよう
に、すなわち印字開始位置に対向するサーマル素子を1
セグメント分右側にシフトさせるため、印字データを1
bit分右側にシフトして印字制御装置30に出力して
印字させる(ステップS3)。
In FIG. 7, the CPU 11 first determines whether or not the receipt of the receipt is completed by the printing device 30 (step S1). If the receipt is not completed, the next print data is printed. The process is executed by the printing device 30 (step S2), and when the receipt issuance is completed, the print start position is shifted by one dot, that is, the thermal element facing the print start position is moved by one.
Print data is set to 1 to shift to the right by the segment.
It is shifted to the right by the amount of bit and output to the print control device 30 for printing (step S3).

【0034】次いで、bitカウンタのカウント値に基
づいてシフト量がサーマルラインヘッド41に設けられ
た予備のサーマル素子分をオーバーしたか否かを判定し
(ステップS4)、オーバーしていないときは、本処理
を終了し、オーバーしているときは、印字開始位置をセ
グメント1(SEG1)になるようにシフト量を初期化
して本処理を終了する(ステップS5)。
Next, it is judged whether or not the shift amount exceeds the amount of the spare thermal element provided in the thermal line head 41 based on the count value of the bit counter (step S4). When this process is finished and when it is over, the shift amount is initialized so that the print start position becomes the segment 1 (SEG1), and this process is finished (step S5).

【0035】以上の印字位置シフト処理により印字開始
位置がシフトされる様子を図9及び図10を参照して説
明する。
The manner in which the print start position is shifted by the above print position shift processing will be described with reference to FIGS. 9 and 10.

【0036】図9(a)は、上記図8に示したサーマル
ラインヘッド41と印字文字列の位置関係を印字開始位
置をシフトする前の初期状態として、CPU11から印
字制御部18に入力される印字データが、1bit分右
側へシフトされた場合のサーマルラインヘッド41と印
字文字列の関係を示している。この図8から図9(a)
への印字開始位置のシフトにより印字される印字文字と
セグメント単位のサーマル素子の関係を図10(a)、
(b)に示している。
In FIG. 9A, the positional relationship between the thermal line head 41 and the print character string shown in FIG. 8 is input from the CPU 11 to the print controller 18 as an initial state before shifting the print start position. The relationship between the thermal line head 41 and the print character string when the print data is shifted to the right by 1 bit is shown. This FIG. 8 to FIG. 9 (a)
Fig. 10 (a) shows the relationship between the print characters printed by shifting the print start position to
It is shown in (b).

【0037】図10(a)に示す初期位置、すなわち、
印字開始位置シフト前では、1文字目が、セグメント1
(SEG1)〜セグメント5(SEG5)のサーマル素
子により印字され、セグメント6、7(SEG6、7)
が非印字領域とされ、2文字目が、セグメント8(SE
G8)〜セグメント12(SEG12)のサーマル素子
により印字されている。次いで、図10(b)に示す印
字データが、1bit右側へシフトして入力されたとき
は、セグメント1(SEG1)のサーマル素子は非印字
領域とされ、1文字目が、セグメント2(SEG2)〜
セグメント6(SEG6)のサーマル素子により印字さ
れ、セグメント7、8(SEG7、8)が非印字領域と
され、2文字目が、セグメント9(SEG9)〜セグメ
ント13(SEG13)のサーマル素子により印字され
ている。
The initial position shown in FIG. 10A, that is,
Before shifting the print start position, the first character is segment 1.
Printing is performed by the thermal elements of (SEG1) to segment 5 (SEG5), and segments 6 and 7 (SEG6 and 7) are printed.
Is the non-printing area, and the second character is segment 8 (SE
Printing is performed by the thermal elements of G8) to segment 12 (SEG12). Next, when the print data shown in FIG. 10B is input by shifting to the right by 1 bit, the thermal element of segment 1 (SEG1) is set as a non-printing area, and the first character is segment 2 (SEG2). ~
The thermal element of segment 6 (SEG6) prints, the segments 7 and 8 (SEG7, 8) become non-printing areas, and the second character is printed by the thermal elements of segment 9 (SEG9) to segment 13 (SEG13). ing.

【0038】さらに、図9(b)に示すように、CPU
11から印字制御部18に入力される印字データが、2
bit分右側へシフトされた場合に印字される印字文字
とセグメント単位のサーマル素子の関係は、図10
(c)に示すようになる。図10(c)において、印字
データが、2bit右側へシフトして入力されたとき
は、セグメント1、2(SEG1、2)のサーマル素子
は非印字領域とされ、1文字目が、セグメント3(SE
G3)〜セグメント7(SEG7)のサーマル素子によ
り印字され、セグメント8、9(SEG8、9)が非印
字領域とされ、2文字目が、セグメント10(SEG1
0)〜セグメント14(SEG14)のサーマル素子に
より印字されている。
Further, as shown in FIG. 9B, the CPU
The print data input from 11 to the print control unit 18 is 2
FIG. 10 shows the relationship between the print characters and the thermal elements in units of segments printed when they are shifted to the right by one bit.
As shown in (c). In FIG. 10C, when the print data is shifted to the right by 2 bits and input, the thermal elements of the segments 1 and 2 (SEG1, 2) are set as the non-printing area, and the first character is the segment 3 ( SE
G3) to the segment 7 (SEG7) thermal element is printed, the segments 8 and 9 (SEG8 and 9) are non-printing areas, and the second character is the segment 10 (SEG1).
0) to segment 14 (SEG14) thermal elements are used for printing.

【0039】以上の図8〜図10に示した印字位置をシ
フトして出力されるレシート用紙の様子を図11に示し
て説明する。
The state of the receipt paper output by shifting the printing position shown in FIGS. 8 to 10 will be described with reference to FIG.

【0040】図11(a)は、上記図9の初期位置での
印字により出力されたレシート、同図(b)は、上記図
9(b)の1bitシフトした場合の印字により出力さ
れたレシート、同図(c)は、上記図9(c)の2bi
tシフトした場合の印字により出力されたレシート、同
図(d)は、予備の印字領域に設けられたサーマル素子
をオーバーしたために初期位置に復帰した場合の印字に
より出力されたレシートをそれぞれ示している。
FIG. 11A is a receipt output by printing at the initial position of FIG. 9, and FIG. 11B is a receipt output by printing when shifted by 1 bit in FIG. 9B. 9 (c) shows 2bi of FIG. 9 (c).
The receipt output by printing when the t shift is performed, and FIG. 7D shows the receipt output by printing when returning to the initial position because the thermal element provided in the spare printing area is overrun. There is.

【0041】すなわち、本実施例では、1回の取引中の
各印字行の印字開始位置が統一されているため、1回の
取引で出力されるレシート内で文字行毎に印字位置がず
れて印字内容が見にくくなることを回避している。
That is, in this embodiment, since the print start position of each print line during one transaction is unified, the print position is deviated for each character line in the receipt output by one transaction. This avoids making the printed contents difficult to see.

【0042】なお、以上の実施例では、レシート用紙へ
の印字処理についてだけ説明してきたが、同様の印字処
理は、ジャーナル用紙に対しても同時に実行される。
In the above embodiment, only the printing process on the receipt paper has been described, but the same printing process is executed simultaneously on the journal paper.

【0043】したがって、入力印字データによって印字
領域と非印字領域に対向するサーマルラインヘッド41
内の各サーマル素子の相対位置が固定されることを回避
することができ、ライン状に配列されたサーマル素子の
全体を無駄なく印字に利用することができ、サーマル素
子の特定箇所の消耗が著しく進行することを回避するこ
とができ、サーマルラインヘッドの寿命を長くして交換
期間を長引かせることができ、印字装置30を内蔵する
ECR10の保守コストを低減することができる。
Therefore, the thermal line head 41 facing the printing area and the non-printing area according to the input print data.
It is possible to avoid fixing the relative position of each thermal element inside, the entire thermal element arranged in a line can be used for printing without wasting, and the consumption of a specific part of the thermal element is remarkable. The progress can be avoided, the life of the thermal line head can be extended and the replacement period can be prolonged, and the maintenance cost of the ECR 10 including the printing device 30 can be reduced.

【0044】また、上記実施例の印字位置シフト処理を
実行した場合と、従来の印字位置シフト処理を実行しな
い場合のサーマルラインヘッド41の寿命をセグメント
単位のサーマル素子への駆動信号の印加回数を目安に比
較すると、例えば、従来のセグメント単位のサーマル素
子の寿命印加回数Lとすると、本実施例のセグメント単
位のサーマル素子の寿命印加回数は、次式(1)により
求められる。
The life of the thermal line head 41 when the print position shift process of the above embodiment is executed and when the conventional print position shift process is not executed is determined by the number of times the drive signal is applied to the thermal element in each segment. In comparison with the standard, for example, assuming that the number of application times of the life of the thermal element of the conventional segment unit is L, the number of application times of the life of the thermal element of the segment unit of this embodiment can be obtained by the following formula (1).

【0045】L×(7/5)=1.4L‥‥(1) すなわち、単純計算ではあるが、本実施例のサーマル素
子の寿命は、従来に比べて約1.4倍に延びることにな
り、確実に40パーセント以上の長寿命化を図ることが
できる。
L × (7/5) = 1.4L (1) That is, although it is a simple calculation, the life of the thermal element of this embodiment is about 1.4 times longer than that of the conventional one. Therefore, it is possible to surely extend the service life by 40% or more.

【0046】また、印字データの中にアルファベット
“H”のように、文字の左端等が、その他の文字に比べ
てサーマル素子の印字使用率が高い文字があっても、本
実施例の印字位置シフト処理を適用すれば、ライン状に
配列されたサーマル素子全体に印字使用率が分散される
ため、40パーセント以上の長寿命化が、確実に保証さ
れる。
Even if there is a character in the print data such as the letter "H" at the left end of the character, etc., in which the printing efficiency of the thermal element is higher than other characters, the printing position of this embodiment is If the shift process is applied, the print usage rate is dispersed over the entire thermal elements arranged in a line, so that a long service life of 40% or more is surely guaranteed.

【0047】また、上記印字位置シフト処理では、サー
マルラインヘッド41内の全サーマル素子が正常なもの
として1回の取引終了毎に印字開始位置を自動的にシフ
トさせる処理を行っていたが、上記寿命以外の原因でサ
ーマル素子に不良箇所が発生した場合、この不良のサー
マル素子が印字に利用されると、印字文字に印字されな
いドット部分が発生する。このようなサーマル素子の不
良発生に対処するためには、その不良箇所のサーマル素
子を印字に利用しないように、印字開始位置をシフトさ
せる必要がある。そこで、本実施例では、印字データの
シフトbit数を上記変位量指定キー21から指定する
ことにより印字不良箇所のサーマルヘッドを印字領域か
ら非印字領域へシフトさせるように処理する印字位置シ
フト処理も行う。
In the print position shifting process, all the thermal elements in the thermal line head 41 are assumed to be normal, and the print start position is automatically shifted after each transaction. When a defective portion is generated in the thermal element due to a cause other than the life, if the defective thermal element is used for printing, a dot portion that is not printed in the printed character occurs. In order to cope with such a defect of the thermal element, it is necessary to shift the print start position so that the thermal element at the defective portion is not used for printing. In view of this, in the present embodiment, the print position shift process is also performed in which the thermal bit at the defective print position is shifted from the print region to the non-print region by designating the shift bit number of the print data from the displacement amount designation key 21. To do.

【0048】具体的には、例えば、図12に示すよう
に、サーマルラインヘッド41のレシート用紙及びジャ
ーナル用紙の印字対象領域外に5bit分の予備のサー
マル素子を設け、上記図6に示したように、印字文字の
構成が、縦7ドット×横5ドットで、文字と文字の間に
2ドットのスペースが挿入される印字データを、図12
に示す初期位置から印字する場合、図13に示すよう
に、セグメント5(SEG5)のサーマル素子に不良が
発生していたとすると、変位量指定キー21により5b
it分のシフトを指定して印字データをシフトさせるこ
とにより、不良セグメントを印字文字間の非印字領域に
固定させることができる。
Specifically, for example, as shown in FIG. 12, a spare thermal element for 5 bits is provided outside the print target area of the receipt paper and the journal paper of the thermal line head 41, as shown in FIG. FIG. 12 shows print data in which a print character is composed of vertical 7 dots × horizontal 5 dots, and a space of 2 dots is inserted between characters.
When printing from the initial position shown in FIG. 13, if the thermal element of the segment 5 (SEG5) is defective as shown in FIG.
By designating the shift for it and shifting the print data, the defective segment can be fixed in the non-print area between the print characters.

【0049】この変位量指定キー21による印字位置シ
フト処理について、図14に示すフローチャートに基づ
いて説明する。
The print position shift process by the displacement amount designation key 21 will be described with reference to the flowchart shown in FIG.

【0050】まず、CPU11は、変位量指定キー21
により指定されるシフトビット数(X)を判別し(ステ
ップS11)、そのシフトbit数は、例えば、1bi
t〜5bitの間で任意に指定可能とすると、指定され
たシフトbit数をbitカウンタ11aにセットする
(X←1,X←2,X←3,X←4,X←5)(ステッ
プS12〜S16)。次いで、指定されたシフトbit
数分印字データを右側へシフトさせた状態で印字制御部
18に出力し、すなわち、1ライン毎の印字データの左
端より指定シフト数分のbit数のスペースコードを挿
入して出力し(ステップS17)、印字制御部18及び
印字部19に印字を実行させて本処理を終了する(ステ
ップS18)。
First, the CPU 11 determines the displacement amount designation key 21.
The shift bit number (X) designated by is determined (step S11), and the shift bit number is, for example, 1 bi.
If it is possible to arbitrarily specify from t to 5 bits, the specified shift bit number is set in the bit counter 11a (X ← 1, X ← 2, X ← 3, X ← 4, X ← 5) (step S12). ~ S16). Then the specified shift bit
The print data is output to the print control unit 18 in the state of being shifted to the right by several minutes, that is, the space code of the specified number of shifts is inserted from the left end of the print data for each line and output (step S17). ), The print control unit 18 and the print unit 19 are caused to execute printing, and the present process ends (step S18).

【0051】以上の印字位置シフト処理により印字文字
の不良箇所がシフトされる様子を図15を参照して説明
する。
The manner in which defective portions of printed characters are shifted by the above print position shift processing will be described with reference to FIG.

【0052】図15(a)は、シフト前でセグメント8
(SEG8)のサーマル素子が不良状態のまま印字した
場合を示しており、この不良のサーマル素子を印字領域
から非印字領域にシフトさせるには、上記図14の印字
位置シフト処理において、変位量指定キー21により1
bitシフトを指定すれば、図15(b)に示すよう
に、印字開始位置が1セグメント分右側へシフトされ、
不良箇所のセグメント8のサーマル素子が非印字領域に
シフトされる。
FIG. 15A shows the segment 8 before the shift.
The case where the thermal element of (SEG8) is printed in a defective state is shown. To shift the defective thermal element from the printing area to the non-printing area, in the printing position shift processing of FIG. 1 with key 21
If the bit shift is specified, the print start position is shifted to the right by one segment as shown in FIG.
The thermal element of the defective segment 8 is shifted to the non-printing area.

【0053】したがって、サーマル素子に不良箇所が発
生したとしても、その不良箇所を非印字領域にシフトさ
せるようにシフト量を指定することができ、サーマルラ
インヘッド41を交換する必要がなくなり、印字ヘッド
をより有効に利用することができ、ECR10の保守コ
ストを一層低減することができる。
Therefore, even if a defective portion occurs in the thermal element, the shift amount can be designated so as to shift the defective portion to the non-printing area, and it is not necessary to replace the thermal line head 41, and the print head is not required. Can be used more effectively, and the maintenance cost of the ECR 10 can be further reduced.

【0054】[0054]

【発明の効果】請求項1記載の発明によれば、一連の処
理単位で入力される印字データにより所定の印字対象領
域が印字領域と非印字領域に固定され、該印字対象領域
に対向してライン状に配設された印字ヘッドを用いて該
入力印字データを該印字領域に印字する印字機構を備え
た印字装置において、印字位置制御手段により前記入力
印字データにより固定される前記印字領域の印字開始位
置を所定タイミングで前記印字対象領域内で変位させ、
該印字領域と前記非印字領域に対向する前記印字ヘッド
の相対位置を該所定タイミングで変更し、また、請求項
2に記載の発明によれば、前記印字位置制御手段によ
り、前記印字領域の印字開始位置は、前記一連の処理単
位の終了タイミングで前記印字対象領域内で変位させ、
該印字領域と前記非印字領域に対向する前記印字ヘッド
の相対位置が該一連の処理単位の終了タイミングで変更
する構成としているので、入力印字データによって印字
領域と非印字領域に対向する印字ヘッドの相対位置が固
定されることを回避することができ、ライン状の印字ヘ
ッド全体を無駄なく印字に利用することができ、印字ヘ
ッドの特定箇所の消耗が進行することを回避することが
でき、印字ヘッドの寿命を長くして交換期間を長引かせ
ることができ、印字装置の保守コストを低減することが
できる。
According to the first aspect of the present invention, the predetermined print target area is fixed to the print area and the non-print area by the print data input in a series of processing units, and the print target area faces the print target area. In a printing device having a printing mechanism for printing the input print data in the print area by using print heads arranged in a line, printing of the print area fixed by the input print data by print position control means Displace the start position at a predetermined timing within the print target area,
The relative position of the print head that faces the print area and the non-print area is changed at the predetermined timing, and according to the invention of claim 2, the print position control means prints the print area. The start position is displaced in the print target area at the end timing of the series of processing units,
Since the relative positions of the print heads facing the print area and the non-print area are changed at the end timing of the series of processing units, the print heads facing the print area and the non-print area are input according to the input print data. It is possible to avoid fixing the relative position, it is possible to use the entire line-shaped print head for printing without waste, and it is possible to avoid the progress of consumption of specific parts of the print head. The life of the head can be extended to prolong the replacement period, and the maintenance cost of the printing apparatus can be reduced.

【0055】さらに、請求項3記載の発明によれば、印
字ヘッドの印字領域に対向する所定位置に不良箇所が発
生したとき、指定手段により該不良箇所を印字領域から
除くように前記印字開始位置の変位量が指定されると、
前記印字位置制御手段により、該指定手段により指定さ
れた変位量に基づいて印字開始位置を変位させ、前記印
字領域と前記非印字領域に対向する前記印字ヘッドの相
対位置を変更する構成としているので、入力印字データ
によって印字領域と非印字領域に対向する印字ヘッドの
相対位置が固定されることを回避することができるとと
もに、印字ヘッドに不良箇所が発生した場合でも、その
不良箇所を避けて印字を継続させることができ、ライン
状の印字ヘッド全体を無駄なく印字に利用することがで
き、印字ヘッドの特定箇所の消耗が進行することを回避
することができ、印字ヘッドの寿命を長くして交換期間
を長引かせることができ、印字装置の保守コストを一層
低減することができる。
Further, according to the third aspect of the present invention, when a defective portion occurs at a predetermined position facing the print area of the print head, the print start position is set so that the defective portion is removed from the print area by the designating means. When the displacement of is specified,
Since the print position control means is configured to displace the print start position based on the displacement amount designated by the designating means, the relative position of the print head facing the print area and the non-print area is changed. , It is possible to avoid fixing the relative position of the print head that faces the print area and the non-print area depending on the input print data, and even if there is a defective part in the print head, avoid the defective part and print. The entire line-shaped print head can be used for printing without waste, it is possible to avoid the progress of consumption of a specific part of the print head, and to extend the life of the print head. The replacement period can be extended and the maintenance cost of the printing device can be further reduced.

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

【図1】本発明に係る印字装置を組み込んだECRのブ
ロック構成図。
FIG. 1 is a block configuration diagram of an ECR incorporating a printing device according to the present invention.

【図2】図1の印字装置の概略斜視構成図。FIG. 2 is a schematic perspective configuration diagram of the printer of FIG.

【図3】図2の印字ヘッドの概略構成図。FIG. 3 is a schematic configuration diagram of the print head of FIG.

【図4】図3のサーマルラインヘッドの構成図。FIG. 4 is a configuration diagram of the thermal line head of FIG.

【図5】図4のサーマルラインヘッドの等価回路図。5 is an equivalent circuit diagram of the thermal line head of FIG.

【図6】図5のサーマルラインヘッドにより印字される
印字文字の構成例を示す図。
FIG. 6 is a diagram showing a configuration example of print characters printed by the thermal line head of FIG.

【図7】図1のCPUにより実行される印字位置シフト
処理のフローチャート。
7 is a flowchart of a print position shift process executed by the CPU of FIG.

【図8】図7の印字位置シフト処理が行われる前のサー
マルラインヘッドと印字文字の初期位置関係を示す図。
FIG. 8 is a diagram showing an initial positional relationship between a thermal line head and print characters before the print position shift process of FIG. 7 is performed.

【図9】図8の初期位置から図8の印字位置シフト処理
により印字開始位置がシフトされた後のサーマルライン
ヘッドと印字文字の位置関係を示す図。
9 is a diagram showing a positional relationship between a thermal line head and a print character after the print start position is shifted from the initial position of FIG. 8 by the print position shift processing of FIG.

【図10】図8及び図9の印字位置関係により印字され
た文字列を示す図。
FIG. 10 is a diagram showing a character string printed according to the print position relationship of FIGS. 8 and 9;

【図11】図8及び図9の印字位置関係により印字され
たレシート用紙を示す図。
FIG. 11 is a diagram showing a receipt paper printed according to the printing positional relationship of FIGS. 8 and 9;

【図12】サーマル素子に印字不良箇所が発生した場合
のサーマルラインヘッドと印字文字の初期位置関係を示
す図。
FIG. 12 is a diagram showing an initial positional relationship between a thermal line head and a printed character when a defective printing portion occurs on the thermal element.

【図13】図12の印字不良箇所をシフトさせた場合の
サーマルラインヘッドと印字文字の位置関係を示す図。
13 is a diagram showing a positional relationship between a thermal line head and printed characters when the defective printing portion of FIG. 12 is shifted.

【図14】サーマル素子に印字不良箇所が発生した場合
の印字位置シフト処理のフローチャート。
FIG. 14 is a flowchart of a print position shift process in the case where a print defect occurs in the thermal element.

【図15】図14の印字位置シフト処理により印字され
る文字列の一例を示す図。
15 is a diagram showing an example of a character string printed by the print position shift processing of FIG.

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

11 CPU 11a bitカウンタ 12 ROM 13 RAM 14 入力制御部 15 キー入力部 18 印字制御部 19 印字部 21 変位量指定キー 30 印字装置 31 印字ヘッド部 32 プラテンローラ 33 駆動軸 41 サーマルラインヘッド 42 駆動回路 11 CPU 11a bit counter 12 ROM 13 RAM 14 Input control unit 15 Key input unit 18 Printing control unit 19 Printing unit 21 Displacement amount designation key 30 Printing device 31 Printing head unit 32 Platen roller 33 Driving shaft 41 Thermal line head 42 Driving circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】一連の処理単位で入力される印字データに
より所定の印字対象領域が印字領域と非印字領域に固定
され、該印字対象領域に対向してライン状に配設された
印字ヘッドを用いて該入力印字データを該印字領域に印
字する印字機構を備えた印字装置において、 前記入力印字データにより固定される前記印字領域の印
字開始位置を所定タイミングで前記印字対象領域内で変
位させ、該印字領域と前記非印字領域に対向する前記印
字ヘッドの相対位置を該所定タイミングで変更する印字
位置制御手段を備えたことを特徴とする印字装置。
1. A print head in which a predetermined print target area is fixed to a print area and a non-print area by print data input in a series of processing units, and the print head is arranged in a line to face the print target area. In a printing device provided with a printing mechanism for printing the input print data in the print area, the print start position of the print area fixed by the input print data is displaced within the print target area at a predetermined timing, A printing apparatus comprising a print position control means for changing a relative position of the print head facing the print area and the non-print area at the predetermined timing.
【請求項2】前記印字位置制御手段は、前記印字領域の
印字開始位置を前記一連の処理単位の終了タイミングで
前記印字対象領域内で変位させ、該印字領域と前記非印
字領域に対向する前記印字ヘッドの相対位置を該一連の
処理単位の終了タイミングで変更することを特徴とする
請求項1記載の印字装置。
2. The print position control means displaces the print start position of the print area within the print target area at the end timing of the series of processing units, and opposes the print area and the non-print area. 2. The printer according to claim 1, wherein the relative position of the print head is changed at the end timing of the series of processing units.
【請求項3】前記印字位置制御手段によって制御される
印字開始位置の変位量を指定する指定手段を設け、該印
字ヘッドの印字領域に対向する所定位置に不良箇所が発
生したとき、前記指定手段により該不良箇所を印字領域
から除くように印字開始位置の変位量を指定し、前記印
字位置制御手段は、該指定手段により指定された変位量
に基づいて印字開始位置を変位させ、前記印字領域と前
記非印字領域に対向する前記印字ヘッドの相対位置を変
更することを特徴とする請求項1あるいは請求項2記載
の印字装置。
3. A designating means for designating a displacement amount of a print start position controlled by the print position control means is provided, and the designating means is provided when a defective portion occurs at a predetermined position facing a print area of the print head. Specifies the displacement amount of the print start position so as to exclude the defective portion from the print region, and the print position control unit displaces the print start position based on the displacement amount specified by the designating unit, 3. The printer according to claim 1, wherein the relative position of the print head that faces the non-printing area is changed.
JP4335294A 1992-11-20 1992-11-20 Printer Pending JPH06155794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4335294A JPH06155794A (en) 1992-11-20 1992-11-20 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4335294A JPH06155794A (en) 1992-11-20 1992-11-20 Printer

Publications (1)

Publication Number Publication Date
JPH06155794A true JPH06155794A (en) 1994-06-03

Family

ID=18286915

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4335294A Pending JPH06155794A (en) 1992-11-20 1992-11-20 Printer

Country Status (1)

Country Link
JP (1) JPH06155794A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021059121A (en) * 2021-01-07 2021-04-15 カシオ計算機株式会社 Thermal printer, sales data processing device, printing method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021059121A (en) * 2021-01-07 2021-04-15 カシオ計算機株式会社 Thermal printer, sales data processing device, printing method, and program

Similar Documents

Publication Publication Date Title
JPH02261662A (en) Series barcode printer
JPH06155794A (en) Printer
US20020021349A1 (en) Thermal print head high-speed driving apparatus and method
JP3321987B2 (en) Printing equipment
JP3812256B2 (en) Printing apparatus and storage medium
JPH07323597A (en) Printer
KR100241549B1 (en) Spool motor on time control method of ecr
KR100193723B1 (en) Motor speed control device and method
JPH03277580A (en) Printer having cumulated use state display function
JPS62297168A (en) Printer
JPH06242894A (en) Data transmission system for printer
JP2003058949A (en) Merchandise sale data processor and thermal printer
JP3614716B2 (en) Thermal printer
JP2533148B2 (en) Electronic cash register
JPH05135280A (en) Electronic cash register
JPS60124276A (en) Receipt printer
JPS6399965A (en) Controlling system for thermal recorder
JPS6024693A (en) Electronic cash register
JPS60146394A (en) Electronic cash register
JPH11154275A (en) Data printing device and its program recording medium
JPS6072095A (en) Electronic cash register
JPH02126395A (en) Electronic cash register
JPS6254396A (en) Electronic cash register
JP2000276629A (en) Automatic transaction device
JPS60966A (en) Printing system of printer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees