JPH11268355A - Line printer - Google Patents

Line printer

Info

Publication number
JPH11268355A
JPH11268355A JP7692798A JP7692798A JPH11268355A JP H11268355 A JPH11268355 A JP H11268355A JP 7692798 A JP7692798 A JP 7692798A JP 7692798 A JP7692798 A JP 7692798A JP H11268355 A JPH11268355 A JP H11268355A
Authority
JP
Japan
Prior art keywords
line
dot
data
printing
print
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
JP7692798A
Other languages
Japanese (ja)
Inventor
Yoshihiro Matsuda
芳弘 松田
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP7692798A priority Critical patent/JPH11268355A/en
Publication of JPH11268355A publication Critical patent/JPH11268355A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To prolong service life of a print head by shifting the print position of a current print data from the print position of an immediately preceding print data in the breadthwise direction of a sheet thereby preventing consumption of a specific dot print element from increasing. SOLUTION: When a dot pattern written in a writing memory 31 is printed out sequentially line by line, a roll paper is long fed and cur off by means of a cutter 10 to issue a receipt. A print data received from a POS terminal 4 is developed into a dot pattern and transferred sequentially to a line butter 8. Every time when a line of dot line data is transferred, a print mechanism section operates to print a line of dot line data. More specifically, a current print data is printed out while being shifted by 1 dot to the right from the print position of an immediately preceding print data.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、文字,罫線などの
印字データをラインヘッドによって用紙に印字出力する
ラインプリンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a line printer which prints out print data such as characters and ruled lines on paper by a line head.

【0002】[0002]

【従来の技術】用紙の幅方向にドット印字素子として複
数の発熱体を配列してなるラインサーマルヘッドを搭載
したラインサーマルプリンタは、高速印字が可能である
ことや騒音が小さいなどの利点から、近年ではPOSタ
ーミナル等に接続される領収書プリンタ等として広く活
用されている。この領収書プリンタは、POSターミナ
ルにより1取引として販売登録された商品の品名,販売
個数,販売金額や合計金額などの取引明細データをロー
ル紙に印字出力してカッタにより切断し、領収書(レシ
ートまたは伝票)として発行するものである。
2. Description of the Related Art A line thermal printer equipped with a line thermal head in which a plurality of heating elements are arrayed as dot printing elements in the width direction of a sheet has advantages such as high-speed printing and low noise. In recent years, it has been widely used as a receipt printer or the like connected to a POS terminal or the like. This receipt printer prints out transaction details data, such as the product name, sales quantity, sales amount, and total amount, of a product registered and sold as one transaction by the POS terminal on roll paper, cuts it with a cutter, and cuts the receipt (receipt). Or a slip).

【0003】ところで、この種のラインプリンタにおい
て、図5のAに示す伝票を印字するときのように印字デ
ータとして罫線があり、しかもその罫線の縦線部がどの
取引の伝票でも常に同じ位置に印字される場合には、伝
票印字中は常に縦線部を印字するドット印字素子が黒ド
ットの印字状態、つまりサーマルヘッドであれば発熱状
態となる。このため、このドット印字素子の消耗度合い
が他のドット印字素子と比較して著しく大きくなり、寿
命が極端に短くなっていた。
In this type of line printer, as in the case of printing a slip shown in FIG. 5A, there is a ruled line as print data, and the vertical line portion of the ruled line is always in the same position in any transaction slip. In the case of printing, the dot printing element for printing the vertical line portion always prints black dots during slip printing, that is, generates heat when the thermal head is used. For this reason, the degree of wear of the dot printing element is significantly increased as compared with other dot printing elements, and the life is extremely shortened.

【0004】[0004]

【発明が解決しようとする課題】このように従来のライ
ンプリンタにおいては、常に固定された位置に罫線の縦
線部を印字する印字データを処理する場合にその縦線部
の印字位置に対応するドット印字素子の消耗度合いが他
のドット印字素子と比較して大きく、寿命が極端に短く
なるという問題があった。
As described above, in a conventional line printer, when processing print data for printing a vertical line portion of a ruled line at a fixed position at all times, it corresponds to the print position of the vertical line portion. There is a problem that the degree of wear of the dot printing element is large as compared with other dot printing elements, and the life is extremely shortened.

【0005】そこで本発明は、たとえ常に固定された位
置に罫線の縦線部を印字する印字データを処理する場合
でも黒ドットが特定のドット印字素子に集中しないよう
にして、特定のドット印字素子の消耗度合いが極端に大
きくなるのを防ぎ、印字ヘッドの長寿命化を図り得るラ
インプリンタを提供しようとするものである。
Accordingly, the present invention provides a method for preventing a black dot from concentrating on a specific dot printing element even when processing print data for printing a vertical line portion of a ruled line at a fixed position. It is an object of the present invention to provide a line printer capable of preventing the degree of wear of the print head from becoming extremely large and extending the life of the print head.

【0006】[0006]

【課題を解決するための手段】本願請求項1記載の発明
は、用紙の幅方向に複数のドット印字素子を配列してな
るラインヘッドを搭載してなり、文字,罫線などの印字
データをドットパターンに展開して描画メモリに描画し
た後、この描画メモリのドットパターンをラインヘッド
により前記用紙に印字出力するラインプリンタにおい
て、描画メモリに描画されたドットパターン全体を用紙
の幅方向にシフトしてからラインヘッドにより用紙に印
字出力するシフト印字手段を設ける。そして、このシフ
ト印字手段により今回印字出力する印字データの印字位
置を少なくとも直前に印字出力した印字データの印字位
置より用紙の幅方向にシフトさせて印字出力するように
したものである。
According to the first aspect of the present invention, a line head having a plurality of dot printing elements arranged in the width direction of a sheet is mounted, and print data such as characters, ruled lines and the like are printed by dots. After the pattern is developed and drawn on the drawing memory, the entire dot pattern drawn on the drawing memory is shifted in the width direction of the paper in a line printer that prints out the dot pattern of the drawing memory on the paper by a line head. And a shift printing means for printing and outputting on paper by a line head. The shift printing means shifts the print position of the print data to be printed this time at least from the print position of the print data immediately before the print output in the width direction of the paper and prints the print data.

【0007】本願請求項2記載の発明は、用紙の幅方向
に複数のドット印字素子を配列してなるラインヘッドを
搭載してなり、文字,罫線などの印字データをドットパ
ターンに展開して描画メモリに描画した後、この描画メ
モリのドットパターンをラインヘッドにより用紙に印字
出力するラインプリンタにおいて、描画メモリの1ライ
ンのドット数より多いドット数のドットラインデータを
記憶可能なラインバッファと、シフト数を計数するシフ
トカウンタと、描画メモリに描画されたドットパターン
の先頭ラインからドットラインデータを順次読出しライ
ンバッファに転送する転送手段と、この転送手段により
ラインバッファに転送されたドットラインデータをライ
ンヘッドにより用紙に順次印字させる印字制御手段と、
この印字制御手段により描画バッファに描画されたドッ
トパターンの印字が終了する毎にシフトカウンタのシフ
ト数を変更するシフト数更新手段とを備える。そして転
送手段は、描画メモリから読出したドットラインデータ
をシフトカウンタのシフト数だけずらしてラインバッフ
ァに転送するようにしたものである。
According to a second aspect of the present invention, a line head having a plurality of dot printing elements arranged in the width direction of a sheet is mounted, and print data such as characters and ruled lines is developed into a dot pattern for drawing. In a line printer that prints out a dot pattern of the drawing memory on a sheet of paper by a line head after drawing in a memory, a line buffer capable of storing dot line data of a larger number of dots than one line of the drawing memory; A shift counter for counting the number of lines, transfer means for sequentially reading dot line data from the first line of the dot pattern drawn in the drawing memory, and transferring the read dot line data to the line buffer; Print control means for sequentially printing on paper by a head,
And a shift number updating means for changing the shift number of the shift counter each time the printing of the dot pattern drawn in the drawing buffer by the printing control means is completed. The transfer means shifts the dot line data read from the drawing memory by the shift number of the shift counter and transfers it to the line buffer.

【0008】本願請求項3記載の発明は、前記請求項2
記載の発明における用紙をロール紙とし、このロール紙
に印字データを印字出力した後、このロール紙をカッタ
によりカットする。このものにおいて、シフト数更新手
段を、カッタによりロール紙をカットする毎にシフトカ
ウンタのシフト数を変更する手段としたものである。
[0008] The invention according to claim 3 of the present application is the invention according to claim 2.
The paper in the described invention is a roll paper, print data is printed on the roll paper, and the roll paper is cut by a cutter. In this apparatus, the shift number updating means is means for changing the shift number of the shift counter each time the roll paper is cut by the cutter.

【0009】[0009]

【発明の実施の形態】以下、本発明の一実施の形態を図
面を用いて説明する。なお、この実施の形態では、PO
Sターミナルに接続され、ロール紙を用いて図5のAに
示すような領収書(伝票)を印字発行する領収書プリン
タとして機能するラインサーマルプリンタに適用した場
合について述べる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. In this embodiment, the PO
A case will be described in which the present invention is applied to a line thermal printer which is connected to an S terminal and functions as a receipt printer for printing and issuing a receipt (slip) as shown in FIG.

【0010】図1はかかるラインサーマルプリンタの要
部構成を示すブロック図であり、この領収書プリンタ
は、制御部本体としてCPU(Central Processing Uni
t )1を搭載している。また、上記CPU1が実行する
プログラムデータや各種文字コードに対応したドットパ
ターンデータ等の固定的データを記憶するROM(Read
Only Memoly)2、描画メモリ31等のデータ記憶領域
が形成されるRAM(Random Access Memoly)3、PO
Sターミナル4から印字データを受信するRS232C
などの通信インタフェース5を搭載している。さらに、
ロール紙の幅方向にドット印字素子として複数の発熱体
を配列してなるラインサーマルヘッド6、このラインサ
ーマルヘッド6の各発熱体のオン,オフを制御するヘッ
ドドライバ7、前記ラインサーマルヘッド6の1ライン
分のドットラインデータを記憶可能なラインバッファ
8、ロール紙をフィードする用紙搬送機構を動作させる
フィードモータ9、ロール紙を切断するカッタ10、前
記ヘッドドライバ7,フィードモータ8及びカッタ9に
それぞれ駆動信号を出力するI/Oポート11,12,
13などを搭載している。そして、前記CPU1と、R
OM2,RAM3,通信インタフェース5,ラインバッ
ファ8及び各I/Oポート11,12,13とを、アド
レスバス,データバスなどのバスライン14で接続して
いる。なお、ロール紙として感熱紙でなく普通紙を用い
る場合にはインクリボンが必要となり、この場合はイン
クリボンを搬送するリボン搬送機構を動作させるモータ
と、このモータに駆動信号を出力するべくバスライン1
4に接続されるI/Oポートとを搭載する。
FIG. 1 is a block diagram showing the configuration of a main part of such a line thermal printer. This receipt printer has a CPU (Central Processing Uniform) as a control unit main body.
t) 1 is installed. In addition, a ROM (Read) for storing fixed data such as program data executed by the CPU 1 and dot pattern data corresponding to various character codes.
Only Memoly) 2, RAM (Random Access Memoly) 3, in which a data storage area such as drawing memory 31 is formed, PO
RS232C that receives print data from S terminal 4
And the like. further,
A line thermal head 6 in which a plurality of heating elements are arranged as dot printing elements in the width direction of the roll paper; a head driver 7 for controlling on / off of each heating element of the line thermal head 6; A line buffer 8 capable of storing dot line data for one line, a feed motor 9 for operating a paper transport mechanism for feeding roll paper, a cutter 10 for cutting roll paper, the head driver 7, the feed motor 8 and the cutter 9 I / O ports 11, 12, which output drive signals respectively,
13 and so on. Then, the CPU 1 and R
The OM 2, RAM 3, communication interface 5, line buffer 8, and each I / O port 11, 12, 13 are connected by a bus line 14, such as an address bus and a data bus. When plain paper is used as the roll paper instead of thermal paper, an ink ribbon is required. In this case, a motor that operates a ribbon transport mechanism that transports the ink ribbon, and a bus line that outputs a drive signal to the motor are used. 1
4 with an I / O port connected to it.

【0011】前記RAM3には、図2に示すように、描
画メモリ31の他、ラインカウンタL及びシフトカウン
タSを形成している。ここで前記描画メモリ31は、図
示するように、1ライン当たりxビットのドットライン
データを最大Nラインまで描画可能な領域を形成してい
るものとする。また前記ラインバッファ8は、図3に示
すように、前記描画メモリ31の1ラインのドット数
(=x+1)よりも3ドット多いドットラインデータを
記憶可能な領域を形成しているものとする。なお、ライ
ンサーマルヘッド6には上記ラインバッファ8のドット
数(=x+3)以上の発熱体が配列されているものとし
て説明を続ける。
As shown in FIG. 2, a line counter L and a shift counter S are formed in the RAM 3 in addition to the drawing memory 31. Here, it is assumed that the drawing memory 31 forms an area in which x-bit dot line data per line can be drawn up to N lines as shown in the figure. As shown in FIG. 3, the line buffer 8 forms an area capable of storing dot line data that is three dots larger than the number of dots of one line (= x + 1) in the drawing memory 31. Note that the description will be continued on the assumption that the line thermal head 6 has heating elements arranged in the number of dots (= x + 3) or more of the line buffer 8.

【0012】図4は前記CPU1がROM2に格納され
たプログラムデータに基づいて実行する印字制御処理ル
ーチンの要部を示す流れ図である。すなわち、CPU1
は、例えば電源投入後のイニシャライズ処理が終了して
この印字制御処理ルーチンを開始すると、先ず、ST
(ステップ)1としてシフトカウンタSを「0」にリセ
ットしたならば、ST2として印字データを受信するの
を待機する。この状態で、POSターミナル4から文字
や罫線などの印字データを通信インタフェース5を介し
て受信すると、ST3としてその印字データをROM2
内のドットパターンデータに基づいてドットパターンに
展開して描画メモリ31に描画する。
FIG. 4 is a flowchart showing a main part of a print control processing routine executed by the CPU 1 based on program data stored in the ROM 2. That is, CPU1
For example, when the initialization process after power-on is completed and the print control process routine is started, first, ST
(Step) If the shift counter S is reset to "0" as 1, the process waits for receiving print data as ST2. In this state, when print data such as characters and ruled lines is received from the POS terminal 4 via the communication interface 5, the print data is stored in the ROM 2 as ST3.
The dot pattern data is developed into a dot pattern based on the dot pattern data in the above and is drawn in the drawing memory 31.

【0013】次に、ST4としてラインカウンタLを
「0」に一旦リセットしたならば、ST5としてこのラ
インカウンタLを「1」だけカウントアップする。しか
る後、ST6として描画メモリ31から上記ラインカウ
ンタLに一致するライン番地の(x+1)ビットからな
るドットラインデータを読出す。ここで、ST7として
該当するドットラインデータを読出すことができたなら
ば、ST8としてそのドットラインデータをバスライン
14を介してラインバッファ8に転送する。このとき、
ラインバッファ8の先頭領域から前記シフトカウンタS
に一致するドット数だけずらしてドットラインデータを
格納する。すなわち、前記シフトカウンタSが「0」で
あればS=0〜xの領域にドットラインデータを格納
し、前記シフトカウンタSが「1」であればS=1〜
(x+1)の領域にドットラインデータを格納し、前記
シフトカウンタSが「2」であればS=2〜(x+2)
の領域にドットラインデータを格納し、前記シフトカウ
ンタSが「3」であればS=3〜(x+3)の領域にド
ットラインデータを格納する(転送手段)。
Next, once the line counter L is reset to "0" in ST4, the line counter L is counted up by "1" in ST5. Thereafter, as ST6, dot line data consisting of (x + 1) bits at the line address corresponding to the line counter L is read from the drawing memory 31. Here, if the corresponding dot line data can be read out in ST7, the dot line data is transferred to the line buffer 8 via the bus line 14 in ST8. At this time,
The shift counter S starts from the head area of the line buffer 8.
Is stored by shifting the dot line data by the number of dots corresponding to. That is, if the shift counter S is "0", the dot line data is stored in the area of S = 0 to x, and if the shift counter S is "1", S = 1 to 1.
The dot line data is stored in the area (x + 1), and if the shift counter S is “2”, S = 2− (x + 2)
And if the shift counter S is "3", the dot line data is stored in the area of S = 3 to (x + 3) (transfer means).

【0014】CPU1は、ST8にてラインバッファ8
に1ライン分のドットラインデータを転送したならば、
ST9としてI/Oポート11からヘッドドライバ7に
駆動信号を送出して、ラインサーマルヘッド6によりロ
ール紙に上記ラインバッファ8内のドットラインデータ
を印字させる。そして1ラインのドットラインデータを
印字後、ST10としてI/Oポート12を介してフィ
ードモータ9に駆動信号を送出してロール紙を1ライン
分フィードさせる。しかる後、ST5に戻り、前記ライ
ンカウンタLをさらに「1」だけカウントアップしたな
らば、前記ST6〜ST9の処理を繰返す。こうして、
描画メモリ31に描画されたドットパターンの先頭ライ
ンからドットラインデータを順次読出してラインバッフ
ァ8に転送し、このラインバッファに転送されたドット
ラインデータをラインサーマルヘッド6によりロール紙
に順次印字出力させる(印字制御手段)。
In step ST8, the CPU 1 sets the line buffer 8
Transfer the dot line data for one line to
In ST9, a drive signal is sent from the I / O port 11 to the head driver 7, and the line thermal head 6 prints the dot line data in the line buffer 8 on roll paper. Then, after printing one line of dot line data, a drive signal is sent to the feed motor 9 via the I / O port 12 in ST10 to feed the roll paper for one line. Thereafter, returning to ST5, if the line counter L is further counted up by "1", the processing of ST6 to ST9 is repeated. Thus,
The dot line data is sequentially read from the leading line of the dot pattern drawn in the drawing memory 31 and transferred to the line buffer 8, and the dot line data transferred to this line buffer is sequentially printed and output on roll paper by the line thermal head 6. (Print control means).

【0015】そして、ST7にてラインカウンタLに一
致するライン番地のドットラインデータ無しを確認した
ならば、描画メモリ31に描画されたドットパターンの
印字が終了したので、ST11としてI/Oポート12
を介してフィードモータ9に駆動信号を送出してロール
紙を数ライン分ロングフィードさせた後、ST12とし
てI/Oポート13を介してカッタ10に駆動信号を送
出して、ロール紙を最終印字ラインの若干後方で切断す
る。しかる後、ST13としてシフトカウンタSを
「1」だけカウントアップする。ただし、ST14とし
てシフトカウンタSがシフト上限値「3」を超えたか否
かを判断し、超えている場合には、ST15としてシフ
トカウンタSを「0」にリセットする(シフト数更新手
段)。なお、上記シフト上限値は、描画メモリ31に描
画された(x+1)ドットのドットラインデータをライ
ンバッファ8に転送する際にシフトできる最大数であ
り、この実施の形態では、ラインバッファ8を描画メモ
リ31の1ラインのドット数(=x+1)よりも3ドッ
ト多いドットラインデータを記憶可能な領域としている
ので、シフト上限数は「3」となる。CPU1は、ST
13またはST15にてシフトカウンタSのシフト数を
更新したならば、ST2に戻り、次の印字データを受信
するのを待機する。そして印字データを受信したなら
ば、前記ST3乃至ST15の処理を繰返す。
If it is confirmed in ST7 that there is no dot line data at the line address corresponding to the line counter L, the printing of the dot pattern drawn in the drawing memory 31 is completed.
After a drive signal is sent to the feed motor 9 via the printer and the roll paper is fed long for several lines, a drive signal is sent to the cutter 10 via the I / O port 13 in ST12, and the roll paper is finally printed. Cut slightly behind the line. Thereafter, as ST13, the shift counter S is counted up by "1". However, it is determined whether or not the shift counter S has exceeded the shift upper limit value "3" in ST14, and if so, the shift counter S is reset to "0" in ST15 (shift number updating means). Note that the shift upper limit value is the maximum number that can be shifted when the (x + 1) dot line data drawn in the drawing memory 31 is transferred to the line buffer 8, and in this embodiment, the line buffer 8 is drawn. Since the dot line data is three dots larger than the number of dots of one line (= x + 1) in the memory 31, the shift upper limit number is “3”. The CPU 1 sets ST
If the shift number of the shift counter S has been updated in step 13 or ST15, the process returns to ST2 and waits for reception of the next print data. When the print data is received, the processing of ST3 to ST15 is repeated.

【0016】このように構成された本実施の形態のライ
ンサーマルプリンタにおいては、POSターミナル4か
ら領収書の印字データを受信すると、その印字データが
ドットパターンに展開されて描画メモリ31に描画され
る。次いで、上記描画メモリ31に描画されたドットパ
ターンのうち先頭のラインから順に(x+1)ドットの
ドットラインデータが読出されてラインバッファ8に転
送される。このとき、仮にシフトカウンタSが「0」で
あった場合には、(x+1)ドットのドットラインデー
タは、皆、ラインバッファ8のS=0〜xの領域に転送
される。そして、1ラインのドットラインデータが転送
される毎にラインサーマルヘッド6及びフィードモータ
9の印字機構部が動作して、その1ラインのドットライ
ンデータがロール紙に印字される。この場合における印
字例を図5のB1に示す。
In the thus constructed line thermal printer of the present embodiment, when print data of a receipt is received from the POS terminal 4, the print data is developed into a dot pattern and drawn in the drawing memory 31. . Next, (x + 1) dot line data of the dot pattern drawn in the drawing memory 31 are sequentially read from the leading line and transferred to the line buffer 8. At this time, if the shift counter S is “0”, the dot line data of (x + 1) dots are all transferred to the area of the line buffer 8 where S = 0 to x. Each time one line of dot line data is transferred, the printing mechanism of the line thermal head 6 and the feed motor 9 operates, and the one line of dot line data is printed on roll paper. A printing example in this case is shown in B1 of FIG.

【0017】こうして、描画メモリ31に描画されたド
ットパターンが1ラインずつ順に印字出力されたなら
ば、ロール紙がロングフィードされ、さらにカッタ10
により切断されて、領収書(伝票)として発行される。
このとき、前記シフトカウンタSが「1」にカウントア
ップする。したがって、次にPOSターミナル4から受
信した印字データについては、ドットパターンに展開さ
れて描画メモリ31に描画された後、先頭ラインから順
に(x+1)ドットのドットラインデータが読出されて
ラインバッファ8に転送されるが、このとき、(x+
1)ドットのドットラインデータは、皆、ラインバッフ
ァ8のS=1〜(x+1)の領域に転送される。そし
て、1ラインのドットラインデータが転送される毎に印
字機構部が動作して、その1ラインのドットラインデー
タがロール紙に印字される。すなわち、今回印字出力さ
れる印字データは、図5のB2に示すように、その印字
位置が直前に印字出力した印字データの印字位置よりも
1ドット分右にシフトされて印字出力されることにな
る。
When the dot patterns drawn in the drawing memory 31 are sequentially printed out line by line, the roll paper is fed long and the cutter 10
And issued as a receipt (slip).
At this time, the shift counter S counts up to “1”. Accordingly, the print data received next from the POS terminal 4 is developed into a dot pattern and drawn on the drawing memory 31, and then (x + 1) dot line data is read out from the leading line in order and stored in the line buffer 8. At this time, (x +
1) All the dot line data of the dots are transferred to the area of S = 1 to (x + 1) of the line buffer 8. The printing mechanism operates every time one line of dot line data is transferred, and the one line of dot line data is printed on roll paper. That is, as shown in B2 of FIG. 5, the print data to be printed this time is shifted in the print position by one dot to the right from the print position of the print data to be printed immediately before, and is printed and output. Become.

【0018】同様に、この次に受信した印字データは、
シフトカウンタSが「2」を計数しているのでさらに1
ドット分右にシフトされて印字され(図5のB3を参
照)、またその次に受信した印字データは、シフトカウ
ンタSが「3」を計数しているのでさらに1ドット分右
にシフトされて印字される(図5のB4を参照)。そし
て、この印字データを印字した後、シフトカウンタSは
「0」に戻るので、この次に受信した印字データは3ド
ット分左にシフトされて、3回前の印字データと同様な
位置領域に印字される(図5のB1を参照)。
Similarly, the print data received next is:
Since the shift counter S is counting "2", it is 1 more.
The print data is shifted to the right by dots (see B3 in FIG. 5), and the next received print data is further shifted to the right by one dot since the shift counter S counts "3". It is printed (see B4 in FIG. 5). Then, after printing this print data, the shift counter S returns to "0", so that the next received print data is shifted left by three dots to a position area similar to the print data three times before. It is printed (see B1 in FIG. 5).

【0019】このように本実施の形態によれば、描画メ
モリ31に描画されたドットパターン全体をロール紙の
幅方向にシフトしてからラインサーマルヘッド6により
ロール紙に印字出力するシフト印字手段として、CPU
1,ラインバッファ8及びシフトカウンタSを設けてい
る。そしてこのシフト印字手段により今回印字出力する
印字データの印字位置を少なくとも直前に印字出力した
印字データの印字位置よりロール紙の幅方向にシフトさ
せて印字出力するようにしている。
As described above, according to the present embodiment, the shift printing means for shifting the entire dot pattern drawn in the drawing memory 31 in the width direction of the roll paper and then printing out the roll pattern with the line thermal head 6 on the roll paper. , CPU
1, a line buffer 8 and a shift counter S are provided. The shift printing means shifts the print position of the print data to be printed this time at least in the width direction of the roll paper from the print position of the print data which has been printed and output immediately before, and prints the print data.

【0020】したがって、例えば図5のAに示すように
印字データとして罫線の縦線部が存在していても、印字
データ毎にその縦線部の印字位置がロール紙の幅方向に
1ドットずつシフトされるので、黒ドットが特定の発熱
体に集中することはない。その結果、特定の発熱体の消
耗度合いが他の発熱体に比べて極端に大きくなることは
なく、各発熱体の寿命が平均化される。よって、ライン
サーマルヘッド6の長寿命化を図ることができる。
Therefore, for example, as shown in FIG. 5A, even if a vertical line portion of a ruled line exists as print data, the print position of the vertical line portion is changed by one dot in the width direction of the roll paper for each print data. Since the shift is performed, the black dots are not concentrated on a specific heating element. As a result, the degree of consumption of a specific heating element does not become extremely large as compared with other heating elements, and the life of each heating element is averaged. Therefore, the life of the line thermal head 6 can be extended.

【0021】なお、本発明は前記一実施の形態に限定さ
れるものではない。例えば前記一実施の形態では、印字
データ毎にその印字位置を1ドットずつ用紙の幅方向に
ずらしたが、例えば図4中ST13の処理でシフトカウ
ンタSを「2」だけカウントアップさせることによって
2ドットずつ用紙の幅方向にずらすようにしてもよい。
また前記一実施の形態では、1ドットずつ4段階までシ
フトする例を示したが、例えば図4中ST14の処理で
シフト上限値を「1」とすることによって、1ドットず
つ2段階でシフトするようにしても黒ドットが特定の発
熱体に集中するのを防ぐことができ、本発明の効果は奏
し得るものである。
The present invention is not limited to the above embodiment. For example, in the above-described embodiment, the print position is shifted by one dot in the width direction of the paper for each print data. However, for example, by incrementing the shift counter S by “2” in the process of ST13 in FIG. The dots may be shifted in the width direction of the paper.
Further, in the above-described embodiment, an example in which the shift is performed up to four steps by one dot has been described. For example, the shift upper limit is set to “1” in the process of ST14 in FIG. Even if it does in this way, it can prevent that a black dot concentrates on a specific heating element, and the effect of the present invention can be achieved.

【0022】また、本発明はラインサーマルプリンタに
限定されるものではなく、ドット印字素子をドットピン
で構成してなるラインヘッドを用いたドットマトリック
スラインプリンタや、EL(エレクトロ・ルミネッセン
ス)素子で構成してなるラインヘッドを用いたELプリ
ンタなどに適用しても、本発明と同様の作用効果を奏し
得る。また、用紙はロール紙でなく単票用紙であっても
よい。この場合、シフトカウンタSは描画バッファに描
画されたドットパターンの印字が終了する毎にシフト数
を変更するようにプログラムを構成すればよい。この
他、本発明の要旨を逸脱しない範囲で種々変形実施可能
であるのは勿論である。
The present invention is not limited to a line thermal printer, but may be a dot matrix line printer using a line head having dot printing elements formed by dot pins, or an EL (electroluminescence) element. Even when the present invention is applied to an EL printer or the like using the line head, the same operation and effect as the present invention can be obtained. Further, the sheet may be a cut sheet instead of the roll sheet. In this case, the program of the shift counter S may be configured to change the shift number each time the printing of the dot pattern drawn in the drawing buffer is completed. In addition, it goes without saying that various modifications can be made without departing from the spirit of the present invention.

【0023】[0023]

【発明の効果】以上詳述したように本願請求項1記載の
発明によれば、描画メモリに描画されたドットパターン
全体を用紙の幅方向にシフトしてからラインヘッドによ
り用紙に印字出力するシフト印字手段を設けて、このシ
フト印字手段により今回印字出力する印字データの印字
位置を少なくとも直前に印字出力した印字データの印字
位置より用紙の幅方向にシフトさせて印字出力するよう
にしたので、たとえ常に固定された位置に罫線の縦線部
を印字する印字データを処理する場合でも黒ドットが特
定のドット印字素子に集中しなくなり、特定のドット印
字素子の消耗度合いが極端に大きくなるのを防ぐことが
でき、ひいては印字ヘッドの長寿命化を図り得るライン
プリンタを提供できる。また、本願請求項2記載の発明
によれば、描画メモリの1ラインのドット数より多いド
ット数のドットラインデータを記憶可能なラインバッフ
ァと、シフト数を計数するシフトカウンタとを設け、こ
のシフトカウンタのシフト数を描画バッファに描画され
たドットパターンの印字が終了する毎に変更するととも
に、描画メモリに描画されたドットパターンの先頭ライ
ンからドットラインデータを順次読出しラインバッファ
に転送する際にシフトカウンタのシフト数だけずらして
転送するようにしたので、前記請求項1記載の発明と同
等な効果を簡単な構成で実現できるようになる。さらに
本願請求項3記載の発明によれば、シフトカウンタのシ
フト数をカッタによりロール紙をカットする毎に変更す
るようにしたので、前記請求項2記載の発明と同等な効
果をロール紙を用いた場合にも奏し得るようになる。
As described in detail above, according to the first aspect of the present invention, the entire dot pattern drawn in the drawing memory is shifted in the width direction of the sheet and then printed by the line head on the sheet. Since the printing means is provided and the shift printing means shifts the printing position of the print data to be printed this time at least in the width direction of the paper from the printing position of the print data which has been printed and output immediately before, so that the printing is performed. Even when processing print data that prints the vertical line portion of the ruled line at a fixed position, black dots are not concentrated on specific dot print elements, preventing the degree of wear of specific dot print elements from becoming extremely large Thus, it is possible to provide a line printer capable of extending the life of the print head. According to the invention of claim 2 of the present application, a line buffer capable of storing dot line data having a number of dots larger than the number of dots of one line in the drawing memory, and a shift counter for counting the number of shifts are provided. The number of shifts of the counter is changed each time the printing of the dot pattern drawn in the drawing buffer is completed, and the shift is performed when the dot line data is sequentially read from the first line of the dot pattern drawn in the drawing memory and transferred to the line buffer. Since the transfer is performed by shifting by the number of shifts of the counter, the same effect as that of the first aspect can be realized with a simple configuration. Further, according to the third aspect of the present invention, the shift number of the shift counter is changed every time the roll paper is cut by the cutter, so that the same effect as that of the second aspect can be obtained by using the roll paper. Will be able to play even if there is.

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

【図1】 本発明の一実施の形態であるラインサーマル
プリンタの要部構成を示すブロック図。
FIG. 1 is a block diagram illustrating a main configuration of a line thermal printer according to an embodiment of the invention.

【図2】 同ラインサーマルプリンタのRAMに形成す
る主要なメモリ領域を示す図。
FIG. 2 is a diagram showing a main memory area formed in a RAM of the line thermal printer.

【図3】 同ラインサーマルプリンタが有するラインバ
ッファの構成図。
FIG. 3 is a configuration diagram of a line buffer included in the line thermal printer.

【図4】 同ラインサーマルプリンタのCPUが実行す
る印字処理ルーチンを示す流れ図。
FIG. 4 is a flowchart showing a print processing routine executed by the CPU of the line thermal printer.

【図5】 同実施の形態の作用説明に用いる印字例を示
す図。
FIG. 5 is a view showing a printing example used for describing the operation of the embodiment.

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

1…CPU 6…ラインサーマルヘッド 8…ラインバッファ 9…フィードモータ 10…カッタ 31…描画メモリ DESCRIPTION OF SYMBOLS 1 ... CPU 6 ... Line thermal head 8 ... Line buffer 9 ... Feed motor 10 ... Cutter 31 ... Drawing memory

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 用紙の幅方向に複数のドット印字素子を
配列してなるラインヘッドを搭載してなり、文字,罫線
などの印字データをドットパターンに展開して描画メモ
リに描画した後、この描画メモリのドットパターンを前
記ラインヘッドにより前記用紙に印字出力するラインプ
リンタにおいて、 前記描画メモリに描画されたドットパターン全体を前記
用紙の幅方向にシフトしてから前記ラインヘッドにより
前記用紙に印字出力するシフト印字手段を設け、このシ
フト印字手段により今回印字出力する印字データの印字
位置を少なくとも直前に印字出力した印字データの印字
位置より前記用紙の幅方向にシフトさせて印字出力する
ことを特徴とするラインプリンタ。
A line head having a plurality of dot printing elements arranged in a width direction of a sheet is mounted, and print data such as characters and ruled lines is developed into a dot pattern and drawn in a drawing memory. In a line printer for printing and outputting a dot pattern of a drawing memory on the paper by the line head, the entire dot pattern drawn on the drawing memory is shifted in the width direction of the paper and then printed on the paper by the line head. A shift printing means for shifting the printing position of the printing data to be printed this time by the shifting printing means at least from the printing position of the printing data printed and output immediately before in the width direction of the paper. Line printer.
【請求項2】 用紙の幅方向に複数のドット印字素子を
配列してなるラインヘッドを搭載してなり、文字,罫線
などの印字データをドットパターンに展開して描画メモ
リに描画した後、この描画メモリのドットパターンを前
記ラインヘッドにより前記用紙に印字出力するラインプ
リンタにおいて、 前記描画メモリの1ラインのドット数より多いドット数
のドットラインデータを記憶可能なラインバッファと、
シフト数を計数するシフトカウンタと、前記描画メモリ
に描画されたドットパターンの先頭ラインからドットラ
インデータを順次読出し前記ラインバッファに転送する
転送手段と、この転送手段により前記ラインバッファに
転送されたドットラインデータを前記ラインヘッドによ
り前記用紙に順次印字させる印字制御手段と、この印字
制御手段により前記描画バッファに描画されたドットパ
ターンの印字が終了する毎に前記シフトカウンタのシフ
ト数を変更するシフト数更新手段とを具備し、 前記転送手段は、前記描画メモリから読出したドットラ
インデータを前記シフトカウンタのシフト数だけずらし
て前記ラインバッファに転送することを特徴とするライ
ンプリンタ。
And a line head having a plurality of dot printing elements arranged in the width direction of the paper. The print data such as characters and ruled lines is developed into a dot pattern and drawn in a drawing memory. A line printer that prints out a dot pattern of a drawing memory on the paper by the line head, wherein a line buffer capable of storing dot line data having a dot number greater than the dot number of one line of the drawing memory;
A shift counter for counting the number of shifts, transfer means for sequentially reading dot line data from the first line of the dot pattern drawn in the drawing memory, and transferring the data to the line buffer; and dots transferred to the line buffer by the transfer means. Print control means for sequentially printing line data on the paper by the line head, and a shift number for changing the shift number of the shift counter each time printing of the dot pattern drawn in the drawing buffer by the print control means is completed. An updating unit, wherein the transfer unit shifts the dot line data read from the drawing memory by the shift number of the shift counter and transfers the dot line data to the line buffer.
【請求項3】 ロール紙の幅方向に複数のドット印字素
子を配列してなるラインヘッドを搭載してなり、文字,
罫線などの印字データをドットパターンに展開して描画
メモリに描画した後、この描画メモリのドットパターン
を前記ラインヘッドにより前記ロール紙に印字出力し、
印字出力後、前記ロール紙をカッタによりカットするラ
インプリンタにおいて、 前記描画メモリの1ラインのドット数より多いドット数
のドットラインデータを記憶可能なラインバッファと、
シフト数を計数するシフトカウンタと、前記描画メモリ
に描画されたドットパターンの先頭ラインからドットラ
インデータを順次読出し前記ラインバッファに転送する
転送手段と、この転送手段により前記ラインバッファに
転送されたドットラインデータを前記ラインヘッドによ
り前記ロール紙に順次印字させる印字制御手段と、前記
カッタにより前記ロール紙をカットする毎に前記シフト
カウンタのシフト数を変更するシフト数更新手段とを具
備し、 前記転送手段は、前記描画メモリから読出したドットラ
インデータを前記シフトカウンタのシフト数だけずらし
て前記ラインバッファに転送することを特徴とするライ
ンプリンタ。
And a line head having a plurality of dot printing elements arranged in the width direction of the roll paper.
After developing print data such as ruled lines into a dot pattern and drawing it on a drawing memory, the dot pattern of this drawing memory is printed out on the roll paper by the line head,
In a line printer that cuts the roll paper with a cutter after print output, a line buffer capable of storing dot line data having a dot number greater than the dot number of one line in the drawing memory;
A shift counter for counting the number of shifts, transfer means for sequentially reading dot line data from the first line of the dot pattern drawn in the drawing memory, and transferring the data to the line buffer; and dots transferred to the line buffer by the transfer means. Print control means for sequentially printing line data on the roll paper by the line head, and shift number updating means for changing the shift number of the shift counter each time the roll paper is cut by the cutter; The line printer shifts the dot line data read from the drawing memory by the shift number of the shift counter and transfers the dot line data to the line buffer.
JP7692798A 1998-03-25 1998-03-25 Line printer Pending JPH11268355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7692798A JPH11268355A (en) 1998-03-25 1998-03-25 Line printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7692798A JPH11268355A (en) 1998-03-25 1998-03-25 Line printer

Publications (1)

Publication Number Publication Date
JPH11268355A true JPH11268355A (en) 1999-10-05

Family

ID=13619364

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7692798A Pending JPH11268355A (en) 1998-03-25 1998-03-25 Line printer

Country Status (1)

Country Link
JP (1) JPH11268355A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000068019A1 (en) * 1999-05-10 2000-11-16 Moore North America, Inc. Enhancing printhead utilization

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000068019A1 (en) * 1999-05-10 2000-11-16 Moore North America, Inc. Enhancing printhead utilization
US6290326B1 (en) 1999-05-10 2001-09-18 Moore North America, Inc. Enhancing printhead utilization

Similar Documents

Publication Publication Date Title
CN101081575B (en) Thermal printer and method of controlling the same
EP1862317B1 (en) Thermal printer and method of controlling the same
EP1862321B1 (en) Thermal printer and method of controlling the same
JPH11268355A (en) Line printer
JP2007320188A (en) Thermal printer and its controlling method
JP4303261B2 (en) Thermal printer and printing method therefor
JP2001191573A (en) Thermal printer
JP2750215B2 (en) Label printer
JPH05205084A (en) Bar code printer
JP3243164B2 (en) Line printer
JP4201953B2 (en) Serial printer
JP4203424B2 (en) Printer
CN100546834C (en) Thermal printer and control method thereof
JPH1170707A (en) Printer
JP5122595B2 (en) Thermal printer and control method thereof
JP4281166B2 (en) Laminate printing method and thermal transfer printer using the same
JP4218333B2 (en) Print control device
JP2972392B2 (en) Transfer type printer
JP3313781B2 (en) Printing device
JP2002166588A (en) Thermal printer
JP2001001563A (en) Thermal printer
JPS58145470A (en) Heat-sensitive type printer
JP2872136B2 (en) Serial dot printer
JPS6335367A (en) Printer
JPS61217279A (en) Printing-controlling system for printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040916

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080729

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080929

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090120