JP2009298036A - Thermal printer, method for determining printing speed and program for determining printing speed - Google Patents
Thermal printer, method for determining printing speed and program for determining printing speed Download PDFInfo
- Publication number
- JP2009298036A JP2009298036A JP2008155574A JP2008155574A JP2009298036A JP 2009298036 A JP2009298036 A JP 2009298036A JP 2008155574 A JP2008155574 A JP 2008155574A JP 2008155574 A JP2008155574 A JP 2008155574A JP 2009298036 A JP2009298036 A JP 2009298036A
- Authority
- JP
- Japan
- Prior art keywords
- printing
- barcode
- print layout
- line
- paper
- 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
Links
Images
Landscapes
- Electronic Switches (AREA)
- Printers Characterized By Their Purpose (AREA)
Abstract
Description
この発明は、サーマルヘッドを搭載したサーマルプリンタ、印刷速度決定方法およびサーマルプリンタに適用される印刷速度決定プログラムに関する。 The present invention relates to a thermal printer equipped with a thermal head, a printing speed determination method, and a printing speed determination program applied to the thermal printer.
近年では、携帯可能なサーマルプリンタが普及している。このようなサーマルプリンタは、印刷される用紙の幅方向に配列された複数の発熱体を有するサーマルヘッドが搭載されている。サーマルプリンタは、複数の発熱体のうち適当なものを発熱させることによって、1ライン毎に印刷を行う。 In recent years, portable thermal printers have become widespread. Such a thermal printer is equipped with a thermal head having a plurality of heating elements arranged in the width direction of the paper to be printed. The thermal printer performs printing for each line by causing an appropriate one of the plurality of heating elements to generate heat.
特許文献1には、制御を複雑化することなく印刷ずれを補正できる装置として、記憶手段に記憶された印刷データに基づいて印刷位置を補正することで適切な印刷位置に文字を印刷することができる構成について記載されている。
しかしながら特許文献1に記載の構成では、サーマルヘッドに設けられた複数の発熱体のうち用紙に対して印刷動作する割合である印刷率に応じて印刷速度を可変するサーマルプリンタにおける印刷ずれに対する解決手段が記載されていない。特に、印刷対象である印刷レイアウトにバーコードか含まれている場合、用紙に印刷ずれしたバーコードが印刷されると、バーコードリーダによる読み取りに支障が生じる。
However, in the configuration described in
そこでこの発明は、バーコードを印刷する場合であっても印刷ずれを起こさないサーマルプリンタ、印刷ずれを生じない印刷速度決定方法および印刷速度決定プログラムを提供する。 Accordingly, the present invention provides a thermal printer that does not cause a printing deviation even when a barcode is printed, a printing speed determination method that does not cause a printing deviation, and a printing speed determination program.
この発明の一実施形態のサーマルプリンタは、用紙の幅方向に対して複数の発熱体が配設されたサーマルヘッドを有するものであって、入力された印刷レイアウトにバーコードが含まれているか否かを解析する解析手段と、少なくともこの解析手段で前記印刷レイアウトにバーコードが含まれていると解析された場合、このバーコード部分の前記用紙に対する印刷率を前記印刷レイアウトの1ラインごとに算出する算出手段と、前記算出手段で算出した前記印刷率に応じて前記サーマルヘッドが前記用紙に対して1ライン分印刷する印刷速度を変更する変更手段と、前記解析手段で前記印刷レイアウトに前記バーコードが含まれると解析された場合、前記算出手段で算出した前記バーコード部分における1ライン分の前記印刷率に応じた印刷速度を設定する設定手段とを有する。 A thermal printer according to an embodiment of the present invention includes a thermal head in which a plurality of heating elements are arranged in the width direction of a sheet, and whether an input print layout includes a barcode. An analysis means for analyzing whether or not at least the analysis means analyzes that the print layout includes a barcode, and calculates the printing rate of the barcode portion for the paper for each line of the print layout. Calculating means for changing, a changing means for changing a printing speed at which the thermal head prints one line on the paper according to the printing rate calculated by the calculating means, and a bar for the print layout by the analyzing means. When it is analyzed that a code is included, printing according to the printing rate for one line in the barcode portion calculated by the calculating means And a setting means for setting a degree.
この発明の一実施形態の印刷速度決定方法は、用紙の幅方向に対して複数の発熱体が配設されたサーマルヘッドを有するサーマルプリンタに適用されるものであって、入力された印刷レイアウトにバーコードが含まれているか否かを解析し、少なくとも前記印刷レイアウトにバーコードが含まれていると解析された場合、このバーコード部分の前記用紙に対する印刷率を前記印刷レイアウトの1ラインごとに算出し、算出した前記印刷率に応じて前記サーマルヘッドが前記用紙に対して1ライン分印刷する印刷速度を変更し、前記印刷レイアウトに前記バーコードが含まれると解析された場合、算出した前記バーコード部分における1ライン分の前記印刷率に応じた印刷速度を設定する、
この発明の一実施形態の印刷速度決定プログラムは、用紙の幅方向に対して複数の発熱体が配設されたサーマルヘッドを有するサーマルプリンタを制御するコンピュータに適用されるものであって、用紙の幅方向に対して複数の発熱体が配設されたサーマルヘッドを有するサーマルプリンタを制御するコンピュータに適用されるプログラムにおいて、入力された印刷レイアウトにバーコードが含まれているか否かを解析する機能と、少なくとも前記印刷レイアウトにバーコードが含まれていると解析された場合、このバーコード部分の前記用紙に対する印刷率を前記印刷レイアウトの1ラインごとに算出する機能と、算出した前記印刷率に応じて前記サーマルヘッドが前記用紙に対して1ライン分印刷する印刷速度を変更する機能と、前記印刷レイアウトに前記バーコードが含まれると解析された場合、算出した前記バーコード部分における1ライン分の前記印刷率に応じた印刷速度を設定する機能とを有する。
A printing speed determination method according to an embodiment of the present invention is applied to a thermal printer having a thermal head in which a plurality of heating elements are arranged in the width direction of a sheet. When it is analyzed whether or not a barcode is included, and it is analyzed that at least the barcode is included in the print layout, the printing rate of the barcode portion with respect to the paper is determined for each line of the print layout. If the thermal head changes the printing speed for printing one line on the paper according to the calculated printing rate, and it is analyzed that the barcode is included in the print layout, the calculated Set the printing speed according to the printing rate for one line in the barcode part,
A printing speed determination program according to an embodiment of the present invention is applied to a computer that controls a thermal printer having a thermal head in which a plurality of heating elements are arranged in the width direction of a sheet. A function for analyzing whether or not a bar code is included in an input print layout in a program applied to a computer that controls a thermal printer having a thermal head in which a plurality of heating elements are arranged in the width direction. And, if it is analyzed that at least the barcode is included in the print layout, a function for calculating the print rate of the barcode portion for the paper for each line of the print layout, and the calculated print rate In response, the thermal head changes the printing speed for printing one line on the paper, and the printing If the bar code is analyzed to include in the layout, and a function of setting a printing speed corresponding to the printing rate of one line in the calculated the bar code portion.
これにより、サーマルプリンタプリンタは、サーマルヘッドによって用紙の搬送方向に対していかなる配置のバーコードが印刷される場合であっても、バーコードリーダによる読み取りに支がを生じないバーコードを印刷する印刷速度に切り替えることができる。 As a result, the thermal printer printer prints a barcode that does not interfere with reading by the barcode reader, regardless of the arrangement of barcodes in the paper transport direction by the thermal head. You can switch to speed.
以下、図面を参照して本発明の実施形態について説明する。図1は、本実施形態におけるサーマルプリンタ10の概略構造を示す模式図である。サーマルプリンタ10は、サーマルヘッド1とプラテンローラ2とを有している。サーマルヘッド1とプラテンローラ2とは、巻回された連続紙S(レシート紙など)から供給される用紙3を間に挟むように配置されている。サーマルヘッド1は、一端が回転自在に支持されて他端がプラテンローラ2に圧接するように図示しない付勢部材により付勢されている。したがってサーマルヘッド1は、取替え可能となっている。プラテンローラ2は、ステッピングモータ4とベルトを介して連結されており、ステッピングモータ4が回転されることによって回転される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a schematic diagram showing a schematic structure of a
用紙3は、サーマルヘッド1とプラテンローラ2との間に挟まれた状態でプラテンローラ2が回転することによって搬送される。サーマルヘッド1は、連続紙Sの幅方向に配列された複数の発熱体を有しており、これらの発熱体のうち適当なものを発熱させることによって感熱紙である用紙3に対して印刷することができる。サーマルヘッド1は、印刷データとして印加される1ライン分ごとに順次印刷する。
The sheet 3 is conveyed by the rotation of the
図2は、サーマルプリンタ10の構成を示すブロック図である。サーマルプリンタ10は、各種の演算処理を実行し各部を集中的に制御するCPU11を有し、このCPU11にはRAM13、フラッシュメモリ14を含むメモリがシステムバス15を介して接続されている。
FIG. 2 is a block diagram illustrating a configuration of the
CPU11は、図3に示す様にコマンド解析部111、描画部112、算出部113、変更部114、設定部115、送信部116を有する。コマンド解析部111は、キー入力部26またはホストコンピュータで入力または選択された印刷対象である印刷レイアウトがバーコードまたは文字のいずれで構成されているかを、入力された印刷レイアウト情報に含まれるコマンドから解析する。描画部112は、コマンド解析された印刷レイアウト情報を印刷データとして展開する。算出部113は、印刷レイアウト1ラインの印刷率を算出する。印刷率とは、サーマルヘッド1に配列された複数の発熱体のうち、1ライン分の印刷データ信号によって用紙3に対して印刷動作するように制御された発熱体の割合である。つまり、印字率は、用紙3の1ライン分(白部分)における印字箇所(黒部分)の占める割合である。変更部114は、印刷率に応じて予め設定された印刷速度でサーマルヘッドが印刷動作するように切り替える。設定部115は、印刷レイアウトにバーコードが含まれている場合に、バーコード部分における1ライン分の印刷率が所定値より小さい値であれば、所定値以上の印刷率に対応した印刷速度を設定する。印刷レイアウトにバーコードが含まれている場合における印刷速度の変更については、後に詳述する。送信部116は、サーマルヘッドに配設された発熱体に対して、1ライン分の印刷データ信号および印刷速度情報を送信する。
As illustrated in FIG. 3, the
フラッシュメモリ14は、サーマルプリンタ10の動作プログラムを格納する。CPU11は、フラッシュメモリ14に記憶された動作プログラムをRAM13にコピーし実行することにより各部を制御する。動作プログラムには、例えば印刷処理を行うためのプログラムが含まれる。RAM13は各種の可変情報を一時的に格納する。また、RAM13は、ホストコンピュータで入力された印刷レイアウト情報を一時的に記憶する。さらに、RAM13の一部の領域は、描画部112で展開された用紙3に印刷される印刷レイアウトの印刷データを印刷バッファとして利用される。また、フラッシュメモリ14は、ホストコンピュータ30から受信した印刷対象となる印刷データも記憶する。
The
また、CPU11には、モータ制御回路18、ヘッド制御回路19、電源回路20が接続される。
モータ制御回路18は、CPU11の制御のもとで、ステッピングモータ4を回転駆動させる。ヘッド制御回路19は、CPU11の制御に基づいて、サーマルヘッド1による用紙3に対する印刷を制御する。電源回路20は、バッテリ21に蓄えられた電力を各部に供給しているともに、バッテリ21の充電を制御している。
The
The
また、CPU11には、表示コントローラ23、通信インタフェース25、キー入力部26が接続される。
表示コントローラ23は、CPU11の制御のもとで、表示器24における表示を制御する。表示器24には、印刷状況などの各種情報が表示される。通信インタフェース(I/F)25は、ホストコンピュータ30(ホスト装置)などの外部の機器と接続するためのインタフェースである。ホストコンピュータ30は、例えばパーソナルコンピュータ(PC)、携帯電話機、ハンディターミナル等、ユーザからの入力に応じてデータ処理を実行する機能が搭載された各種の情報機器が使用される。通信インタフェース25は、ホストコンピュータ30に設けられた通信インタフェース、例えばIrDA等の赤外線通信、USB(Universal Serial Bus)、LAN(Local Area Network)、RS−232C、Bluetooth(登録商標)等により通信が可能であるものとする。キー入力部26は、サーマルプリンタ10に対するユーザによる指示の入力に使用される。
Further, a
The
以下、本実施形態である印刷レイアウトにバーコードが含まれている場合において、印刷率に応じたサーマルヘッド1の印刷速度の変更について説明する。
Hereinafter, a change in the printing speed of the
図4は、印刷対象である印刷レイアウトを展開した図である。ユーザは、キー入力部26または外部機器であるホストコンピュータ30により印刷レイアウトを選択もしくは入力する。ホストコンピュータ30によって印刷レイアウトが選択された場合、通信I/F26を介して受信した印刷レイアウト情報は、RAM13に一時的に記憶される。キー入力部26により印刷レイアウトが選択された場合、入力されたコマンドに応じて、CPU11は、例えばフラッシュメモリ14に記憶されている印刷レイアウト情報を読み出す。
FIG. 4 is a developed view of the print layout to be printed. The user selects or inputs a print layout by the
ここで、図4に示す印刷レイアウトは、6つのバーコードから構成されている。印刷レイアウトのX方向が用紙3の幅方向、つまりサーマルヘッド1に設けられた発熱体の配列方向に対応している。また、Y方向が用紙3の長手方向、つまり用紙3のプラテンローラ2による搬送方向に対応している。印刷レイアウトを構成するバーコードのそれぞれ、用紙3の幅方向であるX方向と平行な複数のバーで構成されている。送信部116は、印刷レイアウトをX方向の1ライン分ごとの印刷データ信号をサーマルヘッド1に順次送信する。
Here, the print layout shown in FIG. 4 is composed of six barcodes. The X direction of the print layout corresponds to the width direction of the paper 3, that is, the arrangement direction of the heating elements provided in the
そして、サーマルヘッド1は、受信した1ライン分の印刷データ情報に基づいて適当な発熱体を発熱させることによって感熱紙である用紙3に対して印刷する。また、印刷レイアウトは、Y方向に沿って同一の形状のバーコードが3段で構成されている。3列のバーコードが配置された部分を上段部と定義する。2列のバーコードが配置された部分を中段部と定義する。1列のバーコードが配置された部分を下段部と定義する。
Then, the
コマンド解析部111は、印刷レイアウト情報をRAM13またはフラッシュメモリ14に記憶されている印刷レイアウト情報からバーコード、文字がどのような配置で構成されているのかを解析する。
The
そして、描画部112は、コマンド解析された印刷レイアウト情報を印刷データとして展開する。そして、RAM13は、展開された印刷レイアウト情報の印刷データを記録する。このとき、CPU11は、表示器24に印刷レイアウトを表示することもできる。
Then, the
次に、算出部113は、印刷レイアウトの1ライン分ごとの印刷率を算出する。1ライン分の印刷率が算出されると、変更部114は、印刷率に応じて予め設定された印刷速度でサーマルヘッド1が印刷動作するように印刷速度を切り替える。変更部114は、印刷率が高くなるにつれて印刷速度を遅く設定する。したがって、1ライン分について印刷率が低い場合は、印刷速度が速くなるので、印刷レイアウト全体の印刷時間は、等速の場合に比べて早くなるため、ユーザの使い勝手が向上する。
Next, the
送信部116は、サーマルヘッド1に配設された発熱体に対して、1ライン分の印刷データ信号および印刷率に対応した印刷速度情報を送信する。
The
図5は、図3に示した印刷レイアウトの下段部に配置されたバーコードの一部分を示した図である。印刷レイアウトの下段部には、一列のバーコードのみが配置されているので、下段部の印刷率は、上段部または中段部における1ライン分の印刷率に比べて低い。したがって、下段部における1ライン分の印刷速度は、上段部または中段部における1ライン分の印刷速度に比べて速くなる。このとき、図5の右図に示すように、尾引き、つまり印刷箇所がにじむ現象が生じる。 FIG. 5 is a view showing a part of the barcode arranged in the lower part of the print layout shown in FIG. Since only one row of barcodes is arranged in the lower part of the print layout, the printing rate of the lower part is lower than the printing rate for one line in the upper part or the middle part. Therefore, the printing speed for one line in the lower part is faster than the printing speed for one line in the upper part or the middle part. At this time, as shown in the right diagram of FIG. 5, tailing, that is, a phenomenon in which a printed portion blurs occurs.
バーコードが3列配置された上段部、およびバーコードが2列配置された中段部における1ライン分の印刷率に対応した印刷速度でサーマルヘッド1が印刷動作した場合、図5に示す尾引きは生じない。一方、バーコードが1列配置された下段部における1ライン分の印刷率の印刷速度でサーマルヘッド1が印刷動作した場合、蓄熱量の関係で尾引きが生じる。
When the
本実施形態において印刷レイアウトに配置されたバーコードは、図4に示すように、サーマルヘッド1に設けられた発熱体の配列方向であるX方向と平行な複数のバーで構成されたバーコード(シリアルバーコードと称す)である。したがって、用紙3に印刷された印刷レイアウトの下段部におけるバーコードに尾引きが生じた場合、バーコードリーダは、当該バーコードを読み取るときに読み取りエラーを起こす可能性がある。 As shown in FIG. 4, the barcode arranged in the print layout in this embodiment is a barcode composed of a plurality of bars parallel to the X direction that is the arrangement direction of the heating elements provided in the thermal head 1 ( This is called a serial barcode. Therefore, when the barcode in the lower part of the print layout printed on the paper 3 is tailed, the barcode reader may cause a reading error when reading the barcode.
ここで、図6は、印刷対象として設定された他の印刷レイアウトを示す図である。印刷レイアウトは、5つのバーコードと1つの文字が配置された構成である。 Here, FIG. 6 is a diagram showing another print layout set as a print target. The print layout has a configuration in which five barcodes and one character are arranged.
印刷レイアウトを構成する5つのバーコードそれぞれは、用紙3の幅方向であるX方向と平行な複数のバーで構成されている。3列のバーコードが配置された部分を上段部と定義する。2列のバーコードが配置された部分を中段部と定義する。1つの文字が配置された部分を下段部と定義する。印刷レイアウトを構成する5つのバーコードは、同一形状のシリアルバーコードである。 Each of the five barcodes constituting the print layout is composed of a plurality of bars parallel to the X direction which is the width direction of the paper 3. The part where the three rows of barcodes are arranged is defined as the upper part. A portion where two rows of barcodes are arranged is defined as a middle portion. The part where one character is arranged is defined as the lower part. The five barcodes constituting the print layout are serial barcodes having the same shape.
シリアルバーコードが3列配置された上段部、およびシリアルバーコードが2列配置された中段部における1ライン分の印刷率に対応した印刷速度であれば、上記同様図5に示す尾引きは生じない。一方、文字が1列配置された下段部の1ライン分の印刷率に対応する印刷速度では、尾引きが生じる。この場合、用紙3に印刷された文字に尾引きが生じた場合であっても、ユーザが当該文字を視認できれば問題は生じない。 If the printing speed corresponds to the printing rate for one line in the upper stage where three rows of serial barcodes are arranged and the middle stage where two rows of serial barcodes are arranged, the tail shown in FIG. Absent. On the other hand, tailing occurs at the printing speed corresponding to the printing rate for one line in the lower part where one row of characters is arranged. In this case, even if the characters printed on the paper 3 are tailed, there is no problem as long as the user can visually recognize the characters.
したがって、Y方向と平行な複数のバーで構成されたバーコード(パラレルバーコードと称す)、ドット単位で指定されるフレキシブルバーコードおよび文字の印刷については、尾引きが生じてもバーコードリーダによる用紙3に印刷されたバーコードの読み取り、またはユーザによる文字の視認には影響を与えない。 Therefore, barcodes composed of a plurality of bars parallel to the Y direction (referred to as parallel barcodes), flexible barcodes designated in dot units, and printing of characters are handled by a barcode reader even if tailing occurs. It does not affect the reading of the barcode printed on the paper 3 or the visual recognition of characters by the user.
つまり、本実施形態では、WPC(World Product Code)系のシリアルバーコードを用紙3に印刷する場合に、印刷されたバーコードに尾引きが生じない印刷速度で印刷する必要がある。 That is, in the present embodiment, when printing a WPC (World Product Code) serial barcode on the paper 3, it is necessary to print at a printing speed that does not cause tailing of the printed barcode.
コマンド解析部111が図6に示すように印刷レイアウトの下段部に文字が含まれていると判断した場合、変更部114は、下段部の文字部分における1ライン分の印刷率に基づいて印刷速度を切り替える。そして、送信部116は、サーマルヘッド1に配設された発熱体に対して、1ライン分の印刷データ信号および印刷率に対応した印刷速度の情報を送信する。
When the
つまりサーマルヘッド1は、印刷レイアウトの下段部の文字部分について印字速度を遅くすることなく、印刷率に対応した印刷速度で印字する。したがって、図6に示すような印刷レイアウトの下段部が文字部分である場合は、図4に示すような印刷レイアウトの下段部がバーコード部分である場合に比べて、サーマルヘッド1は、印刷速度が速い。
That is, the
コマンド解析部111が図4に示すように印刷レイアウトの下段部にバーコードが含まれていると判断した場合、設定部115は、下段部のバーコード部分における1ライン分の印刷率が所定の印刷率の値よりも小さいか否かを判断する。設定部115は、印刷率が所定の印刷率の値よりも小さい値であると判断した場合、以下に示す方法で所定値以上の印刷率に対応した印刷速度を設定する。
When the
つまり、サーマルヘッド1が図4に示す印刷レイアウトの下段部のバーコード部分を用紙3に対して印刷する際、必ず所定の印刷速度以下となるため、用紙3に印刷されたバーコードには図5に示すような尾引きが生じることはない。
That is, when the
図7は、設定部115による所定値以上の印刷率に対応した印刷速度の算出を示す図である。設定部115は、印刷レイアウトとともに、印刷レイアウトのX方向の一端側を軸として印刷レイアウトと対称となる仮想領域を作成してRAM13に記録する。
FIG. 7 is a diagram illustrating calculation of a printing speed corresponding to a printing rate equal to or higher than a predetermined value by the
設定部115は、印刷レイアウトと仮想領域に配置された下段部のバーコード部分における1ライン分の印刷率を算出する。印刷レイアウトの下段部に設けられているバーコードとは別に仮想領域にも同じバーコードが表示されているため、1ライン当たりのドット数は、印刷レイアウトに設けられたバーコードのドット数と仮想領域表示されたバーコードのドット数の合算した値となる。つまり、合算したドット数は、印刷レイアウトにおける1ライン分のドット数の2倍のドット数となる。サーマルヘッド1に配列された複数の発熱体の数は既知である。そのため、設定部115は、サーマルヘッド1に配列された複数の発熱体の数に対する1ライン分のドット数の割合である印刷率を算出する。そして設定部115は、1ラインあたりの印刷率に対応した印刷速度を設定する。つまり、設定部115は、印刷レイアウトの中段部に配置された2列のバーコード部分における1ライン分の印刷速度と同じ印刷速度を設定する。
The
そして送信部116は、サーマルヘッド1に配設された発熱体に対して、1ライン分の印刷データ信号および設定された印刷速度の情報を送信する。したがって、サーマルヘッド1は、印刷レイアウトの下段部のバーコードを用紙3に対して尾引きが生じることなく印刷することができる。
Then, the
上記実施形態により、サーマルヘッド1は、印刷レイアウトにバーコードが含まれる場合であっても、バーコードに尾引きが生じることなく用紙3に印刷できる。そのため、ユーザは、バーコードリーダによる印刷したバーコードの読み取りに問題が生じることはない。
According to the above-described embodiment, the
上記実施形態ではCPU11が印刷対象として印刷レイアウトおよび仮想領域を作成することで印刷速度の変更をした。他の実施形態として、ユーザが印刷レイアウトをキー入力部26またはホストコンピュータで印刷レイアウトを入力する際に、印刷レイアウトの位置と構成を対応付けたテーブルにフラグを設定することで、CPU11はフラグ設定された構成であるバーコード部分に対しては印刷速度を遅くするフラグ制御をするようにしてもよい。
In the above embodiment, the
また上記実施形態では、サーマルプリンタ10の内部に設けられたCPU11が、外部機器であるホストコンピュータ30から受信した印刷レイアウトの印刷速度を決定していた。外部機器であるホストコンピュータ30が図2又は図3に示すCPU11の機能を有し、ホストコンピュータ30が印刷レイアウトの1ライン分の印刷速度を決定し、サーマルプリンタ10に印刷データ信号および印刷速度情報を送信するようにしてもよい。つまり、外部機器であるホストコンピュータ30を含めて、サーマルプリンタ10を構成していることになる。言い換えると、サーマルヘッド1が用紙3に対して印刷する場合の印刷率の決定は、ホストコンピュータ30またはサーマルプリンタ10のいずれにおいて決定されるようにしてもよい。
In the above embodiment, the
なお、この発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態に亘る構成要素を適宜組み合せてもよい。 Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Further, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, you may combine suitably the component covering different embodiment.
1…サーマルヘッド、2…プラテンローラ、3…用紙、4…ステッピングモータ、10…サーマルプリンタ、11…CPU、13…RAM、14…フラッシュメモリ、15…システムバス、18…モータ制御回路、19…ヘッド制御回路、20…電源回路、21…バッテリ、23…表示コントローラ、25…通信インタフェース、26…キー入力部、30…ホストコンピュータ、40…システム回路、50…充電回路、60…外部直流電源、111…コマンド解析部、112…描画部、113…算出部、114…変更部、115…設定部、116…送信部。
DESCRIPTION OF
Claims (3)
入力された印刷レイアウトにバーコードが含まれているか否かを解析する解析手段と、
少なくともこの解析手段で前記印刷レイアウトにバーコードが含まれていると解析された場合、このバーコード部分の前記用紙に対する印刷率を前記印刷レイアウトの1ラインごとに算出する算出手段と、
前記算出手段で算出した前記印刷率に応じて前記サーマルヘッドが前記用紙に対して1ライン分印刷する印刷速度を変更する変更手段と、
前記解析手段で前記印刷レイアウトに前記バーコードが含まれると解析された場合、前記算出手段で算出した前記バーコード部分における1ライン分の前記印刷率に応じた印刷速度を設定する設定手段と、
を有することを特徴とするサーマルプリンタ。 In the thermal having a thermal head in which a plurality of heating elements are arranged in the width direction of the paper,
Analysis means for analyzing whether or not a barcode is included in the input print layout;
Calculating means for calculating, for each line of the print layout, a print rate of the barcode portion with respect to the paper when at least the analysis means analyzes that the print layout includes a barcode;
Changing means for changing a printing speed at which the thermal head prints one line on the paper according to the printing rate calculated by the calculating means;
A setting means for setting a printing speed according to the printing rate for one line in the barcode portion calculated by the calculation means when the analysis means analyzes that the barcode is included in the print layout;
A thermal printer characterized by comprising:
入力された印刷レイアウトにバーコードが含まれているか否かを解析し、
少なくとも前記印刷レイアウトにバーコードが含まれていると解析された場合、このバーコード部分の前記用紙に対する印刷率を前記印刷レイアウトの1ラインごとに算出し、
算出した前記印刷率に応じて前記サーマルヘッドが前記用紙に対して1ライン分印刷する印刷速度を変更し、
前記印刷レイアウトに前記バーコードが含まれると解析された場合、算出した前記バーコード部分における1ライン分の前記印刷率に応じた印刷速度を設定する、
ことを特徴とする印刷速度決定方法。 In a method applied to a thermal printer having a thermal head in which a plurality of heating elements are arranged in the width direction of the paper,
Analyzes whether the input print layout contains a barcode,
When it is analyzed that at least the barcode is included in the print layout, the printing rate of the barcode portion with respect to the paper is calculated for each line of the print layout,
According to the calculated printing rate, the thermal head changes the printing speed for printing one line on the paper,
When it is analyzed that the barcode is included in the print layout, a printing speed corresponding to the printing rate for one line in the calculated barcode portion is set.
And a printing speed determination method.
入力された印刷レイアウトにバーコードが含まれているか否かを解析する機能と、
少なくとも前記印刷レイアウトにバーコードが含まれていると解析された場合、このバーコード部分の前記用紙に対する印刷率を前記印刷レイアウトの1ラインごとに算出する機能と、
算出した前記印刷率に応じて前記サーマルヘッドが前記用紙に対して1ライン分印刷する印刷速度を変更する機能と、
前記印刷レイアウトに前記バーコードが含まれると解析された場合、算出した前記バーコード部分における1ライン分の前記印刷率に応じた印刷速度を設定する機能と、
を有することを特徴とする印刷速度決定プログラム。 In a program applied to a computer that controls a thermal printer having a thermal head in which a plurality of heating elements are arranged in the width direction of the paper,
A function to analyze whether or not a barcode is included in the input print layout;
A function for calculating a printing rate of the barcode portion with respect to the paper for each line of the print layout when it is analyzed that at least the print layout includes a barcode;
A function of changing the printing speed at which the thermal head prints one line on the paper according to the calculated printing rate;
A function of setting a printing speed according to the printing rate for one line in the calculated barcode portion when the print layout is analyzed to include the barcode;
A printing speed determination program characterized by comprising:
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008155574A JP2009298036A (en) | 2008-06-13 | 2008-06-13 | Thermal printer, method for determining printing speed and program for determining printing speed |
EP09007359A EP2133208A3 (en) | 2008-06-12 | 2009-06-03 | Printing apparatus |
US12/479,019 US8035672B2 (en) | 2008-06-12 | 2009-06-05 | Printing apparatus |
CN201110218906.7A CN102407680B (en) | 2008-06-12 | 2009-06-11 | Printing equipment and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008155574A JP2009298036A (en) | 2008-06-13 | 2008-06-13 | Thermal printer, method for determining printing speed and program for determining printing speed |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009298036A true JP2009298036A (en) | 2009-12-24 |
Family
ID=41545436
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008155574A Pending JP2009298036A (en) | 2008-06-12 | 2008-06-13 | Thermal printer, method for determining printing speed and program for determining printing speed |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009298036A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013230662A (en) * | 2012-05-02 | 2013-11-14 | Seiko Epson Corp | Recording control device, recording device and control method of recording device |
JP2014182692A (en) * | 2013-03-21 | 2014-09-29 | Seiko Epson Corp | Print control program, print control device, and print control method |
WO2015033702A1 (en) | 2013-09-04 | 2015-03-12 | サトーホールディングス株式会社 | Printer and printing method |
JP2018129934A (en) * | 2017-02-08 | 2018-08-16 | 東芝テック株式会社 | Conveyance speed controller |
JP2019018532A (en) * | 2017-07-21 | 2019-02-07 | 東芝テック株式会社 | Printer |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63230345A (en) * | 1987-03-18 | 1988-09-26 | Fujitsu Ltd | Dot printer |
JPH02295777A (en) * | 1989-05-10 | 1990-12-06 | Seiko Epson Corp | Heat transfer recorder |
JPH0550638A (en) * | 1991-08-27 | 1993-03-02 | Tokyo Electric Co Ltd | Thermal printer |
JPH05205084A (en) * | 1992-01-23 | 1993-08-13 | Tokyo Electric Co Ltd | Bar code printer |
JP2006102961A (en) * | 2004-09-30 | 2006-04-20 | Seiko Epson Corp | Printer and its printing control method |
JP2006198951A (en) * | 2005-01-21 | 2006-08-03 | Ricoh Printing Systems Ltd | Printing control method for dot line printer |
-
2008
- 2008-06-13 JP JP2008155574A patent/JP2009298036A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63230345A (en) * | 1987-03-18 | 1988-09-26 | Fujitsu Ltd | Dot printer |
JPH02295777A (en) * | 1989-05-10 | 1990-12-06 | Seiko Epson Corp | Heat transfer recorder |
JPH0550638A (en) * | 1991-08-27 | 1993-03-02 | Tokyo Electric Co Ltd | Thermal printer |
JPH05205084A (en) * | 1992-01-23 | 1993-08-13 | Tokyo Electric Co Ltd | Bar code printer |
JP2006102961A (en) * | 2004-09-30 | 2006-04-20 | Seiko Epson Corp | Printer and its printing control method |
JP2006198951A (en) * | 2005-01-21 | 2006-08-03 | Ricoh Printing Systems Ltd | Printing control method for dot line printer |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013230662A (en) * | 2012-05-02 | 2013-11-14 | Seiko Epson Corp | Recording control device, recording device and control method of recording device |
JP2014182692A (en) * | 2013-03-21 | 2014-09-29 | Seiko Epson Corp | Print control program, print control device, and print control method |
WO2015033702A1 (en) | 2013-09-04 | 2015-03-12 | サトーホールディングス株式会社 | Printer and printing method |
US9586420B2 (en) | 2013-09-04 | 2017-03-07 | Sato Holdings Kabushiki Kaisha | Printer and method for printing |
JP2018129934A (en) * | 2017-02-08 | 2018-08-16 | 東芝テック株式会社 | Conveyance speed controller |
JP2019018532A (en) * | 2017-07-21 | 2019-02-07 | 東芝テック株式会社 | Printer |
JP7012476B2 (en) | 2017-07-21 | 2022-01-28 | 東芝テック株式会社 | Printer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2009297998A (en) | Thermal printer and control method of thermal printer | |
JP2009298036A (en) | Thermal printer, method for determining printing speed and program for determining printing speed | |
US8035672B2 (en) | Printing apparatus | |
EP1788476A1 (en) | Document processing apparatus | |
JP5193692B2 (en) | Printing apparatus and printing apparatus control method | |
JP7089219B2 (en) | Control programs, information processing equipment, and systems | |
US10046577B2 (en) | Printing device, printing system, and control method of a printing device | |
JP5742526B2 (en) | Printing device | |
US9597908B2 (en) | Printer displays heating elements status and sets a check range to determine whether the heating elements is normal or abnormal | |
JP7243484B2 (en) | Control program and information processing device | |
JP2012192575A (en) | Printer, and print history management program | |
JP2009297997A (en) | Printer and control method of printer | |
JP5768965B2 (en) | Printer apparatus and program | |
JP2013091214A (en) | Printer and printing method | |
JP2006240226A (en) | Label preparing method, printer controlling equipment, program and recording medium | |
JP6303692B2 (en) | Printing apparatus, printing method, and program | |
JP2009160809A (en) | Portable printer | |
JP2016128215A (en) | Printer and control method of the same | |
US20230229880A1 (en) | Printing apparatus | |
US11880618B2 (en) | Printing apparatus | |
US11029904B2 (en) | Printing apparatus capable of converting image data | |
JP6314650B2 (en) | Display device and printing device | |
US20210402811A1 (en) | Thermal printer | |
JP2024033394A (en) | editing program | |
JPH10151810A (en) | Method for controlling label printer and label printer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100901 |
|
A977 | Report on retrieval |
Effective date: 20120921 Free format text: JAPANESE INTERMEDIATE CODE: A971007 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120925 |
|
A02 | Decision of refusal |
Effective date: 20130205 Free format text: JAPANESE INTERMEDIATE CODE: A02 |