JP2016168794A - Thermal printer, control method, and program - Google Patents

Thermal printer, control method, and program Download PDF

Info

Publication number
JP2016168794A
JP2016168794A JP2015051347A JP2015051347A JP2016168794A JP 2016168794 A JP2016168794 A JP 2016168794A JP 2015051347 A JP2015051347 A JP 2015051347A JP 2015051347 A JP2015051347 A JP 2015051347A JP 2016168794 A JP2016168794 A JP 2016168794A
Authority
JP
Japan
Prior art keywords
print data
print
thermal
dot
printing
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.)
Granted
Application number
JP2015051347A
Other languages
Japanese (ja)
Other versions
JP6489431B2 (en
Inventor
浩 押之見
Hiroshi Oshinomi
浩 押之見
正三 井崎
Shozo Izaki
正三 井崎
嘉光 倉又
Yoshimitsu Kuramata
嘉光 倉又
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.)
Seiko Solutions Inc.
Original Assignee
Seiko Solutions Inc.
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 Seiko Solutions Inc. filed Critical Seiko Solutions Inc.
Priority to JP2015051347A priority Critical patent/JP6489431B2/en
Publication of JP2016168794A publication Critical patent/JP2016168794A/en
Application granted granted Critical
Publication of JP6489431B2 publication Critical patent/JP6489431B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electronic Switches (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a thermal printer, a control method, and program which are highly efficient in print control.SOLUTION: A thermal printer includes a thermal head configured by arranging a plurality of heating elements, a paper delivery mechanism which supplies a thermal paper sheet to the thermal head, and a control device which sets the number of times of dividing and printing print data for an area constituted by a plurality of dot lines on the basis of a printing rate of the print data, sequentially heats the heating elements divided by the number of times, and prints the print data on the thermal paper sheet.SELECTED DRAWING: Figure 3

Description

本発明は、サーマルプリンタ、制御方法及びプログラムに関する。   The present invention relates to a thermal printer, a control method, and a program.

バッテリで動作するサーマルプリンタでは、バッテリの仕様上の制限によりプリンタに供給できる電流が限られる。そのような条件下でより高速な印字処理を実現するために、例えば特許文献1、特許文献2に記載のサーマルプリンタでは、プリンタのサーマルヘッドの発熱体を複数のブロックに分割し、印字する内容に応じて同時に通電する発熱体の数を制御することが行われる。すなわち、従来のサーマルプリンタでは、1ドットラインを印字する毎に、サーマルヘッドの発熱体を複数のブロックに分割し、印字内容に合わせて同時に通電可能なブロックを組み合わせ、1ドットラインを印字する処理を全てのドットラインに対して行うという印字制御を行っている。   In a thermal printer that operates on a battery, the current that can be supplied to the printer is limited due to limitations in battery specifications. In order to realize a higher-speed printing process under such conditions, for example, in the thermal printer described in Patent Literature 1 and Patent Literature 2, the heating element of the thermal head of the printer is divided into a plurality of blocks and printed. The number of heating elements energized at the same time is controlled according to the control. That is, in a conventional thermal printer, each time a dot line is printed, the heating element of the thermal head is divided into a plurality of blocks, and a block that can be energized at the same time according to the printing content is combined to print one dot line. The print control is performed for all the dot lines.

特許第2973248号公報Japanese Patent No. 297248 特許第3012747号公報Japanese Patent No. 3012747

しかしながら、このようなサーマルヘッドの発熱体を複数のブロックに分割する印字制御を1ドットライン毎に行うことは制御が複雑になるため、印字制御の効率を低くすることになるという問題がある。
そこで、本発明は、この問題点を解決するためになされたものであり、印字制御の効率が高いサーマルプリンタ、制御方法及びプログラムを提供することにある。
However, performing the printing control for dividing the heating element of the thermal head into a plurality of blocks for each dot line has a problem in that the control becomes complicated and the efficiency of the printing control is lowered.
Therefore, the present invention has been made to solve this problem, and it is an object of the present invention to provide a thermal printer, a control method, and a program with high print control efficiency.

上記の課題を解決するために、本発明のサーマルプリンタは、複数の発熱体を配列して構成されたサーマルヘッドと、感熱紙を前記サーマルヘッドに供給する紙搬送機構と、複数のドットラインからなる領域について印字データを分割印字する際の回数を、前記印字データの印字率に基づいて設定し、前記領域について前記回数に分割された前記発熱体を順次発熱させて、前記感熱紙に前記印字データを印字する制御装置を、を備える。   In order to solve the above problems, a thermal printer of the present invention includes a thermal head configured by arranging a plurality of heating elements, a paper transport mechanism for supplying thermal paper to the thermal head, and a plurality of dot lines. The number of times when the print data is dividedly printed for the area is set based on the print rate of the print data, and the heating element divided into the number of times for the area is sequentially heated to print the print on the thermal paper. A control device for printing data;

また、本発明のプリンタは、前記制御装置は、前記印字データを構成する1ドットライン毎に、印字するドットの数を積算し、積算結果を同時に発熱させる前記発熱体の個数である最大同時通電ドット数と比較し、比較結果に基づいて前記1ドットラインを分割印字する際の分割回数を判定する分割回数判定部と、前記1ドットライン毎の前記分割回数のうち、最大値を、前記印字データを構成する全ての1ドットラインを分割印字する際の前記回数と設定し、複数のブロック単位に分けられている前記複数の前記発熱体のいずれのブロックを制御するかを表すブロック選択情報を、設定された前記回数に基づいて送出するプリンタ駆動条件設定部と、前記ブロック選択情報に基づいて、前記ブロック単位を順次発熱させて、前記感熱紙に前記印字データを構成する全ての1ドットラインを印字するヘッド駆動制御部と、を備えることを特徴とする。   In the printer according to the present invention, the control device integrates the number of dots to be printed for each dot line constituting the print data, and the maximum simultaneous energization that is the number of the heating elements that simultaneously generate the accumulated result. A division number determination unit that compares the number of dots and determines the number of divisions when dividing and printing the one dot line based on the comparison result; and the maximum value among the number of divisions for each dot line is the print Block selection information indicating which block of the plurality of heating elements to be controlled is set as the number of times when all the 1 dot lines constituting the data are divided and printed, and divided into a plurality of block units. A printer driving condition setting unit for sending out based on the set number of times, and heating the block units sequentially on the basis of the block selection information, A head drive control unit for printing all the one-dot lines constituting the printing data, characterized in that it comprises a.

また、本発明のプリンタは、前記制御装置は、前記印字データを作成し、前記印字データを1ドットライン毎に出力する印字データ作成転送部と、前記分割回数判定部と、前記プリンタ駆動条件設定部と、を有する第1の制御装置と、前記感熱紙を前記サーマルヘッドに供給する速度を加速または減速するモータ駆動制御部と、前記ヘッド駆動制御部と、を有する第2の制御装置と、を備えることを特徴とする。   In the printer of the present invention, the control device creates the print data and outputs the print data for each dot line, the division number determination unit, and the printer drive condition setting. A second control device having a first control device, a motor drive control unit that accelerates or decelerates a speed at which the thermal paper is supplied to the thermal head, and the head drive control unit. It is characterized by providing.

また、本発明のプリンタは、前記印字データ作成転送部は、前記印字データの所定の1ドットラインにおけるドットを他のドットラインへ移動させ、前記印字データを作成する、ことを特徴とする。   The printer according to the present invention is characterized in that the print data creation / transfer section creates the print data by moving dots in a predetermined one dot line of the print data to another dot line.

また、本発明のプリンタは、前記印字データ作成転送部は、前記印字データの所定の1ドットラインにおけるドットが印字後において罫線となる場合、前記所定の1ドットラインにおけるドットのうち半分のドットを隣接する1ドットラインへ移動させ、千鳥配列で2ドットラインが配置されるように、前記印字データを作成する、ことを特徴とする。   In the printer of the present invention, the print data creation and transfer unit may detect half of the dots in the predetermined one dot line when dots in the predetermined one dot line of the print data become ruled lines after printing. The print data is generated such that the dot data is moved to adjacent one dot line and two dot lines are arranged in a staggered arrangement.

上記の課題を解決するために、本発明の制御方法は、複数の発熱体を配列して構成されたサーマルヘッドと、感熱紙を前記サーマルヘッドに供給する紙搬送機構と、を備えるサーマルプリンタの制御コンピュータが、印字データを分割印字する際の回数を、前記印字データの印字率に基づいて設定し、前記回数に分割された前記発熱体を順次発熱させて、前記感熱紙に前記印字データを印字する。   In order to solve the above problems, a control method of the present invention is a thermal printer comprising a thermal head configured by arranging a plurality of heating elements, and a paper transport mechanism for supplying thermal paper to the thermal head. The control computer sets the number of times when the print data is divided and printed based on the print rate of the print data, sequentially heats the heating elements divided into the number of times, and puts the print data on the thermal paper. Print.

上記の課題を解決するために、本発明のプログラムは、複数の発熱体を配列して構成されたサーマルヘッドと、感熱紙を前記サーマルヘッドに供給する紙搬送機構と、を備えるサーマルプリンタの制御コンピュータに、印字データを分割印字する際の回数を、前記印字データの印字率に基づいて設定し、前記回数に分割された前記発熱体を順次発熱させて、前記感熱紙に前記印字データを印字する処理を行わせる。   In order to solve the above-described problem, a program according to the present invention controls a thermal printer including a thermal head configured by arranging a plurality of heating elements, and a paper transport mechanism that supplies thermal paper to the thermal head. The number of times when the print data is divided and printed on the computer is set based on the print rate of the print data, the heating elements divided into the number of times are sequentially heated, and the print data is printed on the thermal paper. To perform the process.

本発明によれば、制御装置は、複数のドットラインからなる領域について印字データを分割印字する際の回数を、印字データの印字率に基づいて設定し、複数のドットラインからなる領域について、その回数に分割された発熱体を順次発熱させて、感熱紙に印字データを印字するので、発熱体を複数のブロックに分割する印字制御を1ドットライン毎に行う必要がなくなる。これにより、本発明によれば、印字制御の効率が高いサーマルプリンタ、制御方法及びプログラムを提供することができる。   According to the present invention, the control device sets the number of times when the print data is divided and printed for an area composed of a plurality of dot lines based on the print rate of the print data, and for the area composed of a plurality of dot lines, Since the heating elements divided into the number of times are sequentially heated to print the print data on the thermal paper, it is not necessary to perform the print control for dividing the heating element into a plurality of blocks for each dot line. Thus, according to the present invention, it is possible to provide a thermal printer, a control method, and a program with high printing control efficiency.

本実施形態の携帯端末の全体を示した斜視図である。It is the perspective view which showed the whole portable terminal of this embodiment. 本実施形態の携帯端末1のハードウエア的な構成を模式的に表したブロック図である。2 is a block diagram schematically showing a hardware configuration of the mobile terminal 1 of the present embodiment. FIG. 本実施形態の携帯端末1におけるサーマルプリンタ部4の詳細機能ブロック図である。It is a detailed functional block diagram of the thermal printer part 4 in the portable terminal 1 of this embodiment. 印字制御を説明するためのフローチャートである。6 is a flowchart for explaining printing control. クレジットカード伝票の一例を示す図である。It is a figure which shows an example of a credit card slip. クレジットカード伝票の他の一例を示す図である。It is a figure which shows another example of a credit card slip. 図6に示すクレジットカード伝票の印字データをイメージ展開する場合に用いるフォントを説明するための図である。It is a figure for demonstrating the font used when developing the image of the printing data of the credit card slip shown in FIG. 図5に示すクレジットカード伝票の印字データをイメージ展開する場合に用いるフォントを説明するための図である。It is a figure for demonstrating the font used when developing the image of the printing data of the credit card slip shown in FIG. 印字制御における分割回数判定処理を説明するためのフローチャートである。10 is a flowchart for explaining division number determination processing in print control. 印字制御における分割回数判定処理による判定結果を説明するための図である。It is a figure for demonstrating the determination result by the division | segmentation frequency determination process in printing control.

クレジットカード決済端末のような装置では、サーマルプリンタで印字する伝票のフォーマットは固定であり、全般に1ドットライン当たりの印字率が低いので伝票全体もしくは伝票の大半は1ドットラインを印字する処理の分割回数を決め打ちで印字できる可能が高い。しかし、印字する内容(文字の組み合わせ)によっては同時に通電する発熱体の数が多くなり、ACアダプタやバッテリの給電能力を超える場合が考えられる。このため、本実施形態によるクレジットカード決済端末では、印字する伝票のデータを実際に印字する前に分析することで、印字条件(1ドットラインを印字する処理の分割回数や紙の搬送速度)を適正に定め、その伝票(または所定の印字範囲)について複雑な制御なしで印字することができる。以下に本実施形態によるクレジットカード決済端末について、図面を参照しながら説明する。   In a device such as a credit card payment terminal, the format of a slip printed by a thermal printer is fixed, and since the printing rate per dot line is generally low, the entire slip or most of the slip is printed with a dot line. There is a high possibility that the number of divisions can be determined and printed. However, depending on the contents to be printed (a combination of characters), the number of heating elements energized at the same time may increase, exceeding the power supply capacity of the AC adapter or battery. For this reason, in the credit card settlement terminal according to the present embodiment, the printing condition (the number of divisions for printing one dot line and the paper conveyance speed) is analyzed by analyzing the data of the slip to be printed before actually printing. Appropriately, the slip (or a predetermined print range) can be printed without complicated control. The credit card payment terminal according to the present embodiment will be described below with reference to the drawings.

図1は、本実施形態の携帯端末の全体を示した斜視図である。本実施形態の携帯端末1(サーマルプリンタ)は、一例として、クレジットカード決済端末とする。
携帯端末1は、サーマルプリンタ部4、表示部11、キー入力部12、磁気カード読み取り部13、ICカード読み取り部14を有する。
FIG. 1 is a perspective view showing the entire portable terminal of the present embodiment. The portable terminal 1 (thermal printer) of this embodiment is a credit card payment terminal as an example.
The portable terminal 1 includes a thermal printer unit 4, a display unit 11, a key input unit 12, a magnetic card reading unit 13, and an IC card reading unit 14.

図2は、本実施形態の携帯端末1のハードウエア的な構成を模式的に表したブロック図である。
携帯端末1は、メインMPU2(第1の制御装置)、サブMPU3(第2の制御装置)、サーマルプリンタ部4、電源部5、バッテリ6、RAM7、ROM8、表示部11、キー入力部12、磁気カード読み取り部13、ICカード読み取り部14、無線通信部15、有線通信部16で構成される。
携帯端末1は、外部にあるACアダプタ9から電源を受けて動作し、またバッテリ6から電源を受けても動作する。
メインMPU2は、所定のプログラムに従って各種情報処理や携帯端末1の制御などを行う。
サブMPU3は、サーマルプリンタ部4の制御や電源部5の制御などを行う。
バッテリ6は、電池パックとして携帯端末1の内部に格納され、ACアダプタ9から給電を受けて充電される充電池である。
RAM7は、プログラムのワークエリアで一時的にデータやプログラムが格納されるメモリである。また、サーマルプリンタから伝票の印字を行う際にはRAM7上に印字するデータがビットマップ展開される。
ROM8は、制御プログラムや処理データが格納されるメモリである。
表示部11、キー入力部12、磁気カード読み取り部13、ICカード読み取り部14、無線通信部15、有線通信部16は、携帯端末1にクレジットカード決済端末としての機能を発揮させる各種の機能部である。
FIG. 2 is a block diagram schematically showing a hardware configuration of the mobile terminal 1 of the present embodiment.
The mobile terminal 1 includes a main MPU 2 (first control device), a sub MPU 3 (second control device), a thermal printer unit 4, a power supply unit 5, a battery 6, a RAM 7, a ROM 8, a display unit 11, a key input unit 12, A magnetic card reading unit 13, an IC card reading unit 14, a wireless communication unit 15, and a wired communication unit 16 are included.
The portable terminal 1 operates by receiving power from an external AC adapter 9 and also operates by receiving power from the battery 6.
The main MPU 2 performs various types of information processing and control of the mobile terminal 1 according to a predetermined program.
The sub MPU 3 controls the thermal printer unit 4 and the power source unit 5.
The battery 6 is a rechargeable battery that is stored inside the mobile terminal 1 as a battery pack and is charged by receiving power from the AC adapter 9.
The RAM 7 is a memory in which data and programs are temporarily stored in a program work area. In addition, when printing a slip from a thermal printer, the data to be printed on the RAM 7 is developed into a bitmap.
The ROM 8 is a memory that stores control programs and processing data.
The display unit 11, the key input unit 12, the magnetic card reading unit 13, the IC card reading unit 14, the wireless communication unit 15, and the wired communication unit 16 are various functional units that cause the mobile terminal 1 to function as a credit card payment terminal. It is.

図3は、本実施形態の携帯端末1におけるサーマルプリンタ部4の詳細機能ブロック図である。
サーマルプリンタ部4は、プリンタモジュール40とモータドライバ47から構成される。プリンタモジュール40及びモータドライバ47には、図2に示す電源部5からプリンタ駆動用電源が供給される。プリンタ駆動用電源の電圧は、ACアダプタ9から給電があるときは比較的高く(たとえば9V)、バッテリ6からのみ給電されるときはバッテリ6の電圧に依存するので比較的低い(たとえば7.2V)。
プリンタモジュール40は、ラインサーマルヘッド41(サーマルヘッド)、ステッピングモータ46、紙搬送機構49(ギアやプラテンローラ等)から構成される。なお、図には記載していないがプリンタモジュール40には、プリンタ用紙を検出するセンサなども含まれる。
FIG. 3 is a detailed functional block diagram of the thermal printer unit 4 in the portable terminal 1 of the present embodiment.
The thermal printer unit 4 includes a printer module 40 and a motor driver 47. Printer drive power is supplied to the printer module 40 and the motor driver 47 from the power supply unit 5 shown in FIG. The voltage of the printer driving power source is relatively high (for example, 9V) when power is supplied from the AC adapter 9, and is relatively low (for example, 7.2V) because it depends on the voltage of the battery 6 when power is supplied only from the battery 6. ).
The printer module 40 includes a line thermal head 41 (thermal head), a stepping motor 46, and a paper transport mechanism 49 (gear, platen roller, etc.). Although not shown in the figure, the printer module 40 includes a sensor for detecting printer paper.

ラインサーマルヘッド41は、発熱体アレイ42、出力ドライバ43、ラッチレジスタ44、シフトレジスタ45、温度センサ48で構成される。
発熱体アレイ42は、発熱体が多数1列にならんだもので、今回の実施例では発熱体の数は384とする。
出力ドライバ43は、発熱体への通電をON/OFFする素子で、発熱体をブロック単位で制御する。今回の実施例では、64個の発熱体を1ブロックとして制御するのでブロックの数は6である。出力ドライバ43の各ブロックは、サブMPU3から出ているストローブ信号32で制御される。今回の実施例では、出力ドライバ43のブロックの数が6なので、ストローブ信号32の数は6本である。
ラッチレジスタ44は、印字データを保持する素子で、ラッチ信号31を制御することでシフトレジスタ45のデータがラッチレジスタ44に取り込まれる。
シフトレジスタ45は、メインMPU2から送られてくるシリアルの印字データを受け取る素子である。
ステッピングモータ46は、紙搬送機構49を駆動するモータである。
温度センサ48は、ラインサーマルヘッドの温度を検出する素子である。
The line thermal head 41 includes a heating element array 42, an output driver 43, a latch register 44, a shift register 45, and a temperature sensor 48.
The heating element array 42 has a large number of heating elements arranged in one line. In this embodiment, the number of heating elements is 384.
The output driver 43 is an element for turning ON / OFF the power supply to the heating element, and controls the heating element in units of blocks. In the present embodiment, since 64 heating elements are controlled as one block, the number of blocks is six. Each block of the output driver 43 is controlled by a strobe signal 32 output from the sub MPU 3. In the present embodiment, since the number of blocks of the output driver 43 is 6, the number of strobe signals 32 is 6.
The latch register 44 is an element that holds print data, and the data of the shift register 45 is taken into the latch register 44 by controlling the latch signal 31.
The shift register 45 is an element that receives serial print data sent from the main MPU 2.
The stepping motor 46 is a motor that drives the paper transport mechanism 49.
The temperature sensor 48 is an element that detects the temperature of the line thermal head.

メインMPU2は、印字データ作成転送部25、分割回数判定部26、プリンタ駆動条件設定部27を有する。
印字データ作成転送部25は、印字データを作成し、印字データを1ドットライン毎にシフトレジスタ45に出力する。
分割回数判定部26は、印字データを構成する1ドットライン毎に、印字するドットの数を積算し、積算結果を同時に発熱させる発熱体の個数である最大同時通電ドット数と比較し、比較結果に基づいて1ドットラインを分割印字する際の分割回数を判定する。
プリンタ駆動条件設定部27は、分割回数判定部26が判定した分割回数のうち、最大値を、印字データを構成する全ての1ドットライン(所定の印字範囲)を分割印字する際の最大分割回数(回数)と設定し、複数のブロック単位に分けられている複数の発熱体のいずれのブロックを制御するかを表すブロック選択情報を、設定された最大分割回数に基づいてサブMPU3に出力する。
このブロック選択情報が、サブMPU3がストローブ信号32を出力する際に用いられる。
The main MPU 2 includes a print data creation / transfer unit 25, a division number determination unit 26, and a printer drive condition setting unit 27.
The print data creation transfer unit 25 creates print data and outputs the print data to the shift register 45 for each dot line.
The division number determination unit 26 accumulates the number of dots to be printed for each dot line constituting the print data, and compares the accumulated result with the maximum number of simultaneously energized dots that is the number of heating elements that simultaneously generate heat, and compares the result. Is used to determine the number of divisions when one dot line is divided and printed.
The printer driving condition setting unit 27 uses the maximum number of divisions determined by the division number determination unit 26, and the maximum number of divisions when dividing all the 1 dot lines (predetermined printing range) constituting the print data. (Number of times) is set, and block selection information indicating which block of the plurality of heating elements divided into a plurality of block units is controlled is output to the sub MPU 3 based on the set maximum number of divisions.
This block selection information is used when the sub MPU 3 outputs the strobe signal 32.

サブMPU3は、ヘッド駆動制御部35、モータ駆動制御部36を有する。
ヘッド駆動制御部35は、プリンタ駆動条件設定部27から入力されるブロック選択情報に基づいて、ストローブ信号32を出力ドライバ43に出力してブロック単位を順次発熱させて、ラッチレジスタ44が保持する印字データを構成する1ドットラインを感熱紙に印字する。
モータ駆動制御部36は、モータドライバ47及びステッピングモータ46を制御し、紙搬送機構49が感熱紙をサーマルヘッドに供給する速度を加速または減速する。
The sub MPU 3 includes a head drive control unit 35 and a motor drive control unit 36.
The head drive control unit 35 outputs the strobe signal 32 to the output driver 43 based on the block selection information input from the printer drive condition setting unit 27 to sequentially generate heat for each block, and the print held by the latch register 44. Print one dot line composing data on thermal paper.
The motor drive controller 36 controls the motor driver 47 and the stepping motor 46 to accelerate or decelerate the speed at which the paper transport mechanism 49 supplies the thermal paper to the thermal head.

図4は、印字制御を説明するためのフローチャートである。本実施の形態の携帯端末1では、以下のように伝票の印字処理を行う。
まず、メインMPU2は、印字条件の設定を行う(ステップST1)。
サブMPU3のモータ駆動制御部36は、ACアダプタ9から給電されている否かを検知するため、電源部5を監視している。メインMPU2は伝票の印字処理を始めるにあたり、サブMPU3から携帯端末1の電源種別情報(ACアダプタ9からの電力で動作しているか/バッテリ6からの電力で動作しているか)を取得する。メインMPU2の分割回数判定部26は、取得した電源種別情報に基づいて最大同時通電ドット数を、例えばRAM7に設定する。
最大同時通電ドット数は、使用するプリンタモジュール40の仕様やバッテリ6の仕様によって決定される。本実施例では、プリンタモジュール40の仕様で最大同時通電ドット数が96と定められており、ACアダプタ9の駆動の場合は、96の抵抗体に同時に通電できるようにACアダプタ9の容量や電源回路の能力を決めている。バッテリ6の駆動の場合は、使用できるバッテリ6の寸法・重量の制限から、最大同時通電ドット数を64と定めている。
FIG. 4 is a flowchart for explaining the printing control. In the portable terminal 1 of the present embodiment, a slip printing process is performed as follows.
First, the main MPU 2 sets printing conditions (step ST1).
The motor drive control unit 36 of the sub MPU 3 monitors the power supply unit 5 in order to detect whether power is supplied from the AC adapter 9. When the main MPU 2 starts the slip printing process, the main MPU 2 acquires from the sub MPU 3 the power supply type information of the portable terminal 1 (whether it is operating with the power from the AC adapter 9 / operating with the power from the battery 6). The division number determination unit 26 of the main MPU 2 sets the maximum number of simultaneously energized dots in, for example, the RAM 7 based on the acquired power supply type information.
The maximum number of simultaneously energized dots is determined by the specifications of the printer module 40 to be used and the specifications of the battery 6. In the present embodiment, the maximum number of simultaneously energized dots is determined to be 96 in the specification of the printer module 40, and when the AC adapter 9 is driven, the capacity and power supply of the AC adapter 9 so that the 96 resistors can be energized simultaneously. Determines the capabilities of the circuit. In the case of driving the battery 6, the maximum number of simultaneously energized dots is determined to be 64 because of limitations on the size and weight of the battery 6 that can be used.

続いて、メインMPU2は、印字データのイメージ展開を行う(ステップST2)。
メインMPU2の印字データ作成転送部25は、印字する伝票の所定の印字範囲の印字データを、メインMPU2に接続しているRAM7上にビットマップ展開する。すなわち、印字データ作成転送部25は、キャラクタデータを、印字フォントを使用してRAM7上にイメージを展開する。
ここで、図5は、クレジットカード伝票の一例を示す図である。
図5に示すように、伝票に商標ロゴを印字する場合は、ロゴの印字範囲50とその他のロゴの印字範囲51を含まない印字範囲とに、所定の印字範囲を分けて印字処理を行う。
クレジットカード決済端末の場合は、一回の決済で3枚〜4枚の伝票が出力される。本実施形態では、伝票単位で印字イメージの処理を行う。ただし、ロゴを印字する伝票については、図5に示すように、ロゴの部分とその他の部分に、所定の印字範囲を分けて印字の処理を行う。ロゴの部分は印字率が高いことが多いので、ロゴに合わせて分割回数を決めると、伝票全体の印字が遅くなるためである。
Subsequently, the main MPU 2 develops an image of the print data (step ST2).
The print data creation and transfer unit 25 of the main MPU 2 develops a bitmap of print data in a predetermined print range of a slip to be printed on the RAM 7 connected to the main MPU 2. That is, the print data creation / transfer unit 25 develops an image of the character data on the RAM 7 using a print font.
Here, FIG. 5 is a diagram illustrating an example of a credit card slip.
As shown in FIG. 5, when a trademark logo is printed on a slip, printing processing is performed by dividing a predetermined printing range into a logo printing range 50 and a printing range not including the other logo printing ranges 51.
In the case of a credit card payment terminal, 3 to 4 slips are output in one payment. In the present embodiment, the print image is processed on a slip basis. However, for a slip for printing a logo, as shown in FIG. 5, a printing process is performed by dividing a predetermined printing range into a logo portion and other portions. This is because the logo portion often has a high printing rate, and if the number of divisions is determined in accordance with the logo, printing of the entire slip becomes slow.

また、図6は、クレジットカード伝票の他の一例を示す図である。
図6に示すクレジットカード伝票は、図5に示すクレジットカード伝票とは相違して、
所定の印字範囲を分けて印字の処理を行う必要はない。しかし、図6に示すクレジットカード伝票は、特定の文字「4」、「7」などが連続している印字率が高くなる複数の1ドットライン61が印字されている。このような場合、印字データ作成転送部25は、所定の印字フォントを使用する。
図7は、図6に示すクレジットカード伝票の印字データをイメージ展開する場合に用いるフォントを説明するための図である。図7(a)に示すように、「4」を連続に並べた複数の1ドットラインを表している。この複数の1ドットラインには、印字率が高いドットライン70が含まれている。
このような場合、印字データ作成転送部25は、印字データの所定の1ドットライン70におけるドットの「4」の左側を減らし、「4」の右側を他のドットライン71へ移動させ、印字データを作成する。そのため、印字データ作成転送部25は、所定の印字フォントを使用する。これにより、図7(b)に示すように、「4」を連続に並べた複数の1ドットラインにおいて印字率が高いドットライン70の印字率を低くできる。
FIG. 6 is a diagram showing another example of a credit card slip.
The credit card slip shown in FIG. 6 is different from the credit card slip shown in FIG.
There is no need to divide the predetermined printing range and perform the printing process. However, the credit card slip shown in FIG. 6 is printed with a plurality of one-dot lines 61 that increase the printing rate in which specific characters “4”, “7”, etc. are continuous. In such a case, the print data creation / transfer unit 25 uses a predetermined print font.
FIG. 7 is a diagram for explaining a font used when image data of the print data of the credit card slip shown in FIG. 6 is developed. As shown in FIG. 7A, a plurality of 1-dot lines in which “4” are continuously arranged are shown. The plurality of 1 dot lines include dot lines 70 having a high printing rate.
In such a case, the print data creation transfer unit 25 reduces the left side of the dot “4” in the predetermined one dot line 70 of the print data and moves the right side of “4” to the other dot line 71 to print data. Create Therefore, the print data creation / transfer unit 25 uses a predetermined print font. As a result, as shown in FIG. 7B, the printing rate of the dot line 70 having a high printing rate in a plurality of 1-dot lines in which “4” is continuously arranged can be lowered.

図8は、図5に示すクレジットカード伝票の印字データをイメージ展開する場合に用いるフォントを説明するための図である。図5に示すクレジットカード伝票は、印字率が高くなる罫線53が印字されている。このような場合、印字データ作成転送部25は、千鳥配置の印字フォントを使用する。
図8(a)に示すように、ドットを連続に並べた1ドットライン81を表している。この1ドットラインは、印字率が高いドットラインである。
このような場合、印字データ作成転送部25は、印字データの所定の1ドットライン81におけるドットが印字後において罫線となる場合、所定の1ドットライン81におけるドットのうち半分のドットを隣接する1ドットライン82へ移動させ、千鳥配列で2ドットライン81、82が配置されるように、印字データを作成する。そのため、印字データ作成転送部25は、千鳥配置の印字フォントを使用する。これにより、印字率が高い罫線53の印字率を低くできる。また、この場合、罫線を2ドットラインで作成するため、罫線53の印字率を低くするとともに、千鳥配列の印字データを簡易的で、かつ省スペースに作成することができる。
なお、印字データ作成部25が作成する千鳥配列の印字データはこれに限られない。例えば、印字データ作成転送部25は、所定の1ドットラインにおけるドットのうち、複数のドットを隣接する2列のドットラインへ移動させてもよい。また、印字データ作成部25は、3列以上のドットラインで千鳥配列の印字データを作成してもよい。この場合においても、印字率の高い罫線の印字率を低くすることができる。
FIG. 8 is a view for explaining a font used when developing the image of the print data of the credit card slip shown in FIG. The credit card slip shown in FIG. 5 is printed with ruled lines 53 that increase the printing rate. In such a case, the print data creation transfer unit 25 uses a staggered print font.
As shown to Fig.8 (a), the 1 dot line 81 which arranged the dot continuously is represented. This one dot line is a dot line with a high printing rate.
In such a case, when the dot in the predetermined 1 dot line 81 of the print data becomes a ruled line after printing, the print data creation transfer unit 25 adjoins half of the dots in the predetermined 1 dot line 81 adjacent to each other. The print data is created so that the dot lines 82 are moved and the two dot lines 81 and 82 are arranged in a staggered arrangement. For this reason, the print data creation / transfer unit 25 uses a staggered print font. Thereby, the printing rate of the ruled line 53 having a high printing rate can be lowered. Further, in this case, since the ruled line is created with 2 dot lines, the print rate of the ruled line 53 can be lowered, and the staggered array print data can be created easily and in a space-saving manner.
The staggered array print data created by the print data creation unit 25 is not limited to this. For example, the print data creation and transfer unit 25 may move a plurality of dots to two adjacent dot lines among the dots in a predetermined one dot line. Further, the print data creation unit 25 may create staggered print data with three or more dot lines. Even in this case, the printing rate of ruled lines having a high printing rate can be lowered.

図4に戻って、メインMPU2は、続いて印字処理の分割回数判定を行う(ステップST3)。
分割回数判定部26は、RAM7上に展開した印字データ(ビットマップデータ)を構成する1ドットライン毎に、印字するドットの数(通電する抵抗体の数)を積算する。分割回数判定部26は、積算結果を同時に発熱させる発熱体の個数である、使用している電源の種別の最大同時通電ドット数と比較する。分割回数判定部26は、比較結果に基づいて1ドットラインを分割印字する際の分割回数を判定する。この分割回数は、1ドットラインにおける印字データの印字率に対応して求められるものである。
Returning to FIG. 4, the main MPU 2 subsequently determines the number of divisions in the printing process (step ST3).
The division number determination unit 26 integrates the number of dots to be printed (the number of energized resistors) for each dot line constituting the print data (bitmap data) developed on the RAM 7. The division number determination unit 26 compares the integration result with the maximum number of simultaneously energized dots of the type of power source being used, which is the number of heating elements that simultaneously generate heat. The division number determination unit 26 determines the number of divisions when one dot line is divided and printed based on the comparison result. The number of divisions is obtained corresponding to the print rate of print data in one dot line.

図9は、印字制御における分割回数判定処理を説明するためのフローチャートである。
分割回数判定部26は、印字データ(ビットマップデータ)を構成する1ドットライン全てに対して、分割回数判定処理を行う。
分割回数判定部26は、1ドットラインの印字ドット数がすべて最大同時通電ドット数以下か否かを判断する(ステップST11)。
分割回数判定部26は、1ドットラインの印字ドット数がすべて最大同時通電ドット数以下であると判断されれば(ステップST11−Yes)、1ドットラインの印字データについては分割回数を1(分割なし)に設定する(ステップST12)。
一方、分割回数判定部26は、1ドットラインの印字ドット数がすべて最大同時通電ドット数より大きいと判断されれば(ステップST11−No)、3ブロック毎の印字ドット数をカウントする(ステップST13)。
この際、3ブロック毎の印字ドット数は、ブロック数が6であるので、20通りの印字ドット数が得られる。
分割回数判定部26は、この得られた20通りの印字ドット数がすべて最大同時通電ドット数以下か否かを判断する(ステップST14)。
なお、分割回数判定部26は、3ブロック毎の印字ドット数をカウントし、得られる印字ドット数のすべての組み合わせについて最大同時通電ドット数以下か否かを判断するが、これに限られない。例えば、分割回数判定部26は、3ブロック毎の印字ドット数において得られる20通りの印字ドット数のうち、右側3ブロックと左側3ブロックとの組み合わせのみを判断したり、中央側3ブロックとその他の3ブロック(両端側)との組み合わせのみを判断したり、又はすべての組み合わせのうちいくつか所定の組み合わせを判断してもよい。
分割回数判定部26は、20通りの印字ドット数がすべて最大同時通電ドット数以下であると判断されれば(ステップST14−Yes)、1ドットラインの印字データについては分割回数を2に設定する(ステップST15)。
一方、分割回数判定部26は、20通りの印字ドット数がすべて最大同時通電ドット数より大きいと判断されれば(ステップST15−No)、2ブロック毎の印字ドット数をカウントする(ステップST16)。
この際、2ブロック毎の印字ドット数は、ブロック数が6であるので、90通りの印字ドット数が得られる。
分割回数判定部26は、この得られた90通りの印字ドット数がすべて最大同時通電ドット数以下か否かを判断する(ステップST17)。
なお、分割回数判定部26は、2ブロック毎の印字ドット数をカウントし、得られる印字ドット数のすべての組み合わせについて最大同時通電ドット数以下か否かを判断するが、これに限られない。例えば、分割回数判定部26は、2ブロック毎の印字ドット数において得られる90通りの印字ドット数のうち、右側2ブロックと中央2ブロックと左側2ブロックとの組み合わせのみを判断したり、中央2ブロックと左右両端の2ブロックとその他の2ブロックとの組み合わせのみを判断したり、又はすべての組み合わせのうちいくつか所定の組み合わせを判断してもよい。
分割回数判定部26は、90通りの印字ドット数がすべて最大同時通電ドット数以下であると判断されれば(ステップST17−Yes)、1ドットラインの印字データについては分割回数を3に設定する(ステップST18)。
一方、分割回数判定部26は、90通りの印字ドット数がすべて最大同時通電ドット数より大きいと判断されれば(ステップST17−No)、1ドットラインの印字データについては分割回数を6に設定する(ステップST19)。
FIG. 9 is a flowchart for explaining division number determination processing in print control.
The division number determination unit 26 performs a division number determination process for all one dot lines constituting the print data (bitmap data).
The division number determination unit 26 determines whether or not the number of printing dots of one dot line is less than or equal to the maximum number of simultaneously energized dots (step ST11).
If it is determined that the number of print dots for one dot line is less than or equal to the maximum number of simultaneously energized dots (step ST11—Yes), the division number determination unit 26 sets the number of divisions to 1 for one dot line print data (division). (None) (step ST12).
On the other hand, if it is determined that the number of print dots of one dot line is larger than the maximum number of simultaneously energized dots (No in step ST11), the division number determination unit 26 counts the number of print dots for every three blocks (step ST13). ).
At this time, since the number of print dots for every three blocks is six, 20 print dot numbers can be obtained.
The division number determination unit 26 determines whether all of the obtained 20 print dot numbers are equal to or less than the maximum simultaneous energization dot number (step ST14).
The division number determination unit 26 counts the number of print dots every three blocks, and determines whether or not all combinations of the obtained print dot numbers are equal to or less than the maximum number of simultaneously energized dots, but is not limited thereto. For example, the division number determination unit 26 determines only the combination of the right 3 blocks and the left 3 blocks out of the 20 print dot numbers obtained in the print dot number for every 3 blocks, or the center 3 blocks and others. Only the combination with the three blocks (both ends) may be determined, or some predetermined combinations among all the combinations may be determined.
If it is determined that the 20 print dot numbers are all equal to or less than the maximum number of simultaneously energized dots (Yes in step ST14), the division number determination unit 26 sets the division number to 2 for the print data of one dot line. (Step ST15).
On the other hand, if it is determined that the 20 print dot numbers are all larger than the maximum simultaneous energization dot number (step ST15-No), the division number determination unit 26 counts the print dot numbers for every two blocks (step ST16). .
At this time, since the number of print dots for every two blocks is six, 90 print dot numbers can be obtained.
The division number determination unit 26 determines whether all of the obtained 90 print dot numbers are equal to or less than the maximum simultaneous energization dot number (step ST17).
The division number determination unit 26 counts the number of print dots for every two blocks, and determines whether or not all combinations of the obtained print dot numbers are equal to or less than the maximum number of simultaneously energized dots, but is not limited thereto. For example, the division number determination unit 26 determines only the combination of the right 2 blocks, the center 2 blocks, and the left 2 blocks out of the 90 print dot numbers obtained in the print dot numbers for each two blocks, or the center 2 Only a combination of a block, two blocks at the left and right ends, and the other two blocks may be determined, or some predetermined combinations of all combinations may be determined.
If it is determined that the 90 print dot numbers are all equal to or less than the maximum number of simultaneously energized dots (Yes in step ST17), the division number determination unit 26 sets the division number to 3 for the print data of one dot line. (Step ST18).
On the other hand, if it is determined that the 90 print dot numbers are all greater than the maximum simultaneous energization dot number (No in step ST17), the division number determination unit 26 sets the division number to 6 for the print data of one dot line. (Step ST19).

図10は、印字制御における分割回数判定処理による判定結果を説明するための図である。
図10(a)は、バッテリ6で駆動した場合の分割回数、同時通電ブロック数、同時通電するブロックの組み合わせ内の印字率を示している。また、図10(b)は、ACアダプタ9で駆動した場合の分割回数、同時通電ブロック数、同時通電するブロックの組み合わせ内の印字率を示している。
ここでは、図10(a)に示す判定結果を得るために分割回数判定部26が行う動作について説明する。
バッテリ6駆動の場合の最大同時通電ドット数は64であるので、1ドットラインの印字ドット総数が64以下であれば、そのドットラインは分割なし(分割回数1)で印字可能と判定される。この場合、同時通電ブロック数は6であり、6ブロックの全てが印字する際、選択されることとなる。また、同時通電する6ブロックの組み合わせ内の印字率は16.6%以下となる。
印字するドット数が64を超えるラインが存在する場合は、そのドットラインのデータを2分割し、2分割した印字データの各々の印字ドット数が共に64以下であればそのドットラインが2分割で印字可能と判定される。この場合、同時通電ブロック数は3であり、3ブロックの組み合わせ2つが印字する際、順次選択されることとなる。また、同時通電する3ブロックの組み合わせ内の印字率は33%以下となる。
2分割した印字データのどちらか一方の印字ドット数が64を超える場合は、対象のドットラインをあらためて3分割し、3分割した印字データの各々の印字ドット数が共に64以下であればそのドットラインが3分割で印字可能と判定される。この場合、同時通電ブロック数は2であり、2ブロックの組み合わせ3つが印字する際、順次選択されることとなる。また、同時通電する2ブロックの組み合わせ内の印字率は50%以下となる。
3分割した印字データのいずれか一方の印字ドット数が64を超える場合は、その伝票は6分割で印字が必要と判定される。この場合、同時通電ブロック数は1であり、6ブロックの組み合わせ1つが印字する際、順次選択されることとなる。また、同時通電する1ブロックの組み合わせ内の印字率は100%以下となる。
FIG. 10 is a diagram for explaining a determination result by the division number determination process in the print control.
FIG. 10A shows the number of divisions, the number of simultaneously energized blocks, and the printing rate in the combination of simultaneously energized blocks when driven by the battery 6. FIG. 10B shows the number of divisions, the number of simultaneously energized blocks, and the printing rate in the combination of simultaneously energized blocks when driven by the AC adapter 9.
Here, the operation performed by the division number determination unit 26 to obtain the determination result shown in FIG.
When the battery 6 is driven, the maximum number of simultaneously energized dots is 64. Therefore, if the total number of print dots of one dot line is 64 or less, it is determined that the dot line can be printed without division (number of divisions 1). In this case, the number of simultaneously energized blocks is 6, and all 6 blocks are selected when printing. Also, the printing rate in the combination of 6 blocks that are energized simultaneously is 16.6% or less.
If there is a line where the number of dots to be printed exceeds 64, the dot line data is divided into two, and if the number of print dots in each of the two divided print data is 64 or less, the dot line is divided into two. It is determined that printing is possible. In this case, the number of simultaneously energized blocks is 3, and two combinations of 3 blocks are sequentially selected. Further, the printing rate in the combination of three blocks that are energized simultaneously is 33% or less.
If the number of print dots in one of the two divided print data exceeds 64, the target dot line is again divided into three, and if the number of print dots in each of the three divided print data is 64 or less, that dot It is determined that the line can be printed in three divisions. In this case, the number of simultaneously energized blocks is 2, and when three combinations of 2 blocks are printed, they are sequentially selected. Further, the printing rate in the combination of two blocks energized simultaneously is 50% or less.
If the number of print dots in one of the print data divided into three exceeds 64, it is determined that the slip needs to be printed in six. In this case, the number of simultaneously energized blocks is 1, and when one combination of 6 blocks is printed, the blocks are sequentially selected. Further, the printing rate within the combination of one block that is energized simultaneously is 100% or less.

このようにして、印字データ(ビットマップデータ)を構成する1ドットライン全てについての分割回数、同時通電ブロック数、同時通電するブロックの組み合わせ内の印字率が判る。分割回数判定部26は、これらの情報を1ドットラインに関連付けてRAM7に記憶する。分割回数判定部26が判定する1ドットライン毎の分割回数は、1ドットラインにおける印字データの印字率に対応して求められるものである。プリンタ駆動条件設定部27は、分割回数判定部26が判定する分割回数に基づいて、印字データを構成する全ての1ドットライン(所定の印字範囲)を分割印字する際の最大分割回数(回数)を、固定値として決定する。
なお、本実施形態において、分割回数判定部26は、複数のブロック毎の印字ドット数をカウントし、得られる印字ドット数のすべての組み合わせについて最大同時通電ドット数以下か否かを判断するが、これに限られない。例えば、分割回数判定部26は、複数のブロック毎の印字ドット数をカウントし、得られる印字ドット数の少なくとも1つの組み合わせについて最大同時通電ドット数以下か否かを判断してもよい。また、例えば、分割回数判定部26は、3ブロック毎の印字ドット数において得られる20通りの印字ドット数のうち、右側3ブロックと左側3ブロックとの組み合わせのみを判断したり、中央側3ブロックとその他の3ブロック(両端側)との組み合わせのみを判断したり、又はすべての組み合わせのうちいくつか所定の組み合わせを判断してもよい。
また、例えば、分割回数判定部26は、複数のブロック毎の印字ドット数をカウントし、得られる印字ドット数のすべての組み合わせについて最大同時通電ドット数以下か否かを判断し、すべての組み合わせのうち少なくとも1つの組み合わせについて最大同時通電ドット数以下であると判断されれば、そのブロック数に対応する分割数に設定する。なお、この場合においても、印字データを構成する全ての1ドットライン(所定の印字範囲)を分割印字する際の最大分割回数(回数)を、固定値として決定する。
In this way, the number of divisions, the number of simultaneously energized blocks, and the printing rate in the combination of simultaneously energized blocks for all the dot lines constituting the print data (bitmap data) are known. The division number determination unit 26 stores these pieces of information in the RAM 7 in association with one dot line. The number of divisions for each dot line determined by the division number determination unit 26 is obtained corresponding to the print rate of the print data in one dot line. Based on the number of divisions determined by the division number determination unit 26, the printer drive condition setting unit 27 performs the maximum number of divisions (number of times) when dividing and printing all 1 dot lines (predetermined print range) constituting the print data. Is determined as a fixed value.
In the present embodiment, the division number determination unit 26 counts the number of print dots for each of a plurality of blocks, and determines whether or not the total number of print dots obtained is equal to or less than the maximum number of simultaneously energized dots. It is not limited to this. For example, the division number determination unit 26 may count the number of printed dots for each of a plurality of blocks, and determine whether or not at least one combination of the obtained number of printed dots is equal to or less than the maximum number of simultaneously energized dots. Further, for example, the division number determination unit 26 determines only the combination of the right 3 blocks and the left 3 blocks out of the 20 print dot numbers obtained for the print dots for each 3 blocks, or the central 3 blocks. Only the combination of the other three blocks (both ends) may be determined, or some predetermined combinations of all combinations may be determined.
Further, for example, the division number determination unit 26 counts the number of print dots for each of a plurality of blocks, determines whether all combinations of the obtained print dot numbers are equal to or less than the maximum number of simultaneously energized dots, and determines all combinations. If it is determined that at least one combination is equal to or less than the maximum number of simultaneously energized dots, the number of divisions corresponding to the number of blocks is set. In this case as well, the maximum number of divisions (number of times) for dividing and printing all 1 dot lines (predetermined printing range) constituting the print data is determined as a fixed value.

図4に戻って、メインMPU2は、続いて最大分割回数の決定を行う(ステップST4)。
プリンタ駆動条件設定部27は、分割回数判定部26がRAM7に記憶させた印字データ(ビットマップデータ)を構成する1ドットライン全てについての分割回数のうち、最大値の分割回数を最大分割回数(回数)とする。なお、最大分割回数は、分割回数が1ドットラインにおける印字データの印字率に対応して求められるので、印字データの印字率に対応して求められる回数である。
Returning to FIG. 4, the main MPU 2 continues to determine the maximum number of divisions (step ST4).
The printer drive condition setting unit 27 sets the maximum number of divisions (the maximum number of divisions among the number of divisions for all the dot lines constituting the print data (bitmap data) stored in the RAM 7 by the division number determination unit 26). Frequency). Note that the maximum number of divisions is the number of times obtained corresponding to the print rate of the print data since the number of divisions is obtained corresponding to the print rate of the print data in one dot line.

本実施形態では、プリンタモジュール40のラインサーマルヘッド41は、384個の発熱体を64個単位で6個のブロックに分けて制御するので、発熱体に通電する組み合わせを以下の4通りとする。プリンタ駆動条件設定部27は、この4通りの組み合わせのうち、いずれの組み合わせを選ぶかを判定し、選んだ組み合わせの通電をサブMPU3のヘッド駆動制御部35が行えるように、ヘッド駆動制御部35にブロック選択情報を送出する。
(1)最大分割回数1の場合、6個のブロックに対して同時に通電を行う。
この通電とは、サブMPU3のヘッド駆動制御部35が、出力ドライバ43のストローブ信号32を6本同時にONすることである。そのため、プリンタ駆動条件設定部27は、6個のブロックをONすることを表すブロック選択情報をヘッド駆動制御部35に送出する。
(2)最大分割回数2の場合、1回目に3個のブロックに対して通電した後に、2回目で残りの3個ブロックに対して通電を行う。
この通電とは、サブMPU3のヘッド駆動制御部35が、出力ドライバ43のストローブ信号32を2回に分けてONすることである。そのため、プリンタ駆動条件設定部27は、1回目に6個のブロックのうち3個のブロックをONし、2回目に6個のブロックのうち残りの3個のブロックをONすることを表すブロック選択情報をヘッド駆動制御部35に送出する。
(3)最大分割回数3の場合、1回目に2個のブロックを通電し、2回目で次の2個のブロックを通電し、3回目で残り2個のブロックを通電する。
この通電とは、サブMPU3のヘッド駆動制御部35が、出力ドライバ43のストローブ信号32を3回に分けてONすることである。そのため、プリンタ駆動条件設定部27は、1回目に6個のブロックのうち2個のブロックをONし、2回目に残り4個のブロックのうち2個のブロックをONし、3回目に残り2個のブロックをONすることを表すブロック選択情報をヘッド駆動制御部35に送出する。
(4)最大分割回数6の場合、6個のブロックを1回に一個通電する。全部で6回の通電処理を行う。
この通電とは、サブMPU3のヘッド駆動制御部35が、出力ドライバ43のストローブ信号32を6回に分けてONすることである。そのため、プリンタ駆動条件設定部27は、1回目〜6回目にそれぞれ1個のブロックをONすることを表すブロック選択情報をヘッド駆動制御部35に送出する。
In the present embodiment, the line thermal head 41 of the printer module 40 controls the 384 heating elements by dividing them into 6 blocks in units of 64, and therefore, the following four combinations of energizing the heating elements are provided. The printer drive condition setting unit 27 determines which one of the four combinations is selected, and the head drive control unit 35 so that the head drive control unit 35 of the sub MPU 3 can energize the selected combination. Send block selection information to
(1) When the maximum number of divisions is 1, energization is performed simultaneously on six blocks.
This energization means that the head drive control unit 35 of the sub MPU 3 turns on the six strobe signals 32 of the output driver 43 simultaneously. Therefore, the printer drive condition setting unit 27 sends block selection information indicating that 6 blocks are turned ON to the head drive control unit 35.
(2) When the maximum number of divisions is 2, after energizing the three blocks in the first time, energizing the remaining three blocks in the second time.
This energization means that the head drive control unit 35 of the sub MPU 3 turns on the strobe signal 32 of the output driver 43 in two steps. For this reason, the printer drive condition setting unit 27 turns on three blocks of the six blocks for the first time and selects the remaining three blocks of the six blocks for the second time. Information is sent to the head drive controller 35.
(3) When the maximum number of divisions is 3, the two blocks are energized at the first time, the next two blocks are energized at the second time, and the remaining two blocks are energized at the third time.
The energization means that the head drive control unit 35 of the sub MPU 3 turns on the strobe signal 32 of the output driver 43 in three times. Therefore, the printer drive condition setting unit 27 turns on two of the six blocks for the first time, turns on two of the remaining four blocks for the second time, and sets the remaining two for the third time. Block selection information indicating turning on the individual blocks is sent to the head drive control unit 35.
(4) When the maximum number of divisions is 6, one block is energized at a time. A total of 6 energization processes are performed.
This energization means that the head drive control unit 35 of the sub MPU 3 turns on the strobe signal 32 of the output driver 43 in six steps. Therefore, the printer driving condition setting unit 27 sends block selection information indicating that one block is turned ON each time from the first to the sixth time to the head driving control unit 35.

なお、4回の分割や5回の分割も可能である。また、最大分割回数2のときに通電するブロックを1回目3ブロック+2回目3ブロックとすることを前提としているが、1回目2ブロック+2回目4ブロックや1回目1ブロック+2回目5ブロックであっても構わない。印字するデータをより高度に分析すれば印字領域の両端の2ブロックを同時に通電し、中央部の4ブロックを同時に通電することが適切な場合が多いので、そのような組み合わせであっても構わない。
以上のメインMPU2のプリンタ駆動条件設定部27が行う最大分割回数の決定により、印字データを構成する全ての1ドットライン(所定の印字範囲)を分割印字する際の最大分割回数を固定値として設定できる。また、複数のブロック単位に分けられている複数の発熱体のいずれのブロックを制御するかを表すブロック選択情報を、設定された最大分割回数に基づいてサブMPU3に送出するので、サブMPU3の分割処理における負担を軽減できる。
Note that four or five divisions are possible. In addition, it is assumed that the block to be energized when the maximum number of divisions is 2 is the first 3 blocks + the second 3 blocks, but the first 2 blocks + the second 4 blocks or the first 1 block + the second 5 blocks It doesn't matter. If the data to be printed is analyzed at a higher level, it is often appropriate to energize the two blocks at both ends of the print area at the same time and energize the four blocks at the center at the same time. .
By determining the maximum number of divisions performed by the printer driving condition setting unit 27 of the main MPU 2 as described above, the maximum number of divisions for dividing and printing all 1 dot lines (predetermined print range) constituting the print data is set as a fixed value. it can. Further, since block selection information indicating which block of the plurality of heating elements divided into a plurality of block units is controlled is sent to the sub MPU 3 based on the set maximum number of divisions, the division of the sub MPU 3 The burden on processing can be reduced.

最後に、メインMPU2及びサブMPU3は、伝票の印字実行を行う(ステップST5)。
すなわち、メインMPU2及びサブMPU3は、印字データ(ビットマップデータ)を上述した分割条件で印字する。メインMPU2は、シフトレジスタ45に1ドットライン分のデータを送出する。サブMPU3は、ラッチレジスタ44に印字データを取り込む処理をしたのちに、印字データの分析で決められた最大分割回数に応じて出力ドライバ43の制御とステッピングモータ46の駆動制御を行う。
サブMPU3は、出力ドライバ43の分割制御において、印字処理の分割回数が最大分割回数へと固定されるので、分割処理における負担は軽減される。このため、サブMPU3が処理能力の低いMPUでも出力ドライバ43の分割制御は可能である。
サブMPU3は、ステッピングモータ46の駆動制御において、印字処理の分割回数を最大分割回数へと固定するので、基本的に紙を一定速度で搬送する。このため、ステッピングモータ46の回転速度は起動処理及び停止処理の時を除けば一定で良いので、サブMPU3が処理能力の低いMPUでもステッピングモータ46の駆動制御は可能である。
なお、プリンタ駆動用電源の電圧(ACアダプタ9使用時は9Vで一定、バッテリ6使用時はバッテリの状態によって変動する)とバッテリの温度は、プリンタの印字制御にとって重要な情報である。サブMPU3は、これらの情報を示す二次電池電圧センサ情報、二次電池温度センサ情報(温度センサ48の測定した温度情報)を用いて印字処理を行ってもよい。
Finally, the main MPU 2 and the sub MPU 3 execute slip printing (step ST5).
That is, the main MPU 2 and the sub MPU 3 print the print data (bitmap data) under the above-described division condition. The main MPU 2 sends data for one dot line to the shift register 45. The sub MPU 3 performs the process of fetching the print data into the latch register 44 and then controls the output driver 43 and the drive control of the stepping motor 46 according to the maximum number of divisions determined by the print data analysis.
In the sub MPU 3, in the division control of the output driver 43, the division number of the printing process is fixed to the maximum division number, so the burden on the division process is reduced. Therefore, the division control of the output driver 43 is possible even when the sub MPU 3 has a low processing capability.
In the drive control of the stepping motor 46, the sub MPU 3 fixes the number of print processing divisions to the maximum number of divisions, and thus basically transports the paper at a constant speed. For this reason, since the rotation speed of the stepping motor 46 may be constant except during the start process and the stop process, the drive control of the stepping motor 46 is possible even if the sub MPU 3 has a low processing capacity.
Note that the voltage of the printer driving power supply (constant at 9 V when the AC adapter 9 is used and varies depending on the state of the battery when the battery 6 is used) and the temperature of the battery are important information for printing control of the printer. The sub MPU 3 may perform the printing process using the secondary battery voltage sensor information indicating the information and the secondary battery temperature sensor information (temperature information measured by the temperature sensor 48).

以上、携帯端末1(サーマルプリンタ)の伝票印字処理について説明した。携帯端末1は、ラインサーマルヘッド41(サーマルヘッド)と、紙搬送機構49(紙搬送機構)と、メインMPU2及びサブMPU3(制御装置)とを備える。ラインサーマルヘッド41は、複数の発熱体を配列して構成されている。紙搬送機構49は、感熱紙をラインサーマルヘッド41に供給する。メインMPU2及びサブMPU3は、印字データを構成する全ての1ドットラインを分割印字する際の最大分割回数(回数)を、印字データの印字率に基づいて設定し、最大分割回数に基づいて分割された発熱体を順次発熱させて、感熱紙に印字データを構成する全ての1ドットラインを印字する。   The slip printing process of the mobile terminal 1 (thermal printer) has been described above. The portable terminal 1 includes a line thermal head 41 (thermal head), a paper transport mechanism 49 (paper transport mechanism), a main MPU 2 and a sub MPU 3 (control device). The line thermal head 41 is configured by arranging a plurality of heating elements. The paper transport mechanism 49 supplies thermal paper to the line thermal head 41. The main MPU 2 and the sub MPU 3 set the maximum number of divisions (number of times) when dividing and printing all 1 dot lines constituting the print data based on the print data printing rate, and are divided based on the maximum number of divisions. The generated heating elements are sequentially heated to print all 1 dot lines constituting the print data on the thermal paper.

メインMPU2及びサブMPU3によれば、複数のドットラインからなる領域について印字データを分割印字する際の最大分割回数(回数)を、印字データの印字率に基づいて設定し、複数のドットラインからなる領域について最大分割回数に分割された発熱体を順次発熱させて、感熱紙に印字データを印字するので、発熱体を複数のブロックに分割する印字制御を1ドットライン毎に行う必要がなくなる。これにより、本発明によれば、印字制御の効率が高いサーマルプリンタ、制御方法及びプログラムを提供することができる。   According to the main MPU 2 and the sub MPU 3, the maximum number of divisions (number of times) when the print data is divided and printed for an area composed of a plurality of dot lines is set based on the print rate of the print data, and the plurality of dot lines are formed Since the heating elements divided into the maximum number of divisions for the region are sequentially heated and print data is printed on the thermal paper, it is not necessary to perform printing control for dividing the heating element into a plurality of blocks for each dot line. Thus, according to the present invention, it is possible to provide a thermal printer, a control method, and a program with high printing control efficiency.

また、制御装置のうち、メインMPU2は、処理能力がサブMPU3より高いため、印字データのビットマップ展開や印字率の解析を行う。一方、制御装置のうち、サブMPU3は、処理能力がメインMPU2より低いため、メインMPU2による印字データの解析結果を基に、出力ドライバ43の分割制御、ステッピングモータ46の駆動制御を行う。よって、サブMPU3を使用することにより、携帯端末1全体のコストの上昇を抑制できる。   Of the control devices, the main MPU 2 has a higher processing capability than the sub MPU 3, and therefore performs bitmap development of the print data and analysis of the print rate. On the other hand, among the control devices, the sub-MPU 3 has a processing capability lower than that of the main MPU 2, and therefore performs split control of the output driver 43 and drive control of the stepping motor 46 based on the analysis result of the print data by the main MPU 2. Therefore, the use of the sub MPU 3 can suppress an increase in the cost of the mobile terminal 1 as a whole.

以上、図面を参照してこの発明の一実施形態について詳しく説明してきたが、具体的な構成は上述のものに限られることはなく、この発明の要旨を逸脱しない範囲内において様々な設計変更等をすることが可能である。   As described above, the embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to the above, and various design changes and the like can be made without departing from the scope of the present invention. It is possible to

1…携帯端末、2…メインMPU、3…サブMPU、4…サーマルプリンタ部、5…電源部、6…バッテリ、7…RAM、8…ROM、9…ACアダプタ、11…表示部、12…キー入力部、13…磁気カード読み取り部、14…ICカード読み取り部、15…無線通信部、16…有線通信部、25…印字データ作成転送部、26…分割回数判定部、27…プリンタ駆動条件設定部、35…ヘッド駆動制御部、36…モータ駆動制御部、40…プリンタモジュール、41…ラインサーマルヘッド、42…発熱体アレイ、43…出力ドライバ、44…ラッチレジスタ、45…シフトレジスタ、46…ステッピングモータ、47…モータドライバ、48…温度センサ DESCRIPTION OF SYMBOLS 1 ... Portable terminal, 2 ... Main MPU, 3 ... Sub MPU, 4 ... Thermal printer part, 5 ... Power supply part, 6 ... Battery, 7 ... RAM, 8 ... ROM, 9 ... AC adapter, 11 ... Display part, 12 ... Key input unit, 13 ... Magnetic card reading unit, 14 ... IC card reading unit, 15 ... Wireless communication unit, 16 ... Wired communication unit, 25 ... Print data creation / transfer unit, 26 ... Division number determination unit, 27 ... Printer drive condition Setting unit 35... Head drive control unit 36... Motor drive control unit 40... Printer module 41. Line thermal head 42. Heating element array 43 43 Output driver 44 latch register 45 Shift register 46 ... Stepping motor, 47 ... Motor driver, 48 ... Temperature sensor

Claims (7)

複数の発熱体を配列して構成されたサーマルヘッドと、
感熱紙を前記サーマルヘッドに供給する紙搬送機構と、
複数のドットラインからなる領域について印字データを分割印字する際の回数を、前記印字データの印字率に基づいて設定し、
前記領域について前記回数に分割された前記発熱体を順次発熱させて、前記感熱紙に前記印字データを印字する制御装置を、
を備えるサーマルプリンタ。
A thermal head configured by arranging a plurality of heating elements;
A paper transport mechanism for supplying thermal paper to the thermal head;
The number of times when the print data is divided and printed for an area consisting of a plurality of dot lines is set based on the print rate of the print data,
A controller that sequentially heats the heating element divided into the number of times for the region and prints the print data on the thermal paper;
Thermal printer equipped with.
前記制御装置は、
前記印字データを構成する1ドットライン毎に、印字するドットの数を積算し、積算結果を同時に発熱させる前記発熱体の個数である最大同時通電ドット数と比較し、比較結果に基づいて前記1ドットラインを分割印字する際の分割回数を判定する分割回数判定部と、
前記1ドットライン毎の前記分割回数のうち、最大値を、前記印字データを構成する全ての1ドットラインを分割印字する際の前記回数と設定し、複数のブロック単位に分けられている前記複数の前記発熱体のいずれのブロックを制御するかを表すブロック選択情報を、設定された前記回数に基づいて送出するプリンタ駆動条件設定部と、
前記ブロック選択情報に基づいて、前記ブロック単位を順次発熱させて、前記感熱紙に前記印字データを構成する全ての1ドットラインを印字するヘッド駆動制御部と、
を備えることを特徴とする請求項1に記載のサーマルプリンタ。
The control device includes:
For each dot line constituting the print data, the number of dots to be printed is integrated, and the integrated result is compared with the maximum number of simultaneously energized dots, which is the number of heating elements that simultaneously generate heat. A division number determination unit that determines the number of divisions when dividing and printing dot lines;
Among the number of divisions for each one dot line, the maximum value is set as the number of times when all the one dot lines constituting the print data are divided and printed, and the plurality is divided into a plurality of blocks. A printer driving condition setting unit that sends out block selection information indicating which block of the heating element is controlled based on the set number of times,
Based on the block selection information, a head drive controller that sequentially heats the block units and prints all the 1 dot lines constituting the print data on the thermal paper;
The thermal printer according to claim 1, further comprising:
前記制御装置は、
前記印字データを作成し、前記印字データを1ドットライン毎に出力する印字データ作成転送部と、前記分割回数判定部と、前記プリンタ駆動条件設定部と、を有する第1の制御装置と、
前記感熱紙を前記サーマルヘッドに供給する速度を加速または減速するモータ駆動制御部と、前記ヘッド駆動制御部と、を有する第2の制御装置と、
を備えることを特徴とする請求項2に記載のサーマルプリンタ。
The control device includes:
A first control device that includes the print data creation and transfer unit that creates the print data and outputs the print data for each dot line; the division number determination unit; and the printer drive condition setting unit;
A second control device comprising: a motor drive control unit for accelerating or decelerating a speed of supplying the thermal paper to the thermal head; and the head drive control unit;
The thermal printer according to claim 2, further comprising:
前記印字データ作成転送部は、前記印字データの所定の1ドットラインにおけるドットを他のドットラインへ移動させ、前記印字データを作成する、
ことを特徴とする請求項3に記載のサーマルプリンタ。
The print data creation transfer unit moves the dots in a predetermined one dot line of the print data to another dot line, and creates the print data.
The thermal printer according to claim 3.
前記印字データ作成転送部は、前記印字データの所定の1ドットラインにおけるドットが印字後において罫線となる場合、前記所定の1ドットラインにおけるドットのうち半分のドットを隣接する1ドットラインへ移動させ、千鳥配列で2ドットラインが配置されるように、前記印字データを作成する、
ことを特徴とする請求項4に記載のサーマルプリンタ。
The print data creation and transfer unit moves half of the dots in the predetermined one dot line to an adjacent one dot line when dots in the predetermined one dot line of the print data become ruled lines after printing. The print data is created so that 2 dot lines are arranged in a staggered arrangement.
The thermal printer according to claim 4.
複数の発熱体を配列して構成されたサーマルヘッドと、感熱紙を前記サーマルヘッドに供給する紙搬送機構と、を備えるサーマルプリンタの制御コンピュータが、
印字データを分割印字する際の回数を、前記印字データの印字率に基づいて設定し、前記回数に分割された前記発熱体を順次発熱させて、前記感熱紙に前記印字データを印字する制御方法。
A thermal printer control computer comprising a thermal head configured by arranging a plurality of heating elements, and a paper transport mechanism for supplying thermal paper to the thermal head,
A control method for printing the print data on the thermal paper by setting the number of times when the print data is divided and printed based on the print rate of the print data and sequentially heating the heating element divided into the number of times. .
複数の発熱体を配列して構成されたサーマルヘッドと、感熱紙を前記サーマルヘッドに供給する紙搬送機構と、を備えるサーマルプリンタの制御コンピュータに、
印字データを分割印字する際の回数を、前記印字データの印字率に基づいて設定し、前記回数に分割された前記発熱体を順次発熱させて、前記感熱紙に前記印字データを印字する処理を行わせるプログラム。
A thermal printer control computer comprising a thermal head configured by arranging a plurality of heating elements, and a paper transport mechanism for supplying thermal paper to the thermal head,
The number of times when the print data is divided and printed is set based on the print rate of the print data, and the heating element divided into the number of times is sequentially heated to print the print data on the thermal paper. Program to be performed.
JP2015051347A 2015-03-13 2015-03-13 Thermal printer, control method and program Active JP6489431B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015051347A JP6489431B2 (en) 2015-03-13 2015-03-13 Thermal printer, control method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015051347A JP6489431B2 (en) 2015-03-13 2015-03-13 Thermal printer, control method and program

Publications (2)

Publication Number Publication Date
JP2016168794A true JP2016168794A (en) 2016-09-23
JP6489431B2 JP6489431B2 (en) 2019-03-27

Family

ID=56981949

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015051347A Active JP6489431B2 (en) 2015-03-13 2015-03-13 Thermal printer, control method and program

Country Status (1)

Country Link
JP (1) JP6489431B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019155725A (en) * 2018-03-13 2019-09-19 セイコーソリューションズ株式会社 Printing device and printing control program
JP2020104355A (en) * 2018-12-27 2020-07-09 ブラザー工業株式会社 Editing device and printer
CN111591043A (en) * 2020-05-14 2020-08-28 上海世麦智能科技有限公司 Stepping motor speed control method based on thermal printer and thermal printer
CN115583115A (en) * 2022-12-13 2023-01-10 飞天诚信科技股份有限公司 Method and device for realizing thermal printing
EP4177063A1 (en) * 2021-11-08 2023-05-10 Brother Kogyo Kabushiki Kaisha Print data editing device, print data editing method, and computer-readable storage medium storing computer-readable instructions
US11809927B2 (en) 2021-11-08 2023-11-07 Brother Kogyo Kabushiki Kaisha Print data editing device editing print data such that partial image corresponding to column is shifted in sub-scanning direction and editing condition is met
US11816515B2 (en) 2021-11-08 2023-11-14 Brother Kogyo Kabushiki Kaisha Print data editing device editing print data such that number of on-dots in image represented by print data is reduced
US11829822B2 (en) 2021-11-08 2023-11-28 Brother Kogyo Kabushiki Kaisha Print data editing device editing print data such that partial image corresponding to column is shifted by shift amount in sub-scanning direction
US11880618B2 (en) 2022-01-14 2024-01-23 Brother Kogyo Kabushiki Kaisha Printing apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06183048A (en) * 1992-12-15 1994-07-05 Fujitsu Ltd Thermal printer
US5897255A (en) * 1995-08-23 1999-04-27 Intermec Ip Corp. Speed fonts for matrix printers
JP2002086785A (en) * 2000-09-11 2002-03-26 Toshiba Tec Corp Line printer
JP2003285463A (en) * 2002-03-29 2003-10-07 Oki Joho Systems:Kk Method for controlling print record
JP2011051290A (en) * 2009-09-03 2011-03-17 Toshiba Tec Corp Thermal printer
JP2012179806A (en) * 2011-03-01 2012-09-20 Toshiba Tec Corp Thermal printer and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06183048A (en) * 1992-12-15 1994-07-05 Fujitsu Ltd Thermal printer
US5897255A (en) * 1995-08-23 1999-04-27 Intermec Ip Corp. Speed fonts for matrix printers
JP2002086785A (en) * 2000-09-11 2002-03-26 Toshiba Tec Corp Line printer
JP2003285463A (en) * 2002-03-29 2003-10-07 Oki Joho Systems:Kk Method for controlling print record
JP2011051290A (en) * 2009-09-03 2011-03-17 Toshiba Tec Corp Thermal printer
JP2012179806A (en) * 2011-03-01 2012-09-20 Toshiba Tec Corp Thermal printer and program

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019155725A (en) * 2018-03-13 2019-09-19 セイコーソリューションズ株式会社 Printing device and printing control program
JP7025959B2 (en) 2018-03-13 2022-02-25 セイコーソリューションズ株式会社 Printing device and print control program
JP2020104355A (en) * 2018-12-27 2020-07-09 ブラザー工業株式会社 Editing device and printer
JP7147549B2 (en) 2018-12-27 2022-10-05 ブラザー工業株式会社 editor and printer
CN111591043A (en) * 2020-05-14 2020-08-28 上海世麦智能科技有限公司 Stepping motor speed control method based on thermal printer and thermal printer
US11809927B2 (en) 2021-11-08 2023-11-07 Brother Kogyo Kabushiki Kaisha Print data editing device editing print data such that partial image corresponding to column is shifted in sub-scanning direction and editing condition is met
EP4177063A1 (en) * 2021-11-08 2023-05-10 Brother Kogyo Kabushiki Kaisha Print data editing device, print data editing method, and computer-readable storage medium storing computer-readable instructions
US11790201B2 (en) 2021-11-08 2023-10-17 Brother Kogyo Kabushiki Kaisha Print data editing device editing print data such that partial image corresponding to column is shifted in sub-scanning direction and number of on-dots in image represented by print data is reduced
US11816515B2 (en) 2021-11-08 2023-11-14 Brother Kogyo Kabushiki Kaisha Print data editing device editing print data such that number of on-dots in image represented by print data is reduced
US11829822B2 (en) 2021-11-08 2023-11-28 Brother Kogyo Kabushiki Kaisha Print data editing device editing print data such that partial image corresponding to column is shifted by shift amount in sub-scanning direction
US11880618B2 (en) 2022-01-14 2024-01-23 Brother Kogyo Kabushiki Kaisha Printing apparatus
CN115583115B (en) * 2022-12-13 2023-03-14 飞天诚信科技股份有限公司 Method and device for realizing thermal printing
CN115583115A (en) * 2022-12-13 2023-01-10 飞天诚信科技股份有限公司 Method and device for realizing thermal printing

Also Published As

Publication number Publication date
JP6489431B2 (en) 2019-03-27

Similar Documents

Publication Publication Date Title
JP6489431B2 (en) Thermal printer, control method and program
US9028035B2 (en) Printing control apparatus and printing control method
US8035672B2 (en) Printing apparatus
US9937730B2 (en) Printer
US8610946B2 (en) Print apparatus and print method
JP4725148B2 (en) Printing apparatus and program
JP2007030263A (en) Printer and method for controlling the same
JP5768965B2 (en) Printer apparatus and program
CN114303126A (en) Printing system, printing control method, information processing apparatus, and printing control program
JP6904728B2 (en) Head drive, thermal printer, and control method
US7004653B2 (en) Printer with a copy function for carrying out two-set double-sided printing
US11010117B2 (en) Printing apparatus and control method of printing apparatus
JP2009160809A (en) Portable printer
JPH10324015A (en) Thermal printer
JP5648031B2 (en) Printing device and control program
JP2004209739A (en) Thermal printer
JP2843051B2 (en) Thermal printer
JP2002254715A (en) Printer for tape-like printing medium
JP4921650B2 (en) Thermal printer
JP2019181802A (en) Thermal printer, print control device and method
JPH11249856A (en) Printer system
US20040017578A1 (en) Method of detecting bad dots in print zone
JP2020135612A (en) Printer and module
JPH08282022A (en) Dot matrix type printer
US20130057636A1 (en) Printer and printing control method therof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180111

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180919

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181002

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20181102

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181128

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190129

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190214

R150 Certificate of patent or registration of utility model

Ref document number: 6489431

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250