JP2003312033A - Printing method in thermal printer - Google Patents

Printing method in thermal printer

Info

Publication number
JP2003312033A
JP2003312033A JP2002120042A JP2002120042A JP2003312033A JP 2003312033 A JP2003312033 A JP 2003312033A JP 2002120042 A JP2002120042 A JP 2002120042A JP 2002120042 A JP2002120042 A JP 2002120042A JP 2003312033 A JP2003312033 A JP 2003312033A
Authority
JP
Japan
Prior art keywords
dot
pattern
data
bit
thermal printer
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
JP2002120042A
Other languages
Japanese (ja)
Inventor
Yasuyuki Uchiyama
康幸 内山
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.)
Max Co Ltd
Original Assignee
Max 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 Max Co Ltd filed Critical Max Co Ltd
Priority to JP2002120042A priority Critical patent/JP2003312033A/en
Publication of JP2003312033A publication Critical patent/JP2003312033A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To enhance the resolution of a thermal printer. <P>SOLUTION: A dot pattern of 1 bit/dot print data is compared with a plurality of reference dot patterns for each m×n dot matrix in order to detect a dot to be interpolated. The 1 bit/dot print data is converted into 8 bit data and the dot to be interpolated is provided with 8 bit data subjected to heat quantity control. Data of a shift register is rewritten a plurality of times during a single strobe pulse and the heat generation timing of the dot to be interpolated is delayed or shortened thus controlling the print area of the dot to be interpolated and interpolating the level difference between the dots. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、サーマルプリン
タにおける印刷方法に関するものでであり、特に文字や
図形のアウトラインを滑らかに表現する印刷方法に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing method in a thermal printer, and more particularly to a printing method for smoothly expressing outlines of characters and figures.

【0002】[0002]

【発明が解決しようとする課題】サーマルプリンタによ
る印刷物の文字や図形はドットの集まりで構成されてお
り、1ドット・1ビットの印刷データによるドット密度
(dpi)は、紙送り方向においては1ストローブパルス
あたりの紙送りピッチにより決まり、サーマルヘッドの
ライン方向においてはサーマルヘッドの発熱体ピッチに
より決定されるが、dpi数値が小さいサーマルプリンタ
においては、小さい文字や図形を印刷した場合に特にド
ットの段差が目立ち粗い表現となる。そこで、低解像度
のサーマルヘッドを搭載したサーマルプリンタで高品位
な印刷結果が得られるようにするために解決すべき技術
的課題が生じてくるのであり、本発明は上記課題を解決
することを目的とする。
The characters and figures of a printed matter printed by a thermal printer are composed of a collection of dots. The dot density (dpi) of 1 dot / 1 bit print data is 1 strobe in the paper feeding direction. It is determined by the paper feed pitch per pulse, and in the line direction of the thermal head, it is determined by the heating element pitch of the thermal head.In a thermal printer with a small dpi value, especially when printing small characters or figures, the dot step Becomes a conspicuous expression. Therefore, there arises a technical problem to be solved in order to obtain a high-quality printing result with a thermal printer equipped with a low-resolution thermal head, and the present invention aims to solve the above problems. And

【0003】[0003]

【課題を解決するための手段】この発明は、上記目的を
達成するために提案するものであり、1ドットあたり1ビ
ットの印刷データによるドットパターンをメモリ上に展
開し、展開したドットパターンをm×nドットマトリック
ス毎に複数の参照ドットパターンと比較し、或る参照ド
ットパターンと一致したときは該当ドットマトリックス
の1ビットデータを前記参照ドットパターンに関連付け
られているマルチビットデータに置き換え、マルチビッ
トデータに基づき1ストローブパルスの間にサーマルヘ
ッドの印刷データを複数回書換えて印刷するサーマルプ
リンタにおける印刷方法を提供するものである。
SUMMARY OF THE INVENTION The present invention is proposed to achieve the above-mentioned object, and develops a dot pattern of 1-bit print data per dot on a memory and outputs the expanded dot pattern as m Xn dot matrix is compared with a plurality of reference dot patterns, and when a certain reference dot pattern is matched, 1-bit data of the dot matrix is replaced with multi-bit data associated with the reference dot pattern, and multi-bit data To provide a printing method in a thermal printer which rewrites print data of a thermal head a plurality of times during one strobe pulse based on data and prints.

【0004】また、上記m×nドットマトリックスと複数
の参照ドットパターンとのパターン比較により検出され
る補間対象ドットの位置に応じて補間対象ドットの通電
タイミングを制御することにより、補間対象ドットの印
刷面積を制御してドット間の段差を補間するサーマルプ
リンタにおける印刷方法を提供するものである。
Further, by printing the interpolation target dot by controlling the energization timing of the interpolation target dot according to the position of the interpolation target dot detected by the pattern comparison between the m × n dot matrix and a plurality of reference dot patterns. Provided is a printing method in a thermal printer which controls an area and interpolates a step between dots.

【0005】[0005]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。この発明は、ドットの段差を補間してアウト
ラインを滑らかに表現するために、元の印刷データから
高密度の印刷データを生成するものである。補間データ
の生成には、ドットパターンと予め決められた参照パタ
ーンとを比較して、パターンが一致したときは参照パタ
ーンに関連付けられているマルチビットのドット補間デ
ータを取り込み、補間すべき空白ドットの数分の一の面
積を発色させることにより滑らかに表現する手法を採っ
ている。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below. The present invention is to generate high-density print data from original print data in order to smoothly express an outline by interpolating dot step differences. To generate the interpolation data, the dot pattern is compared with a predetermined reference pattern, and when the patterns match, the multi-bit dot interpolation data associated with the reference pattern is taken in and the blank dot to be interpolated The technique is used to express smoothly by coloring a fraction of the area.

【0006】先ず、1ドット・1ビットの印刷データを
8ビットデータに変換するとともに、図1に示すように
メモリにドットパターンを展開し、ドットパターンを走
査して各ドットを含むm×nのマトリックスパターン毎に
m×nの参照パターンと比較する。図2は参照パターンの
一例を示し、6通りの2×2マトリックスパターン1a, 1
b, 1c, 1d, 1e, 1f において段差部分の空白ドットには
熱量1/2(例えば8ビットデータで熱量1=40(hex)とし
た場合は20(hex))のオンデータを設定している。
First, while converting 1-dot / 1-bit print data into 8-bit data, a dot pattern is developed in a memory as shown in FIG. 1, and the dot pattern is scanned to generate m × n pixels including each dot. For each matrix pattern
Compare with the m × n reference pattern. FIG. 2 shows an example of the reference pattern, and 6 types of 2 × 2 matrix patterns 1a, 1
In b, 1c, 1d, 1e, 1f, the blank dot in the step is set with half the heat amount (for example, if the heat amount of 8-bit data is 1 = 40 (hex), 20 (hex) of ON data is set. There is.

【0007】参照パターンと一致したドットマトリック
スパターンのデータは、図2において右列に示す熱量制
御値の8ビットデータに変換してメモリに上書きする。
印刷制御部は1ストローブパルスがサーマルヘッドへ入
力される間に、サーマルヘッドのシフトレジスタのデー
タを8ビットデータに応じて二回書き換え、各ドットの
発熱時間を制御する。補間ドットの通電パターンは補間
ドットが黒ドットの前か後ろかによって相違している。
図3(a)はストローブパルスを示し、補間ドットが先頭
側のライン(図2においてL1)にある場合は、(b)に示
すように、1ストローブパルス(a)の後半で通電され、
補間ドットが下流側(図2においてL2)にある場合は、
(c)に示すように、1ストローブパルスの前半で通電さ
れるように設定する。図4(a)は元のデータを示し、(b)
は補間処理印刷の結果を示す。同図に示すように、L1,
D4とL2, C6の空白ドットが補間処理により50パーセント
印刷され、ドットの段差が滑らかに表現される。
The dot matrix pattern data that matches the reference pattern is converted into 8-bit data of the heat quantity control value shown in the right column in FIG. 2 and overwritten in the memory.
The print controller rewrites the data in the shift register of the thermal head twice according to the 8-bit data while one strobe pulse is input to the thermal head, and controls the heating time of each dot. The energization pattern of the interpolation dot differs depending on whether the interpolation dot is before or after the black dot.
FIG. 3 (a) shows a strobe pulse. When the interpolation dot is on the head side line (L1 in FIG. 2), energization is performed in the latter half of one strobe pulse (a), as shown in (b),
If the interpolation dot is on the downstream side (L2 in Fig. 2),
As shown in (c), it is set so that power is supplied in the first half of one strobe pulse. Figure 4 (a) shows the original data, (b)
Indicates the result of interpolation processing printing. As shown in the figure, L1,
The blank dots of D4, L2, and C6 are printed by 50% by the interpolation process, and the step of the dot is smoothly expressed.

【0008】図5はより滑らかな補正を行う実施形態を
示し、2×5マトリックスの参照パターン1a, 1b, 1c, 1
d, 1e, 1f, 1g, 1hを用い、5段階の熱量制御(00H, 10
H, 20H, 30H, 40H)を行うものである。参照パターンの
空白ドットには黒ドット(40H)に対する位置関係に応
じて三段階の熱量制御値(30H, 20H, 10H)を設定して
おり、メモリ上の各ドットを参照パターンと比較し、参
照パターンと一致したドットマトリックスパターンのデ
ータは右列に示す熱量制御値の8ビットデータに変換し
て印刷メモリに上書きする。
FIG. 5 shows an embodiment in which a smoother correction is performed. The reference patterns 1a, 1b, 1c, 1 of a 2 × 5 matrix are shown in FIG.
Using d, 1e, 1f, 1g, 1h, 5 steps of heat quantity control (00H, 10
H, 20H, 30H, 40H). The blank dots of the reference pattern are set to three levels of heat quantity control values (30H, 20H, 10H) according to the positional relationship with the black dot (40H), and each dot in the memory is compared with the reference pattern and referenced. The data of the dot matrix pattern that matches the pattern is converted into 8-bit data of the heat quantity control value shown in the right column and overwritten in the print memory.

【0009】図6は図5の参照パターン1dにおけるシフ
トレジスタへの出力タイミングであり、図7は図5の参
照パターン1hにおけるシフトレジスタへの出力タイミン
グである。(a)中の1ストローブパルスがサーマルヘッ
ドへ入力される間に、基準クロックに同期してシフトレ
ジスタのデータを4回書換え、元の1ラインデータを4
ラインに分割して印刷する。図8(a)は図6の出力によ
る印刷結果、(b)は図7の出力による印刷結果を示し、
紙送り方向について元のデータの4倍の精細度で印刷さ
れる。
FIG. 6 shows the output timing to the shift register in the reference pattern 1d of FIG. 5, and FIG. 7 shows the output timing to the shift register in the reference pattern 1h of FIG. While one strobe pulse in (a) is input to the thermal head, the data in the shift register is rewritten four times in synchronization with the reference clock, and the original one line data is changed to four.
Divide into lines and print. FIG. 8A shows the print result by the output of FIG. 6, FIG. 8B shows the print result by the output of FIG.
Printing is performed with a definition four times higher than the original data in the paper feed direction.

【0010】尚、参照パターンの形状及び数量やそれぞ
れの熱量設定などは上記の実施形態に限定するものでは
なく、熱量制御値を更に細分化してより高精細な制御を
行うなど、この発明の技術的範囲内において種々の改変
が可能であり、この発明がそれらの改変されたものに及
ぶことは当然である。
The shape and quantity of the reference pattern and the setting of the heat quantity of each are not limited to those in the above embodiment, and the heat quantity control value is further subdivided to perform more precise control. Various modifications are possible within the scope of the invention, and it goes without saying that the present invention extends to those modifications.

【0011】[0011]

【発明の効果】以上説明したように、本発明のサーマル
プリンタにおける印刷方法は、参照ドットパターンとの
比較により検出された補間対象ドットの印刷時における
通電タイミングを制御して補間対象ドットの印刷面積を
制御することにより、元の印刷データの数倍の解像度が
得られ、低解像度のサーマルヘッドで高品位な印刷が可
能となる。
As described above, the printing method in the thermal printer of the present invention controls the energization timing at the time of printing the interpolation target dot detected by comparison with the reference dot pattern to control the printing area of the interpolation target dot. By controlling, the resolution of several times that of the original print data can be obtained, and high-quality printing can be performed with the low-resolution thermal head.

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

【図1】1ドット・1ビットの印刷ドットパターン。FIG. 1 is a 1-dot / 1-bit printed dot pattern.

【図2】1a, 1b, 1c, 1d, 1e, 1fは参照ドットパターン
図。
FIG. 2 is a reference dot pattern diagram 1a, 1b, 1c, 1d, 1e, 1f.

【図3】本発明の印刷方法によるサーマルヘッドの通電
タイミングチャート。
FIG. 3 is a timing chart of energization of the thermal head according to the printing method of the present invention.

【図4】2×2参照ドットパターンによる補間対象ドット
の検出の概念図。
FIG. 4 is a conceptual diagram of detection of interpolation target dots by a 2 × 2 reference dot pattern.

【図5】1a, 1b, 1c, 1d, 1e, 1f, 1g, 1hは参照ドット
パターン図。
FIG. 5 is a reference dot pattern diagram 1a, 1b, 1c, 1d, 1e, 1f, 1g, 1h.

【図6】図5の参照パターン1dにおけるサーマルヘッド
の通電タイミングチャート。
6 is an energization timing chart of the thermal head in the reference pattern 1d of FIG.

【図7】図5の参照パターン1hにおけるサーマルヘッド
の通電タイミングチャート。
FIG. 7 is an energization timing chart of the thermal head in the reference pattern 1h of FIG.

【図8】(a)は、図6の通電タイミングによる印刷結
果の解説図、(b)は、図7の通電タイミングによる印
刷結果の解説図である。
8A is an explanatory diagram of a print result at energization timing of FIG. 6, and FIG. 8B is an explanatory diagram of a print result at energization timing of FIG.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 1ドットあたり1ビットの印刷データによ
るドットパターンをメモリ上に展開し、展開したドット
パターンをm×nドットマトリックス毎に複数の参照ドッ
トパターンと比較し、或る参照ドットパターンと一致し
たときは該当ドットマトリックスの1ビットデータを前
記参照ドットパターンに関連付けられているマルチビッ
トデータに置き換え、マルチビットデータに基づき1ス
トローブパルスの間にサーマルヘッドの印刷データを複
数回書換えて印刷するサーマルプリンタにおける印刷方
法。
1. A dot pattern based on 1-bit print data for each dot is expanded on a memory, and the expanded dot pattern is compared with a plurality of reference dot patterns for each m × n dot matrix to determine a certain reference dot pattern. When they match, the 1-bit data of the corresponding dot matrix is replaced with the multi-bit data associated with the reference dot pattern, and the print data of the thermal head is rewritten a plurality of times during one strobe pulse based on the multi-bit data to print. Printing method in thermal printer.
【請求項2】 上記m×nドットマトリックスと複数の参
照ドットパターンとのパターン比較により検出される補
間対象ドットの位置に応じて補間対象ドットの通電タイ
ミングを制御することにより、補間対象ドットの印刷面
積を制御してドット間の段差を補間する請求項1記載の
サーマルプリンタにおける印刷方法。
2. Printing an interpolation target dot by controlling the energization timing of the interpolation target dot according to the position of the interpolation target dot detected by the pattern comparison between the m × n dot matrix and a plurality of reference dot patterns. The printing method for a thermal printer according to claim 1, wherein the area is controlled to interpolate a step between dots.
JP2002120042A 2002-04-23 2002-04-23 Printing method in thermal printer Pending JP2003312033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002120042A JP2003312033A (en) 2002-04-23 2002-04-23 Printing method in thermal printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002120042A JP2003312033A (en) 2002-04-23 2002-04-23 Printing method in thermal printer

Publications (1)

Publication Number Publication Date
JP2003312033A true JP2003312033A (en) 2003-11-06

Family

ID=29536383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002120042A Pending JP2003312033A (en) 2002-04-23 2002-04-23 Printing method in thermal printer

Country Status (1)

Country Link
JP (1) JP2003312033A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021094861A (en) * 2017-03-27 2021-06-24 カシオ計算機株式会社 Thermal printer, control method, and program
CN114274692A (en) * 2020-12-20 2022-04-05 上海商米科技集团股份有限公司 Gray scale printing method of thermal printer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021094861A (en) * 2017-03-27 2021-06-24 カシオ計算機株式会社 Thermal printer, control method, and program
JP7047955B2 (en) 2017-03-27 2022-04-05 カシオ計算機株式会社 Thermal printer, control method, and program
CN114274692A (en) * 2020-12-20 2022-04-05 上海商米科技集团股份有限公司 Gray scale printing method of thermal printer
CN114274692B (en) * 2020-12-20 2023-08-01 上海商米科技集团股份有限公司 Gray scale printing method of thermal printer

Similar Documents

Publication Publication Date Title
JPH0640080A (en) Printer
JP4942414B2 (en) Printing device
JP2003312033A (en) Printing method in thermal printer
JP4735070B2 (en) Thermal printer
JP2003312034A (en) Printing method in thermal printer
JP3020732B2 (en) Thermal printing method and thermal printer
JPH07266576A (en) Image forming apparatus
US5347597A (en) Image scaling for thermal printers and the like
JP2833423B2 (en) Printing method in thermal printer
JP4218131B2 (en) Digital printer
JP2812587B2 (en) Color thermal printer
JP2591015B2 (en) Method and apparatus for energizing thermal head in thermal printer
US6695422B1 (en) Positional difference adjustment during printing with multiple types of drive signals
US6805423B2 (en) System and method for controlling gradation
JPH06115140A (en) Line thermal printer
JPH0550635A (en) Printing method in thermal printer
JP2001328291A (en) Method of controlling printing for thermal transfer line printer, and thermal transfer line printer
JP2572857Y2 (en) Thermal transfer type multi-color printing device
JPH09220822A (en) Thermal printer
JPH08132674A (en) Print controlling method
JPH10217528A (en) Method for recording color image, color image-recording apparatus, and method for controlling recording of color image
JPH11309894A (en) Printer
JPH10151806A (en) Method for recording color image, color image-recording apparatus, and method for controlling color image-recording
JPS61241170A (en) Driving-controlling system for thermal serial printer
JP2005238567A (en) Image formation method of thermal transfer printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20050328

Free format text: JAPANESE INTERMEDIATE CODE: A621

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070207

A131 Notification of reasons for refusal

Effective date: 20070821

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Effective date: 20080108

Free format text: JAPANESE INTERMEDIATE CODE: A02