JP7192476B2 - PRINTING DEVICE, PROGRAM AND CONTROL METHOD - Google Patents
PRINTING DEVICE, PROGRAM AND CONTROL METHOD Download PDFInfo
- Publication number
- JP7192476B2 JP7192476B2 JP2018236362A JP2018236362A JP7192476B2 JP 7192476 B2 JP7192476 B2 JP 7192476B2 JP 2018236362 A JP2018236362 A JP 2018236362A JP 2018236362 A JP2018236362 A JP 2018236362A JP 7192476 B2 JP7192476 B2 JP 7192476B2
- Authority
- JP
- Japan
- Prior art keywords
- printing
- time
- turned
- thermal head
- 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.)
- Active
Links
Images
Description
本明細書は、印刷装置、プログラム、及び、制御方法に関する。 The present specification relates to a printing apparatus, program, and control method.
従来、サーミスタを搭載していないサーマルヘッドを使用する印刷装置は、サーミスタの代わりに印刷データの黒字率によって通電時間を制御している。このような印刷装置は、印刷終了後に一定時間ごとに、印刷装置のタイマーにより黒字率の減算処理を行うことで、時間が経っても適切な黒字率となるように処理している。 Conventionally, a printing apparatus using a thermal head that does not have a thermistor controls the energization time based on the black ratio of print data instead of using the thermistor. In such a printing apparatus, the timer of the printing apparatus performs subtraction processing of the surplus rate at regular time intervals after the end of printing, so that the surplus rate is maintained at an appropriate rate over time.
例えば、サーマルヘッドを使用する印刷装置において、時間経過とともに、サーマルプリントヘッド素子へのエネルギー提供に対し、そのサーマルプリントヘッド素子の熱応答をモデル化する技術が開示されている(例えば、特許文献1参照)。
For example, in a printing apparatus using a thermal head, there is disclosed a technique of modeling the thermal response of the thermal print head element to energy supply to the thermal print head element over time (for example,
しかしながら、特許文献1に記載の印刷装置では、印刷装置の電源をオフにするとタイマーは停止してしまい、時間経過が正しくカウントされない場合には適切な熱応答ができない場合があった。
However, in the printing apparatus described in
以上のような実情を踏まえ、本発明の一側面に係る目的は、印刷装置で正確な時間カウントが行われなくても、サーマルヘッドの通電時間を適切に制御することができる技術を提供することである。 In view of the circumstances as described above, it is an object of one aspect of the present invention to provide a technique capable of appropriately controlling the energization time of the thermal head even if the printing apparatus does not accurately count the time. is.
本発明に係る第1の態様の印刷装置は、発熱素子を有し、前記発熱素子に対し通電を行うことにより被印刷媒体に印刷を行うサーマルヘッドと、印刷データの黒字率によって前記サーマルヘッドの通電時間を制御する制御手段と、を備え、前記制御手段は、印刷装置の電源がOFFされる際に、前記印刷装置の電源がOFFされるときの第1時刻と、直近の印刷が終了したときから前記印刷装置の電源がOFFされるときまでの時間分だけ前記直近の印刷での黒字率から所定の調整値が減算された残存値と、を記憶部に記憶させておき、前記印刷装置の電源のOFF後に電源が再度ONされて最初の印刷が実行される際に、前記最初の印刷が実行される第2時刻を時刻情報を持つ外部装置から取得し、前記第1時刻と前記第2時刻との差と、前記残存値と、に基づいて前記最初の印刷を実行する際の前記サーマルヘッドの通電時間を制御する、ことを特徴とする。
また、本発明に係る第2の態様の印刷装置は、発熱素子を有し、前記発熱素子に対し通電を行うことにより被印刷媒体に印刷を行うサーマルヘッドと、印刷データの黒字率によって前記サーマルヘッドの通電時間を制御する制御手段と、を備え、前記制御手段は、印刷装置の電源がOFFされる際に、直近の印刷時の時刻と前記直近の印刷時の黒字率とを外部装置の記憶部に記憶させておき、前記印刷装置の電源のOFF後に電源が再度ONされて最初の印刷が実行される際に、前記直近の印刷時の時刻と前記直近の印刷時の黒字率とを前記最初の印刷時の時刻とともに前記外部装置から取得し、前記直近の印刷時の時刻と前記最初の印刷時の時刻との差と、前記直近の印刷時の黒字率と、に基づいて前記最初の印刷時での前記サーマルヘッドの通電時間を制御する、ことを特徴とする。
A printing apparatus according to a first aspect of the present invention includes a thermal head that has a heating element, and performs printing on a print medium by energizing the heating element; a control means for controlling an energization time, wherein the control means controls a first time when the power supply of the printing apparatus is turned off and the time when the most recent printing is completed. and a remaining value obtained by subtracting a predetermined adjustment value from the surplus rate in the most recent printing for the time from when the printer is turned off, and a residual value obtained by subtracting a predetermined adjustment value from the printing apparatus . When the power is turned on again after the power is turned off and the first printing is executed, a second time at which the first printing is executed is acquired from an external device having time information, and the first time and the first 2 time and the residual value, controlling the energization time of the thermal head when executing the first printing .
Further, a printing apparatus according to a second aspect of the present invention includes a thermal head that has a heating element and performs printing on a printing medium by energizing the heating element, and the thermal head that performs printing on a printing medium according to the print data surplus rate. and a control means for controlling the energization time of the head, wherein the control means, when the power supply of the printing apparatus is turned off, updates the time of the most recent printing and the profit rate of the most recent printing to the external apparatus. stored in a storage unit, and when the power of the printing apparatus is turned off and then turned on again to execute the first printing, the time of the most recent printing and the profit rate of the most recent printing are stored. Acquired from the external device along with the time of the first printing, and based on the difference between the time of the most recent printing and the time of the first printing, and the profit rate of the most recent printing and controlling the energization time of the thermal head during printing.
本発明に係る第1の態様のプログラムは、発熱素子を有し前記発熱素子に対し通電を行うことにより被印刷媒体に印刷を行うサーマルヘッドを備えた印刷装置のコンピュータを、印刷データの黒字率によって前記サーマルヘッドの通電時間を制御する制御手段として機能させ、前記制御手段は、前記印刷装置の電源がOFFされる際に、前記印刷装置の電源がOFFされるときの第1時刻と、直近の印刷が終了したときから前記印刷装置の電源がOFFされるときまでの時間分だけ前記直近の印刷での黒字率から所定の調整値が減算された残存値と、を記憶部に記憶させておき、前記印刷装置の電源のOFF後に電源が再度ONされて最初の印刷が実行される際に、前記最初の印刷が実行される第2時刻を時刻情報を持つ外部装置から取得し、前記第1時刻と前記第2時刻との差と、前記残存値と、に基づいて前記最初の印刷を実行する際の前記サーマルヘッドの通電時間を制御する、ことを特徴とする。
また、本発明に係る第2の態様のプログラムは、発熱素子を有し前記発熱素子に対し通電を行うことにより被印刷媒体に印刷を行うサーマルヘッドを備えた印刷装置のコンピュータを、印刷データの黒字率によって前記サーマルヘッドの通電時間を制御する制御手段として機能させ、前記制御手段は、前記印刷装置の電源がOFFされる際に、直近の印刷時の時刻と前記直近の印刷時の黒字率とを外部装置の記憶部に記憶させておき、前記印刷装置の電源のOFF後に電源が再度ONされて最初の印刷が実行される際に、前記直近の印刷時の時刻と前記直近の印刷時の黒字率とを前記最初の印刷時の時刻とともに前記外部装置から取得し、前記直近の印刷時の時刻と前記最初の印刷時の時刻との差と、前記直近の印刷時の黒字率と、に基づいて前記最初の印刷時での前記サーマルヘッドの通電時間を制御する、ことを特徴とする。
According to a first aspect of the present invention, there is provided a program for controlling a computer of a printing device having a thermal head that has a heating element and performs printing on a printing medium by energizing the heating element, function as control means for controlling the energization time of the thermal head by means of, when the power supply of the printing apparatus is turned off, the control means includes a first time when the power supply of the printing apparatus is turned off; and a remaining value obtained by subtracting a predetermined adjustment value from the surplus rate in the most recent printing for the time from the end of printing until the power supply of the printing apparatus is turned off, and and obtaining a second time at which the first printing is executed from an external device having time information when the power of the printing device is turned on again after the power is turned off and the first printing is executed, and The energizing time of the thermal head when executing the first printing is controlled based on the difference between the first time and the second time and the remaining value .
Further, a program according to a second aspect of the present invention provides a computer of a printing device having a thermal head that has a heating element and performs printing on a print medium by energizing the heating element to generate print data. Functioning as control means for controlling the energization time of the thermal head according to the surplus rate, the control means controls the most recent printing time and the most recent surplus rate when the printing apparatus is turned off. is stored in the storage unit of the external device, and when the power of the printing device is turned off and then turned on again and the first printing is executed, the time of the most recent printing and the time of the most recent printing and the surplus rate of the first printing are obtained from the external device together with the time of the first printing, the difference between the time of the most recent printing and the time of the first printing, the surplus rate of the most recent printing, and controlling the energization time of the thermal head at the time of the first printing based on.
本発明に係る第1の態様の制御方法は、発熱素子を有し前記発熱素子に対し通電を行うことにより被印刷媒体に印刷を行うサーマルヘッドを備えた印刷装置が実行する制御方法であって、印刷データの黒字率によって前記サーマルヘッドの通電時間を制御する制御処理を含み、前記制御処理は、前記印刷装置の電源がOFFされる際に、前記印刷装置の電源がOFFされるときの第1時刻と、直近の印刷が終了したときから前記印刷装置の電源がOFFされるときまでの時間分だけ前記直近の印刷での黒字率から所定の調整値が減算された残存値と、を記憶部に記憶させておき、前記印刷装置の電源のOFF後に電源が再度ONされて最初の印刷が実行される際に、前記最初の印刷が実行される第2時刻を時刻情報を持つ外部装置から取得し、前記第1時刻と前記第2時刻との差と、前記残存値と、に基づいて前記最初の印刷を実行する際の前記サーマルヘッドの通電時間を制御する、ことを特徴とする。
また、本発明に係る第2の態様の制御方法は、発熱素子を有し前記発熱素子に対し通電を行うことにより被印刷媒体に印刷を行うサーマルヘッドを備えた印刷装置が実行する制御方法であって、印刷データの黒字率によって前記サーマルヘッドの通電時間を制御する制御処理を含み、前記制御処理は、前記印刷装置の電源がOFFされる際に、直近の印刷時の時刻と前記直近の印刷時の黒字率とを外部装置の記憶部に記憶させておき、前記印刷装置の電源のOFF後に電源が再度ONされて最初の印刷が実行される際に、前記直近の印刷時の時刻と前記直近の印刷時の黒字率とを前記最初の印刷時の時刻とともに前記外部装置から取得し、前記直近の印刷時の時刻と前記最初の印刷時の時刻との差と、前記直近の印刷時の黒字率と、に基づいて前記最初の印刷時での前記サーマルヘッドの通電時間を制御する、ことを特徴とする。
A control method according to a first aspect of the present invention is a control method executed by a printing apparatus having a thermal head that has heating elements and performs printing on a printing medium by energizing the heating elements. and control processing for controlling the energization time of the thermal head according to the surplus ratio of the print data, wherein the control processing is performed when the printing apparatus is powered off when the printing apparatus is powered off. 1 time, and a remaining value obtained by subtracting a predetermined adjustment value from the profit rate in the most recent printing for the time from the end of the most recent printing to the time when the power supply of the printing apparatus is turned off. and storing the second time at which the first printing is executed from an external device having time information when the power of the printing device is turned on again after the power is turned off and the first printing is executed. and controlling the energization time of the thermal head when executing the first printing based on the difference between the first time and the second time and the remaining value .
A control method according to a second aspect of the present invention is a control method executed by a printing apparatus having a thermal head that has heating elements and performs printing on a printing medium by energizing the heating elements. and control processing for controlling the energization time of the thermal head according to the surplus ratio of print data. The surplus rate at the time of printing is stored in the storage unit of the external device, and when the power of the printing device is turned off and then turned on again to execute the first printing, the time of the most recent printing and the time of printing are stored. The black ratio at the most recent printing is obtained from the external device along with the time at the first printing, and the difference between the time at the most recent printing and the time at the first printing, and the time at the most recent printing. and the surplus rate of the thermal head is controlled during the initial printing.
上記の態様によれば、印刷装置で正確な時間カウントが行われなくても、サーマルヘッドの通電時間を適切に制御することができる。 According to the above aspect, it is possible to appropriately control the energization time of the thermal head even if the printing apparatus does not accurately count the time.
図1は、本実施形態に係る印刷装置1と印刷制御装置50(外部装置)を含む印刷システム100の構成を例示した図である。図2は、印刷装置1の開閉蓋3を開放した状態の斜視図である。図1に示す印刷システム100は、印刷装置1と、印刷装置1へ印刷データ(印字データ)を送信する印刷制御装置50と、を含んでいる。印刷装置1と印刷制御装置50は、無線通信または有線通信でデータをやり取りする。印刷装置1は、被印刷媒体Mに印刷を行う印刷装置である。本実施形態においては、印刷装置1の電源がONされると、第1の印刷の後に第2の印刷が実行される。従って、第1の印刷は、第2の印刷の直前に行われる印刷である。また、第2の印刷は、第1の印刷の後に行われる印刷である。
FIG. 1 is a diagram illustrating the configuration of a
なお、本実施形態において、被印刷媒体M(印刷テープ)の搬送される方向を「搬送方向X」とし、この搬送方向Xに直交する被印刷媒体Mの幅方向を「媒体幅方向Y」とする。これらX方向、及びY方向は、互いに直交する。 In the present embodiment, the direction in which the print medium M (printing tape) is transported is defined as the "transport direction X", and the width direction of the print medium M orthogonal to the transport direction X is defined as the "medium width direction Y". do. These X direction and Y direction are orthogonal to each other.
印刷装置1は、被印刷媒体Mに印刷を行うサーマルヘッドを備える印刷装置であり、例えば、長尺な帯状の被印刷媒体Mに、シングルパス方式で印刷を行うラベルプリンタである。印刷装置1に使用される被印刷媒体Mは、例えば、基材と、基材に塗布された粘着材(のり面)と、粘着材を介して基材に対し剥離可能に貼り付けられた剥離紙と、を有する長尺状のテープ部材である。なお、被印刷媒体Mは、剥離紙なしの長尺状のテープ部材であってもよい。
The
図1、図2に示すように、印刷装置1は、装置筐体2と、この装置筐体2に開閉自在に取り付けられた開閉蓋3を備える。図2に示すように、装置筐体2は、内部にテープカセット30を収納するカセット収納部17を備えている。
As shown in FIGS. 1 and 2, the
装置筐体2の上面には、電源ボタン25の他、各種操作を行う操作ボタン26a,26b,26c(以下、「操作ボタン26」と呼ぶ)、開閉蓋3を開放させる蓋開閉ボタン27等が配置されている。図示せぬ電池またはアダプタが接続されている状態で電源ボタン25が押下されると、電源回路40(図3参照)に信号が送られて印刷装置1の電源がONになる。そして、電源がONの状態で、再び電源ボタン25が押下されると、電源回路40に信号が送られて印刷装置1の電源がOFFになる。また、操作ボタン26が押下されると、制御回路5(図3参照)に信号が送られて、各ボタンに応じた処理が行われる。
On the upper surface of the
また、図示しないが、装置筐体2には、外部機器接続端子、記憶媒体挿入口等が設けられている。
Although not shown, the
開閉蓋3は、カセット収納部17の上部を覆うように開閉可能に配置されている。
The opening/
また、開閉蓋3には、この開閉蓋3が閉じた状態でもカセット収納部17にテープカセット30(図2参照)が収納されているか否かを目視で確認可能とするために、窓3aが形成されている。
The opening/
また、装置筐体2の側面であって、被印刷媒体Mの搬送方向Xの下流側に位置する部分には、排出口2aが形成されている。印刷装置1内でサーマルヘッド10による印刷が行われた被印刷媒体Mは、排出口2aから装置外へ排出される。また、カセット収納部17には、テープカセット30が収容するテープ(被印刷媒体M)の幅を検出するためのテープ幅検出スイッチ24が設けられている。
A
テープ幅検出スイッチ24は、テープカセット30の形状に基づいて被印刷媒体Mの幅(以下、「印刷テープ幅」ともいう)を検出するためのスイッチである。テープ幅検出スイッチ24は、カセット収納部17に複数設けられている。印刷テープ幅の異なるテープカセット30は、複数のテープ幅検出スイッチ24をそれぞれ異なる組み合わせで押下するように構成されている。これにより、後述する制御回路5(図3参照)が、押下されたテープ幅検出スイッチ24の組み合わせから、テープカセット30の種類を特定し、被印刷媒体Mの幅(印刷テープ幅)を検出する。
The tape
カセット収納部17には、さらに、複数の発熱素子を有し、被印刷媒体Mに印刷を行うサーマルヘッド10と、被印刷媒体Mを搬送する搬送機構であるプラテンローラ21が設けられている。
Further, the
サーマルヘッド10は、被印刷媒体Mに印刷を行う印刷部である。サーマルヘッド10は、被印刷媒体Mの搬送方向に直交する主走査方向に配列された複数の発熱素子10a(図3参照)を有し、発熱素子10aを加熱することにより被印刷媒体Mに一ラインずつ印刷を行う。
The
プラテンローラ21は、被印刷媒体Mを搬送する搬送部である。プラテンローラ21は、ステッピングモータ12(図3参照)の回転により回転する。なお、ステッピングモータ12の代わりに、直流(DC)モータなど他のモータが用いられても良い。プラテンローラ21は、テープカセット30から繰り出された被印刷媒体Mをサーマルヘッド10との間に狭持しながら回転することで、被印刷媒体Mを搬送方向に搬送する。
The
サーマルヘッド10とプラテンローラ21の間を通過した印刷済みの被印刷媒体Mは、ハーフカット機構15またはフルカット機構16で切断され、排出口2aから排出される。なお、排出口2aは、被印刷媒体Mの被印刷面が、印刷装置1が載置された面と直交するように被印刷媒体Mを排出する。
The printed print medium M that has passed between the
図3は、印刷装置1のハードウェア構成を示したブロック図である。印刷装置1は、上述した構成に加えて、図3に示すように、制御回路5、フラッシュメモリ(Flush Memory)6、RAM(Random Access Memory)7、通信インターフェース(IF)8、ヘッド駆動回路9、搬送用モータ駆動回路11(搬送装置)、ステッピングモータ12、カッターモータ駆動回路13、カッターモータ14、及び、電源回路40を備える。なお、少なくとも制御回路5、フラッシュメモリ6、及びRAM7は、印刷装置1のコンピュータを構成する。また、フラッシュメモリ6、RAM7は、印刷装置1の記憶部を構成する。
FIG. 3 is a block diagram showing the hardware configuration of the
制御回路5は、例えばCPU(Central Processing Unit)などのプロセッサ5aを含む。制御回路5は、フラッシュメモリ6に記憶されているプログラムをRAM7に展開し実行することで、印刷装置1の各部の動作を制御する制御手段である。通信インターフェース8は、有線通信または無線通信により外部装置(例えば、印刷制御装置50)との間でデータを授受する。通信インターフェース8は、アンテナとRF(Radio Frequency)部とベースバンド部とを含む通信モジュールであり、例えば、Wi-Fiモジュール、Bluetooth(登録商標)モジュール、BLEモジュールである。なお、通信インターフェース8は、無線通信モジュールに限られず、有線通信を行うためのインターフェースであってもよい。
The
制御回路5は、例えば、ストローブ信号を含む制御信号(ラッチ信号、クロック信号)と印刷データをヘッド駆動回路9へ供給し、ヘッド駆動回路9を介してサーマルヘッド10を制御する。ストローブ信号は、サーマルヘッド10の発熱素子10aに電圧を印加する通電時間を指定する制御信号である。
The
また、制御回路5は、モータ駆動回路(搬送用モータ駆動回路11、カッターモータ駆動回路13)を介してモータ(ステッピングモータ12、カッターモータ14)を制御する。
The
制御回路5は、被印刷媒体Mに印刷する印刷内容の情報を示す印刷データ、及び、印刷時の時刻を印刷制御装置50から受信する。例えば、制御回路5は、印刷時の時刻として、第1の印刷の印刷時に印刷装置1へ印刷指示を送る時刻を印刷制御装置50から受信する。
The
フラッシュメモリ6は、被印刷媒体Mに印刷を行う印刷プログラム、印刷プログラムの実行に必要な各種データ(例えば、フォント等)を記憶する。フラッシュメモリ6は、制御回路5によって読取り可能なプログラムが記憶された記憶媒体としても機能する。フラッシュメモリ6は、黒字率記憶部6a、黒字率係数記憶部6bを含む。黒字率記憶部6aは、被印刷媒体Mの第1の印刷の印刷時の時刻と第1の印刷の印刷終了後の黒字率とを記憶する。黒字率は、印刷データのラインごとのドットデータ、その前後のいずれかのラインごとのドットデータまたはそれらの組み合わせに基づいた加熱ドットの比率である。
The flash memory 6 stores a printing program for printing on the printing medium M and various data (for example, fonts) necessary for executing the printing program. The flash memory 6 also functions as a storage medium storing programs readable by the
黒字率係数記憶部6bは、黒字率に応じて掛ける黒字率係数を記憶する。図5は、黒字率係数記憶部6bに記憶されている黒字率係数を示す図である。黒字率係数は、印刷データの黒字率に応じて掛ける係数である。黒字率係数記憶部6bには、黒字率と印刷濃度とに応じて、それぞれ黒字率係数の値が記憶されている。図5に示す黒字率は、16進数で示すものである。図5の例では、印刷濃度は1~5の5段階に設定され、“1”に近い設定ほど濃く、“5”に近い濃度ほど薄い濃度で印刷される。
The surplus rate
制御回路5は、印刷装置1の電源のON中は、第1の印刷終了後、一定時間ごとに黒字率を減算する。本実施形態においては、制御回路5は、“5msec”ごとに黒字率を“6”減算する。このように制御回路5が黒字率の減算を行うことにより、時間が経過しても適切な黒字率となるように処理される。但し、印刷装置1の電源をOFFにすると、黒字率はクリアされる。したがって、高黒字率の印刷データを印刷後、すぐに印刷装置1の電源をOFFにし、その後、すぐに再度印刷装置1の電源をONにし、印刷を開始すると、本来は高い黒字率を保持した状態であるため、通電時間を減らす必要がある。しかしながら、印刷装置1の電源のOFFに伴い黒字率がクリアされ、電源のON前の黒字率が正しく保持されていないため、必要以上に長い通電時間で印刷してしまうおそれがある。
While the
そこで、本実施形態においては、制御回路5は、印刷装置1の電源がOFFされる際に、第1の印刷時の時刻と第1の印刷の印刷終了後の黒字率とを黒字率記憶部6aに記憶する。例えば、制御回路5は、第1の印刷時の時刻として第1の印刷時に印刷制御装置50から印刷装置1へ印刷指示を送る時刻を黒字率記憶部6aに記憶する。印刷制御装置50は、印刷指示とともに時刻の情報を印刷装置1へ送信するだけでよいので、印刷処理が複雑となるのを防ぐことができる。
Therefore, in the present embodiment, when the
以下の条件で印刷する場合について説明する。
・黒字率の減算率:5msecごとに黒字率を6減算
・印刷装置1の電源がOFFされる前の第1の印刷時の時刻(T0):12時00分00秒
・第1の印刷の印刷終了後の黒字率(B0):22000h
・第2の印刷の印刷時の時刻(T1):12時00分16秒
この場合、減算される黒字率(B1)は、式(1)で表される。
減算される黒字率(B1)=(T1-T0)×1000÷5×6・・・(1)
=4B00h
正しい黒字率(B2)は、式(2)で表される。
正しい黒字率(B2)=(B0-B1)・・・(2)
=1D500h
ここで、印刷濃度が“3”である場合には、制御回路5は、図5の黒字率係数記憶部6bを参照し、正しい黒字率(B2)“1D500h”、印刷濃度”3”に対応する黒字率係数の値として“0.80”を選択する。この場合、制御回路5は、80%のエネルギーで発熱素子10aを加熱して印刷を行うよう通電時間を制御する。
A case of printing under the following conditions will be described.
・Subtraction rate of the surplus ratio: Subtract 6 from the surplus ratio every 5 msec ・Time (T0) at the time of the first printing before the power of the
-Time (T1) at the time of printing of the second print: 12:00:16 In this case, the surplus ratio (B1) to be subtracted is represented by the formula (1).
Surplus rate to be subtracted (B1) = (T1-T0) x 1000/5 x 6 (1)
= 4B00h
The correct surplus rate (B2) is represented by Equation (2).
Correct surplus rate (B2) = (B0-B1) (2)
= 1D500h
Here, when the print density is "3", the
通信インターフェース8は、有線通信または無線通信により外部装置(例えば、印刷制御装置50)や外部サーバの記憶装置との間で印刷データを授受する。 The communication interface 8 exchanges print data with an external device (for example, the print control device 50) or a storage device of an external server through wired or wireless communication.
ヘッド駆動回路9は、制御回路5から供給された制御信号と印刷データに基づいてサーマルヘッド10を駆動する。サーマルヘッド10は、主走査方向に配列された複数の発熱素子10aを有する印刷ヘッドである。具体的には、制御回路5は、印刷データの黒字率によってサーマルヘッド10の通電時間を制御する。そして、ヘッド駆動回路9が、制御回路5から供給されたストローブ信号により指定される通電時間中に、ヘッド駆動回路9から出力された印刷データに応じて複数の発熱素子10aへ電流を選択的に流すことで、複数の発熱素子10aのうち選択された発熱素子10aが発熱してインクリボンを加熱する。これにより、サーマルヘッド10は、熱転写により被印刷媒体Mに1ラインずつ印刷を行う。即ち、印刷装置1は、サーマルラインプリンタである。
The head drive circuit 9 drives the
搬送用モータ駆動回路11は、ステッピングモータ12を駆動する。ステッピングモータ12は、プラテンローラ21を回転させる。プラテンローラ21は、ステッピングモータ12の動力によって回転し、被印刷媒体Mの長手方向(副走査方向、搬送方向)に被印刷媒体Mを搬送する搬送機構である。
A transport motor drive circuit 11 drives a stepping
カッターモータ駆動回路13は、カッターモータ14を駆動する。ハーフカット機構15及びフルカット機構16は、カッターモータ14の動力によって動作し、被印刷媒体Mをハーフカットまたはフルカットにより切断する。フルカットとは、被印刷媒体Mの基材を剥離紙とともに幅方向に沿って切断する動作のことであり、ハーフカットは、基材のみを幅方向に沿って切断する動作のことである。
A cutter
電源回路40は、図示せぬ電池またはアダプタからの直流電圧から出力電圧を生成し、印刷装置1の各部に電力を供給する電源部である。
The
図4は、印刷制御装置50のハードウェア構成を示したブロック図である。印刷制御装置50は、図1及び図4に示すように、表示部51と入力部52を備える、印刷制御装置50は、例えば、スマートフォン、タブレット端末、PC(Personal Computer)などのコンピュータである。表示部51は、例えば、液晶ディスプレイであっても、有機エレクトロルミネッセンス(有機EL)ディスプレイであってもよい。入力部52は、例えば、タッチパネルである。
FIG. 4 is a block diagram showing the hardware configuration of the
印刷制御装置50は、上述の構成に加えて、表示駆動回路53、通信インターフェース(IF)54、フラッシュメモリ55、RAM56、制御回路57を備える。表示駆動回路53は、例えば、液晶表示ドライバ回路、有機EL表示ドライバ回路である。制御回路57は、プロセッサ58を備える。制御回路57は、RTC(Real Time Clock)機能を有する演算部であり、アプリケーションプログラムを実行することで、正確な時刻情報を演算して取得することができる。また、制御回路57は、印刷装置1において印刷する印刷内容を表示部51に表示したり、入力部52に対するユーザの操作を受け付けたりする。制御回路57は、フラッシュメモリ55に記憶されているプログラムをRAM56に展開し実行することで、印刷制御装置50の各部の動作を制御する。なお、印刷制御装置50は、制御回路57とは異なる、RTC機能を有する集積回路から正確な時刻情報を取得してもよい。
The
フラッシュメモリ55は、被印刷媒体Mに印刷を行う印刷プログラム、印刷プログラムの実行に必要な各種データ(例えば、フォント等)を記憶する。
The
フラッシュメモリ55は、制御回路57によって読取り可能なプログラムが記憶された記憶媒体としても機能する。RAM56は、印刷内容のパターンを示す印刷データを記憶する印刷データ記憶部を含む。RAM56は、表示データを記憶する表示データ記憶部を含む。通信インターフェース54は、有線通信または無線通信により外部装置(例えば、印刷装置1)との間でデータを授受する。
The
図6を参照して、本実施形態の印刷装置1の制御方法を示す印刷処理について説明する。図6は、本実施形態の印刷装置1の印刷処理のフローチャートである。
A print process showing a control method of the
本実施形態の印刷処理では、制御回路5は、印刷装置1の電源のONの指示に基づき印刷装置1のアプリケーションプログラムを実行して、図6に示す印刷処理を開始する。
In the printing process of this embodiment, the
制御回路5は、印刷処理の開始時に印刷制御装置50と無線通信を行い、印刷指示と印刷データを受信するとともに、第2の印刷の印刷時の時刻(T1)を取得する(ステップS11)。第2の印刷の印刷時の時刻(T1)とは、印刷制御装置50が印刷装置1へ第2の印刷の印刷指示を送る時刻である。なお、第2の印刷の印刷時の時刻(T1)は、印刷制御装置50が印刷装置1へ第2の印刷の印刷データを送る時刻であってもよい。制御回路5は、第1の印刷時の時刻(T0)が黒字率記憶部6aにあるか否かを判定する(ステップS12)。第1の印刷時の時刻(T0)が黒字率記憶部6aにない場合(ステップS12なし)には、ステップS13~S16の処理を省略し、処理はステップS17に進む。
The
これに対し、第1の印刷時の時刻(T0)が黒字率記憶部6aにある場合(ステップS12あり)には、制御回路5は、第2の印刷の印刷時の時刻(T1)と、印刷装置1の電源がOFFされる前の第1の印刷時の時刻(T0)との時刻差(T1-T0)を算出する(ステップS13)。印刷装置1の電源がOFFされる前の第1の印刷時の時刻(T0)が12時00分00秒、第2の印刷の印刷時の時刻(T1)が12時00分16秒である場合、時刻差(T1-T0)は“16sec”となる。
On the other hand, if the time (T0) at the time of the first printing is in the black
制御回路5は、式(1)により減算される黒字率(B1)を算出する(ステップS14)。例えば、式(1)にステップS13で算出した時刻差(T1-T0)“16sec”を代入すると、減算される黒字率(B1)=16×1000÷5×6=4B00hとなる。
The
制御回路5は、式(2)により正しい黒字率(B2)を算出する(ステップS15)。例えば、予め保存されている前回の印刷、すなわち第1の印刷の印刷終了後の黒字率(B0)“22000h”から、ステップS14で算出した減算される黒字率(B1)“4B00h”を減算した値を代入すると、正しい黒字率(B2)=22000h-4B00h=1D500hとなる。制御回路5は、図5の黒字率係数記憶部6bを参照し、印刷濃度とステップS15で算出した正しい黒字率(B2)とに対応する黒字率係数を選択する。例えば、印刷濃度が“3”である場合、制御回路5は、図5の黒字率係数記憶部6bを参照し、黒字率“1D500h”、印刷濃度“3”に対応する“0.80”を黒字率係数の値として選択する。
The
制御回路5は、黒字率記憶部6aに記憶された第1の印刷時の時刻(T0)と第1の印刷の印刷終了後の黒字率(B0)をクリアする(ステップS16)。制御回路5は、ステップS15において正しい黒字率(B2)が算出され、図5の黒字率係数記憶部6bを参照して黒字率係数が選択されている場合には、第2の印刷の印刷時の印刷データを黒字率係数を掛けたエネルギーで発熱素子10aを加熱するように通電時間を制御して印刷する(ステップS17)。例えば、黒字率係数の値として“0.80”が選択された場合には、制御回路5は、80%のエネルギーで発熱素子10aを加熱するように通電時間を制御して印刷を行う。また、制御回路5は、ステップS12において、第1の印刷時の時刻(T0)が黒字率記憶部6aにないと判定された場合には、第2の印刷の印刷時の印刷データを黒字率係数を掛けないエネルギー、すなわち、素のエネルギーで発熱素子10aを加熱するように通電時間を制御して印刷する(ステップS17)。
The
制御回路5は、ステップS17で印刷した印刷データに基づき黒字率を算出し、新たな第1の印刷の印刷終了後の黒字率(B3)を取得する(ステップS18)。印刷データに基づき黒字率を算出する方法については公知の技術を採用することができるため説明を省略する。この処理が終了すると印刷処理は終了となる。
The
次に、図7を参照して、本実施形態の印刷装置1のOFF処理について説明する。図7は、本実施形態の印刷装置1のOFF処理のフローチャートである。
Next, with reference to FIG. 7, the OFF processing of the
本実施形態の印刷処理では、制御回路5は、印刷装置1の電源のOFFの指示に基づき印刷装置1のアプリケーションプログラムを実行して、図7に示すOFF処理を開始する。
In the printing process of the present embodiment, the
制御回路5は、ステップS11で取得した第2の印刷の印刷時の時刻(T1)を印刷装置1の電源がOFFされる前の第1の印刷時の時刻(T0)として黒字率記憶部6aに記憶する(ステップS21)。制御回路5は、ステップS18で取得した新たな第1の印刷の印刷終了後の黒字率(B3)を第1の印刷の印刷終了後の黒字率(B0)として黒字率記憶部6aに記憶する(ステップS22)。この処理が終了するとOFF処理は終了となる。
The
上述の実施形態によれば、制御回路5は、印刷装置1の電源がONされ、第2の印刷の印刷が実行される際に、第2の印刷の印刷時の時刻を正確な時刻情報を取得可能な印刷制御装置50から取得する。そして、制御回路5は、第1の印刷時の時刻と印刷制御装置50から取得した第2の印刷の印刷時の時刻との差と、第1の印刷の印刷終了後の黒字率とに基づいて、第2の印刷の印刷データを印刷する際の黒字率を算出する。したがって、印刷後に印刷装置1の電源をOFFにした場合に印刷装置1で正確な時間カウントが行われなくても、正確な時刻情報を取得可能な印刷制御装置50から取得した時刻に基づいて黒字率を算出することで、適切な黒字率を算出することができる。これにより、サーマルヘッド10の通電時間を適切に制御することができる。
According to the above-described embodiment, when the power of the
また、制御回路5は、印刷装置1の電源がOFFされる際に、第1の印刷時の時刻と第1の印刷の印刷終了後の黒字率とを印刷装置1の黒字率記憶部6aに記憶する。そして、制御回路5は、黒字率記憶部6aに記憶されている第1の印刷時の時刻と印刷制御装置50から取得した第2の印刷の印刷時の時刻との差と、第1の印刷の印刷終了後の黒字率とに基づいて、第2の印刷の印刷データを印刷する際の黒字率を算出する。これにより、印刷制御装置50との通信を最小限にしつつ、サーマルヘッドの通電時間を適切に制御することができる。
Further, when the power of the
上述の実施形態では、制御回路5は、印刷装置1のフラッシュメモリ6に被印刷媒体Mの第1の印刷時の時刻と第1の印刷の印刷終了後の黒字率とを記憶しているがこの限りではない。例えば、制御回路5は、印刷装置1の電源がOFFされる際に、第1の印刷時の時刻と第1の印刷の印刷終了後の黒字率とを印刷制御装置50の制御回路57を介して、印刷制御装置50のフラッシュメモリ(記憶部)55に記憶してもよい。この場合、印刷制御装置50の制御回路57は、図示せぬサーバに、第1の印刷時の時刻と第1の印刷の印刷終了後の黒字率の情報を、印刷装置1を一意に識別できる識別子ともにアップロードする。そして、印刷装置1の電源がONされ、第2の印刷の印刷が実行される際に、印刷制御装置50は印刷装置1を一意に識別できる識別子に基づいてサーバから第1の印刷時の時刻と第2の印刷の印刷時の時刻と第1の印刷の印刷終了後の黒字率の情報をフラッシュメモリ55にダウンロードする。印刷装置1の制御回路5は、第1の印刷時の時刻と第2の印刷の印刷時の時刻と第1の印刷の印刷終了後の黒字率とを印刷制御装置50から取得し、取得した第1の印刷時の時刻と第2の印刷の印刷時の時刻との差と、第1の印刷の印刷終了後の黒字率とに基づいて、第2の印刷の印刷データを印刷する際の黒字率を算出する。これにより、記憶容量が少ない印刷装置1においても黒字率の制御を行うことができ、サーマルヘッドの通電時間を適切に制御することができる。
In the above embodiment, the
上述の実施形態では、制御回路5は、第1の印刷時の時刻として第1の印刷時に印刷制御装置50から印刷装置1へ印刷指示を送る時刻を黒字率記憶部6aに記憶しているがこの限りではない。例えば、制御回路5は、第1の印刷時の時刻として第1の印刷時に印刷制御装置50から印刷装置1へ印刷データを送る時刻を黒字率記憶部6aに記憶してもよい。これにより、印刷制御装置50は、印刷データとともに時刻の情報を印刷装置1へ送信するだけでよいので、印刷処理が複雑となるのを防ぐことができる。
In the above-described embodiment, the
上述の実施形態では、ステップS11において、制御回路5は、印刷指示と印刷データを受信するとともに、第2の印刷の印刷時の時刻(T1)を取得しているが、制御回路5は、ステップS17において印刷制御装置50から第1の印刷の印刷終了時の時刻(T1’)を取得してもよい。制御回路5は、新たな第1の印刷の印刷終了時の時刻(T1’)を、第1の印刷が印刷装置1側で終了したタイミングで印刷制御装置50から取得する。この場合、制御回路5は、ステップS21において、取得した印刷終了時の時刻(T1’)を印刷装置1の電源がOFFされる前の新たな第1の印刷時の時刻(T0)として黒字率記憶部6aに記憶する。これにより、より正確な印刷時の時刻に基づいて黒字率を算出することができるため、サーマルヘッド10の通電時間をより適切に制御することができる。
In the above-described embodiment, in step S11, the
上述の実施形態では、ステップS21において、制御回路5は、ステップS11において取得した印刷時の時刻(T1)を印刷装置1の電源がOFFされる前の第1の印刷の印刷時の時刻(T0)として黒字率記憶部6aに記憶しているが、この限りではない。例えば、制御回路5は、第1の印刷の印刷データから印字長を認識し、認識した印字長と第1の印刷の印字速度とに基づいて算出した印刷時間に、ステップS11において取得した印刷時の時刻(T1)を加算した時刻を第1の印刷の印刷終了時の時刻(T1’’)として算出してもよい。この場合、制御回路5は、算出した印刷終了時の時刻(T1’’)を印刷装置1の電源がOFFされる前の第1の印刷時の時刻(T0)として黒字率記憶部6aに記憶する。これにより、より正確な印刷時の時刻に基づいて黒字率を算出することができるため、サーマルヘッド10の通電時間をより適切に制御することができる。
In the above-described embodiment, in step S21, the
また、第1の印刷の印刷データから印字長を認識し、認識した印字長と印字速度とに基づいて算出した印刷時間から第1の印刷の印刷終了時の時刻を算出する場合には、制御回路5は、第1の印刷の印刷データの印刷濃度に基づいて印字速度を算出してもよい。例えば、印刷濃度が濃い設定の場合には、制御回路5は、遅い印字速度を算出する。これに対し、印刷濃度が薄い設定の場合には、制御回路5は、速い印字速度を算出する。これにより、印刷データの印刷濃度の情報に基づいて印字速度を算出することができるため、黒字率を算出する精度を向上することができ、その結果、サーマルヘッド10の通電時間を適切に制御することができる。
Further, when recognizing the print length from the print data of the first print and calculating the print end time of the first print from the print time calculated based on the recognized print length and print speed, the control The
同様に、第1の印刷の印刷データから印字長を認識し、認識した印字長と印字速度とに基づいて算出した印刷時間から第1の印刷の印刷終了時の時刻を算出する場合には、制御回路5は、第1の印刷の印刷データの黒字率に基づいて印字速度を算出してもよい。例えば、印刷データの黒字率が所定の閾値よりも大きい場合には、制御回路5は、遅い印字速度を算出する。これに対し、印刷データの黒字率が所定の閾値以下の場合には、制御回路5は、早い印字速度を算出する。これにより、印刷データの黒字率の情報に基づいて印字速度を算出することができるため、黒字率を算出する精度を向上することができ、その結果、サーマルヘッド10の通電時間を適切に制御することができる。
Similarly, when recognizing the print length from the print data of the first print and calculating the print end time of the first print from the print time calculated based on the recognized print length and print speed, The
また、印刷データから印字長を認識し、認識した印字長と印字速度とに基づいて算出した印刷時間から第1の印刷の印刷終了時の時刻を算出する場合には、制御回路5は、第1の印刷の印刷データの印刷濃度と第1の印刷の印刷データの黒字率とに基づいて印字速度を算出してもよい。例えば、印刷濃度が濃い設定や印刷データの黒字率が所定の閾値よりも大きい場合には、制御回路5は、遅い印字速度を算出する。これに対し、印刷濃度が薄い設定や印刷データの黒字率が所定の閾値以下の場合には、制御回路5は、速い印字速度を算出する。これにより、印刷データの印刷濃度、及び、黒字率の情報に基づいて印字速度を算出することができるため、黒字率を算出する精度を向上することができ、その結果、サーマルヘッド10の通電時間を適切に制御することができる。
Further, when recognizing the print length from the print data and calculating the print end time of the first print from the print time calculated based on the recognized print length and print speed, the
また、第1の印刷の印刷データの印刷濃度や第1の印刷の印刷データの黒字率に基づいて印字速度を算出する場合には、制御回路5は、第1の印刷の印刷データを実際に印刷した際の印刷制御情報に基づいて第1の印刷の印刷データの濃度と第1の印刷の印刷データの黒字率とを取得してもよい。印刷制御情報とは、第1の印刷の印刷前の予測値ではなくて、第1の印刷の印刷が行われた後、実際にどのような黒字率または印刷濃度で印刷したかの情報を含む。例えば、制御回路5は、ステップS17において印刷した後に、実際に印刷した際の黒字率、及び、印刷濃度の情報を含む印刷制御情報を取得する。これにより、実際の印刷データの印刷濃度、及び、黒字率の情報に基づいて印字速度を算出することができるため、黒字率を算出する精度を向上することができ、その結果、サーマルヘッド10の通電時間をより適切に制御することができる。
Further, when the print speed is calculated based on the print density of the print data for the first print and the black ratio of the print data for the first print, the
制御回路5は、ステップS22において、ステップS18で取得した新たな第1の印刷の印刷終了後の黒字率(B3)を第1の印刷の印刷終了後の黒字率(B0)として黒字率記憶部6aに記憶しているがこの限りではない。例えば、ステップS22の代わりに、制御回路5は、ステップS18で取得した第1の印刷の印刷終了後の黒字率から印刷装置1の電源がOFFされるまでの時間分減算した黒字率(B0’)を黒字率記憶部6aに記憶してもよい。印刷終了後の黒字率から印刷装置1の電源がOFFされるまでの時間分減算した黒字率(B0’)とは、制御回路5が、第1の印刷の印刷終了後、印刷装置1の電源がOFFされるまでの間、一定時間ごとに減算した黒字率である。例えば、制御回路5は、第1の印刷の印刷終了後、5msecごとに黒字率を6減算する。制御回路5は、ステップS21の代わりに、印刷装置1の電源がOFFされる時の時刻(T1’)を黒字率記憶部6aに記憶してもよい。
In step S22, the
この場合、減算される黒字率(B1’)は、式(1’)で表される。
減算される黒字率(B1’)=(T1’-T0)×1000÷5×6・・・(1’)
正しい黒字率(B2’)は、式(2’)で表される。
正しい黒字率(B2’)=(B0’-B1’)・・・(2’)
したがって、制御回路5は、ステップS15の代わりに、制御回路5は、式(2’)により正しい黒字率(B2’)を算出することができる。これにより、第1の印刷の印刷終了後の黒字率から印刷装置1の電源がOFFされるまでの時間分を考慮して黒字率を算出することができるため、黒字率を算出する精度を向上することができ、その結果、より正確にサーマルヘッド10の通電時間を適切に制御することができる。
In this case, the surplus rate (B1') to be subtracted is represented by the formula (1').
Surplus rate to be subtracted (B1′)=(T1′−T0)×1000÷5×6 (1′)
The correct surplus rate (B2') is represented by the formula (2').
Correct surplus rate (B2') = (B0'-B1') (2')
Therefore, instead of step S15, the
上述した実施形態は、発明の理解を容易にするために具体例を示したものであり、本発明はこれらの実施形態に限定されるものではない。印刷装置、プログラム、及び、制御方法は、特許請求の範囲の記載を逸脱しない範囲において、さまざまな変形、変更が可能である。 The above-described embodiments are specific examples for easy understanding of the invention, and the invention is not limited to these embodiments. The printing apparatus, program, and control method can be variously modified and changed without departing from the scope of the claims.
以下、本願の出願当初の特許請求の範囲に記載された発明を付記する。 The invention described in the scope of claims at the time of filing of the present application will be additionally described below.
[付記1]
発熱素子を有し、前記発熱素子に対し通電を行うことにより被印刷媒体に印刷を行うサーマルヘッドと、
印刷データの黒字率によって前記サーマルヘッドの通電時間を制御する制御手段と、
を備え、
前記制御手段は、
印刷装置の電源がOFFされる際に、第1の印刷時の時刻と前記第1の印刷の印刷終了後の黒字率とを記憶部に記憶し、
前記印刷装置の電源がONされ、前記第1の印刷の後に行われる第2の印刷が実行される際に、前記第2の印刷時の時刻を時刻情報を持つ外部装置から取得し、前記第1の印刷時の時刻と前記取得した第2の印刷時の時刻との差と、前記第1の印刷の印刷終了後の黒字率とに基づいて、前記第2の印刷の印刷データを印刷する際の黒字率を算出する
ことを特徴とする印刷装置。
[Appendix 1]
a thermal head that has a heating element and performs printing on a print medium by energizing the heating element;
a control means for controlling the energization time of the thermal head according to the surplus ratio of print data;
with
The control means is
when the power of the printing apparatus is turned off, storing the time of the first printing and the surplus rate after the printing of the first printing in a storage unit;
When the power of the printing device is turned on and the second printing performed after the first printing is executed, the time at the time of the second printing is acquired from an external device having time information, and printing the print data for the second printing based on the difference between the time of the first printing and the acquired time of the second printing, and the surplus ratio after the printing of the first printing is completed; A printing device characterized by calculating an actual surplus ratio.
[付記2]
付記1に記載の印刷装置であって、
前記制御手段は、
前記印刷装置の電源がOFFされる際に、前記第1の印刷時の時刻と前記第1の印刷の印刷終了後の黒字率とを前記印刷装置の記憶部に記憶し、
前記印刷装置の電源がONされ、前記第2の印刷が実行される際に、前記第2の印刷時の時刻を時刻情報を持つ外部装置から取得し、前記記憶部に記憶されている前記第1の印刷時の時刻と前記取得した前記第2の印刷時の時刻との差と、前記第1の印刷の印刷終了後の黒字率とに基づいて、前記第2の印刷の印刷データを印刷する際の黒字率を算出する
ことを特徴とする印刷装置。
[Appendix 2]
The printing device according to
The control means is
storing the time of the first printing and the surplus rate after the printing of the first printing in a storage unit of the printing device when the power of the printing device is turned off;
When the power supply of the printing device is turned on and the second printing is executed, the time at the time of the second printing is obtained from an external device having time information, and the time stored in the storage unit is obtained. printing the print data for the second printing based on the difference between the time of the first printing and the obtained time of the second printing, and the surplus ratio after the printing of the first printing is completed; A printing device characterized by calculating a surplus ratio when printing.
[付記3]
付記2に記載の印刷装置であって、
前記制御手段は、
前記印刷装置の電源がOFFされる際に、前記印刷装置の電源がOFFされる時の時刻と前記印刷終了時の黒字率から前記印刷装置の電源がOFFされるまでの時間分減算した黒字率とを前記記憶部に記憶し、
前記印刷装置の電源がONされ、前記第2の印刷が実行される際に、前記第2の印刷時の時刻を前記外部装置から取得し、前記記憶部に記憶されている前記印刷装置の電源がOFFされる時の時刻と前記取得した前記第2の印刷時の時刻との差と、前記第1の印刷の印刷終了時の黒字率から前記印刷装置の電源がOFFされるまでの時間分減算した黒字率とに基づいて、前記第2の印刷の印刷データを印刷する際の黒字率を算出する
ことを特徴とする印刷装置。
[Appendix 3]
The printing device according to
The control means is
When the power supply of the printing device is turned off, the surplus ratio obtained by subtracting the time until the power supply of the printing device is turned off from the time when the power supply of the printing device is turned off and the surplus ratio at the end of printing. and stored in the storage unit,
When the power of the printing device is turned on and the second printing is executed, the time at the time of the second printing is acquired from the external device, and the power of the printing device is stored in the storage unit. The difference between the time when the printer is turned off and the obtained time of the second printing, and the time from the surplus ratio at the end of the printing of the first printing until the power of the printing device is turned off. and calculating a surplus ratio when printing the print data for the second printing, based on the subtracted surplus ratio.
[付記4]
付記1に記載の印刷装置であって、
前記制御手段は、
前記印刷装置の電源がOFFされる際に、前記第1の印刷時の時刻と前記第1の印刷の印刷終了後の黒字率とを前記外部装置の記憶部に記憶し、
前記印刷装置の電源がONされ、前記第2の印刷が実行される際に、前記第1の印刷時の時刻と前記第2の印刷時の時刻と前記第1の印刷の印刷終了後の黒字率とを外部装置から取得し、前記取得した第1の印刷時の時刻と前記第2の印刷時の時刻との差と、前記第1の印刷の印刷終了後の黒字率とに基づいて、前記第2の印刷の印刷データを印刷する際の黒字率を算出する
ことを特徴とする印刷装置。
[Appendix 4]
The printing device according to
The control means is
storing the time of the first printing and the surplus rate after the printing of the first printing in a storage unit of the external device when the power of the printing device is turned off;
When the power supply of the printing apparatus is turned on and the second printing is executed, the time at the time of the first printing, the time at the time of the second printing, and the black character after the printing of the first printing is completed. based on the difference between the obtained time of the first printing and the time of the second printing, and the surplus rate after the printing of the first printing is completed, A printing apparatus, wherein a surplus rate is calculated when printing the print data for the second printing.
[付記5]
付記1~4のうちいずれかに記載の印刷装置であって、
前記第1の印刷時の時刻は、前記第1の印刷時に印刷装置へ印刷指示を送る時刻または前記第1の印刷時に前記印刷装置へ印刷データを送る時刻である
ことを特徴とする印刷装置。
[Appendix 5]
The printing device according to any one of
The printing apparatus, wherein the time at the time of the first printing is a time at which the print instruction is sent to the printing apparatus at the time of the first printing or a time at which print data is sent to the printing apparatus at the time of the first printing.
[付記6]
付記1~4のうちいずれかに記載の印刷装置であって、
前記第1の印刷時の時刻は、前記第1の印刷の印刷終了時の時刻である
ことを特徴とする印刷装置。
[Appendix 6]
The printing device according to any one of
The printing apparatus according to
[付記7]
付記6に記載の印刷装置であって、
前記制御手段は、
前記第1の印刷が前記印刷装置側で終了したタイミングで、前記外部装置から前記第1の印刷の印刷終了時の時刻を取得する
ことを特徴とする印刷装置。
[Appendix 7]
The printing device according to appendix 6,
The control means is
1. A printing apparatus, wherein the printing end time of the first printing is obtained from the external device at the timing when the first printing ends on the printing apparatus side.
[付記8]
付記6に記載の印刷装置であって、
前記制御手段は、
前記第1の印刷の印刷データから印字長を認識し、認識した印字長と第1の印刷の印字速度とに基づいて算出した印刷時間から前記第1の印刷の印刷終了時の時刻を算出する
ことを特徴とする印刷装置。
[Appendix 8]
The printing device according to appendix 6,
The control means is
The print length is recognized from the print data of the first print, and the print end time of the first print is calculated from the print time calculated based on the recognized print length and the print speed of the first print. A printing device characterized by:
[付記9]
付記8に記載の印刷装置であって、
前記制御手段は、
前記第1の印刷の印刷データの印刷濃度に基づいて前記印字速度を算出する
ことを特徴とする印刷装置。
[Appendix 9]
The printing device according to Appendix 8,
The control means is
A printing apparatus, wherein the printing speed is calculated based on the print density of the print data for the first printing.
[付記10]
付記8に記載の印刷装置であって、
前記制御手段は、
前記第1の印刷の印刷データの黒字率に基づいて前記印字速度を算出する
ことを特徴とする印刷装置。
[Appendix 10]
The printing device according to Appendix 8,
The control means is
A printing apparatus, wherein the printing speed is calculated based on a surplus ratio of print data for the first printing.
[付記11]
付記8に記載の印刷装置であって、
前記制御手段は、
前記第1の印刷の印刷データの印刷濃度と前記第1の印刷の印刷データの黒字率とに基づいて前記印字速度を算出する
ことを特徴とする印刷装置。
[Appendix 11]
The printing device according to Appendix 8,
The control means is
A printing apparatus, wherein the printing speed is calculated based on the print density of the print data for the first printing and the black ratio of the print data for the first printing.
[付記12]
付記11に記載の印刷装置であって、
前記制御手段は、
前記第1の印刷の印刷データを実際に印刷した際の印刷制御情報に基づいて前記第1の印刷の印刷データの濃度と前記第1の印刷の印刷データの黒字率とを取得する
ことを特徴とする印刷装置。
[Appendix 12]
The printing device according to Appendix 11,
The control means is
The density of the print data for the first printing and the black ratio of the print data for the first printing are obtained based on print control information when the print data for the first printing is actually printed. and printing device.
[付記13]
発熱素子を有し、前記発熱素子に対し通電を行うことにより被印刷媒体に印刷を行うサーマルヘッドを備えたコンピュータに、
印刷データの黒字率によって前記サーマルヘッドの通電時間を制御し、
印刷装置の電源がOFFされる際に、第1の印刷時の時刻と前記第1の印刷の印刷終了後の黒字率とを記憶部に記憶し、
前記印刷装置の電源がONされ、前記第1の印刷の後に行われる第2の印刷が実行される際に、前記第2の印刷時の時刻を時刻情報を持つ外部装置から取得し、前記第1の印刷時の時刻と前記取得した第2の印刷時の時刻との差と、前記第1の印刷の印刷終了後の黒字率とに基づいて、前記第2の印刷の印刷データを印刷する際の黒字率を算出する
処理を実行させることを特徴とするプログラム。
[Appendix 13]
A computer equipped with a thermal head that has a heating element and performs printing on a printing medium by energizing the heating element,
controlling the energization time of the thermal head according to the print data surplus ratio;
when the power of the printing apparatus is turned off, storing the time of the first printing and the surplus rate after the printing of the first printing in a storage unit;
When the power of the printing device is turned on and the second printing performed after the first printing is executed, the time at the time of the second printing is acquired from an external device having time information, and printing the print data for the second printing based on the difference between the time of the first printing and the acquired time of the second printing, and the surplus ratio after the printing of the first printing is completed; A program characterized by executing a process of calculating an actual surplus rate.
[付記14]
発熱素子を有し、前記発熱素子に対し通電を行うことにより被印刷媒体に印刷を行うサーマルヘッドを備えた印刷装置の制御方法であって、
印刷データの黒字率によって前記サーマルヘッドの通電時間を制御し、
前記印刷装置の電源がOFFされる際に、第1の印刷時の時刻と前記第1の印刷の印刷終了後の黒字率とを記憶部に記憶し、
前記印刷装置の電源がONされ、前記第1の印刷の後に行われる第2の印刷が実行される際に、前記第2の印刷時の時刻を時刻情報を持つ外部装置から取得し、前記第1の印刷時の時刻と前記取得した第2の印刷時の時刻との差と、前記第1の印刷の印刷終了後の黒字率とに基づいて、前記第2の印刷の印刷データを印刷する際の黒字率を算出する
ことを特徴とする印刷装置の制御方法。
[Appendix 14]
A control method for a printing apparatus having a thermal head that has a heating element and performs printing on a printing medium by energizing the heating element, the method comprising:
controlling the energization time of the thermal head according to the print data surplus ratio;
when the power of the printing device is turned off, storing the time of the first printing and the surplus rate after the printing of the first printing in a storage unit;
When the power of the printing device is turned on and the second printing performed after the first printing is executed, the time at the time of the second printing is acquired from an external device having time information, and printing the print data for the second printing based on the difference between the time of the first printing and the acquired time of the second printing, and the surplus ratio after the printing of the first printing is completed; A method of controlling a printing apparatus, comprising: calculating an actual surplus rate.
1・・・印刷装置、2・・・装置筐体、2a・・・排出口、3・・・開閉蓋、3a・・・窓、5・・・制御回路、5a・・・プロセッサ、6・・・フラッシュメモリ、6a・・・黒字率記憶部、6b・・・黒字率係数記憶部、7・・・RAM、8・・・通信インターフェース(IF)、9・・・ヘッド駆動回路、10・・・サーマルヘッド、10a・・・発熱素子、11・・・搬送用モータ駆動回路、12・・・ステッピングモータ、13・・・カッターモータ駆動回路、14・・・カッターモータ、15・・・ハーフカット機構、16・・・フルカット機構、17・・・カセット収納部、21・・・プラテンローラ、24・・・テープ幅検出スイッチ、25・・・電源ボタン、26・・・操作ボタン、27・・・蓋開閉ボタン、30・・・テープカセット、40・・・電源回路、50・・・印刷制御装置、51・・・表示部、52・・・入力部、53・・・表示駆動回路、54・・・通信インターフェース(IF)、55・・・フラッシュメモリ、56・・・RAM、57・・・制御回路、58・・・プロセッサ、M・・・被印刷媒体、100・・・印刷システム
DESCRIPTION OF
Claims (7)
印刷データの黒字率によって前記サーマルヘッドの通電時間を制御する制御手段と、
を備え、
前記制御手段は、
印刷装置の電源がOFFされる際に、前記印刷装置の電源がOFFされるときの第1時刻と、直近の印刷が終了したときから前記印刷装置の電源がOFFされるときまでの時間分だけ前記直近の印刷での黒字率から所定の調整値が減算された残存値と、を記憶部に記憶させておき、
前記印刷装置の電源のOFF後に電源が再度ONされて最初の印刷が実行される際に、前記最初の印刷が実行される第2時刻を時刻情報を持つ外部装置から取得し、前記第1時刻と前記第2時刻との差と、前記残存値と、に基づいて前記最初の印刷を実行する際の前記サーマルヘッドの通電時間を制御する、
ことを特徴とする印刷装置。 a thermal head that has a heating element and performs printing on a print medium by energizing the heating element;
a control means for controlling the energization time of the thermal head according to the surplus ratio of print data;
with
The control means is
When the power of the printing device is turned off, only the first time when the power of the printing device is turned off and the time from the end of the most recent printing to the time when the power of the printing device is turned off. A residual value obtained by subtracting a predetermined adjustment value from the surplus rate in the most recent printing is stored in a storage unit,
when the power of the printing device is turned on again after being turned off and the first printing is executed, a second time at which the first printing is executed is acquired from an external device having time information, and the first time is obtained from an external device having time information; and the second time, and the remaining value, controlling the energization time of the thermal head when performing the first printing,
A printing device characterized by:
印刷データの黒字率によって前記サーマルヘッドの通電時間を制御する制御手段と、
を備え、
前記制御手段は、
印刷装置の電源がOFFされる際に、直近の印刷時の時刻と前記直近の印刷時の黒字率とを外部装置の記憶部に記憶させておき、
前記印刷装置の電源のOFF後に電源が再度ONされて最初の印刷が実行される際に、前記直近の印刷時の時刻と前記直近の印刷時の黒字率とを前記最初の印刷時の時刻とともに前記外部装置から取得し、前記直近の印刷時の時刻と前記最初の印刷時の時刻との差と、前記直近の印刷時の黒字率と、に基づいて前記最初の印刷時での前記サーマルヘッドの通電時間を制御する、
ことを特徴とする印刷装置。 a thermal head that has a heating element and performs printing on a print medium by energizing the heating element;
a control means for controlling the energization time of the thermal head according to the surplus ratio of print data;
with
The control means is
When the power of the printing device is turned off, storing the time of the most recent printing and the surplus rate of the most recent printing in the storage unit of the external device,
When the power of the printing apparatus is turned on again after being turned off and the first printing is executed, the time of the most recent printing and the profit rate of the most recent printing are displayed together with the time of the first printing. The thermal head at the time of the first printing, obtained from the external device, based on the difference between the time of the most recent printing and the time of the first printing, and the black ratio at the time of the most recent printing. to control the energization time of
A printing device characterized by:
前記サーマルヘッドは、所定の方向に配列された複数の前記発熱素子を有しており、
前記黒字率は、所定の印刷データに対応させて通電により加熱される発熱素子の比率である、
ことを特徴とする印刷装置。 The printing device according to claim 1 or 2,
The thermal head has a plurality of heating elements arranged in a predetermined direction,
The surplus ratio is the ratio of heating elements that are heated by energization corresponding to predetermined print data.
A printing device characterized by:
印刷データの黒字率によって前記サーマルヘッドの通電時間を制御する制御手段として機能させ、
前記制御手段は、
前記印刷装置の電源がOFFされる際に、前記印刷装置の電源がOFFされるときの第1時刻と、直近の印刷が終了したときから前記印刷装置の電源がOFFされるときまでの時間分だけ前記直近の印刷での黒字率から所定の調整値が減算された残存値と、を記憶部に記憶させておき、
前記印刷装置の電源のOFF後に電源が再度ONされて最初の印刷が実行される際に、前記最初の印刷が実行される第2時刻を時刻情報を持つ外部装置から取得し、前記第1時刻と前記第2時刻との差と、前記残存値と、に基づいて前記最初の印刷を実行する際の前記サーマルヘッドの通電時間を制御する、
ことを特徴とするプログラム。 A computer of a printing device equipped with a thermal head that has a heating element and performs printing on a printing medium by energizing the heating element,
functioning as control means for controlling the energization time of the thermal head according to the print data surplus rate;
The control means is
When the power of the printing device is turned off, a first time when the power of the printing device is turned off, and the time from the end of the most recent printing to the time when the power of the printing device is turned off. and a residual value obtained by subtracting a predetermined adjustment value from the surplus rate in the most recent printing is stored in the storage unit,
when the power of the printing device is turned on again after being turned off and the first printing is executed, a second time at which the first printing is executed is acquired from an external device having time information, and the first time is obtained from an external device having time information; and the second time, and the remaining value, controlling the energization time of the thermal head when performing the first printing,
A program characterized by
印刷データの黒字率によって前記サーマルヘッドの通電時間を制御する制御手段として機能させ、
前記制御手段は、
前記印刷装置の電源がOFFされる際に、直近の印刷時の時刻と前記直近の印刷時の黒字率とを外部装置の記憶部に記憶させておき、
前記印刷装置の電源のOFF後に電源が再度ONされて最初の印刷が実行される際に、前記直近の印刷時の時刻と前記直近の印刷時の黒字率とを前記最初の印刷時の時刻とともに前記外部装置から取得し、前記直近の印刷時の時刻と前記最初の印刷時の時刻との差と、前記直近の印刷時の黒字率と、に基づいて前記最初の印刷時での前記サーマルヘッドの通電時間を制御する、
ことを特徴とするプログラム。 A computer of a printing device equipped with a thermal head that has a heating element and performs printing on a printing medium by energizing the heating element,
functioning as control means for controlling the energization time of the thermal head according to the print data surplus rate;
The control means is
When the power of the printing device is turned off, storing the time of the most recent printing and the surplus rate of the most recent printing in a storage unit of the external device;
When the power of the printing apparatus is turned on again after being turned off and the first printing is executed, the time of the most recent printing and the profit rate of the most recent printing are displayed together with the time of the first printing. The thermal head at the time of the first printing, obtained from the external device, based on the difference between the time of the most recent printing and the time of the first printing, and the black ratio at the time of the most recent printing. to control the energization time of
A program characterized by
印刷データの黒字率によって前記サーマルヘッドの通電時間を制御する制御処理を含み、Control processing for controlling the energization time of the thermal head according to the print data surplus ratio,
前記制御処理は、The control process includes
前記印刷装置の電源がOFFされる際に、前記印刷装置の電源がOFFされるときの第1時刻と、直近の印刷が終了したときから前記印刷装置の電源がOFFされるときまでの時間分だけ前記直近の印刷での黒字率から所定の調整値が減算された残存値と、を記憶部に記憶させておき、When the power of the printing device is turned off, a first time when the power of the printing device is turned off, and the time from the end of the most recent printing to the time when the power of the printing device is turned off. and a residual value obtained by subtracting a predetermined adjustment value from the surplus rate in the most recent printing is stored in the storage unit,
前記印刷装置の電源のOFF後に電源が再度ONされて最初の印刷が実行される際に、前記最初の印刷が実行される第2時刻を時刻情報を持つ外部装置から取得し、前記第1時刻と前記第2時刻との差と、前記残存値と、に基づいて前記最初の印刷を実行する際の前記サーマルヘッドの通電時間を制御する、when the power of the printing device is turned on again after being turned off and the first printing is executed, a second time at which the first printing is executed is acquired from an external device having time information, and the first time is obtained from an external device having time information; and the second time, and the remaining value, controlling the energization time of the thermal head when performing the first printing,
ことを特徴とする制御方法。A control method characterized by:
印刷データの黒字率によって前記サーマルヘッドの通電時間を制御する制御処理を含み、Control processing for controlling the energization time of the thermal head according to the print data surplus ratio,
前記制御処理は、The control process includes
前記印刷装置の電源がOFFされる際に、直近の印刷時の時刻と前記直近の印刷時の黒字率とを外部装置の記憶部に記憶させておき、When the power of the printing device is turned off, storing the time of the most recent printing and the surplus rate of the most recent printing in a storage unit of the external device;
前記印刷装置の電源のOFF後に電源が再度ONされて最初の印刷が実行される際に、前記直近の印刷時の時刻と前記直近の印刷時の黒字率とを前記最初の印刷時の時刻とともに前記外部装置から取得し、前記直近の印刷時の時刻と前記最初の印刷時の時刻との差と、前記直近の印刷時の黒字率と、に基づいて前記最初の印刷時での前記サーマルヘッドの通電時間を制御する、When the power of the printing apparatus is turned on again after being turned off and the first printing is executed, the time of the most recent printing and the profit rate of the most recent printing are displayed together with the time of the first printing. The thermal head at the time of the first printing, obtained from the external device, based on the difference between the time of the most recent printing and the time of the first printing, and the black ratio at the time of the most recent printing. to control the energization time of
ことを特徴とする制御方法。A control method characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018236362A JP7192476B2 (en) | 2018-12-18 | 2018-12-18 | PRINTING DEVICE, PROGRAM AND CONTROL METHOD |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018236362A JP7192476B2 (en) | 2018-12-18 | 2018-12-18 | PRINTING DEVICE, PROGRAM AND CONTROL METHOD |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020097162A JP2020097162A (en) | 2020-06-25 |
JP7192476B2 true JP7192476B2 (en) | 2022-12-20 |
Family
ID=71106722
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018236362A Active JP7192476B2 (en) | 2018-12-18 | 2018-12-18 | PRINTING DEVICE, PROGRAM AND CONTROL METHOD |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7192476B2 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002046293A (en) | 2000-05-22 | 2002-02-12 | Sharp Corp | Ink jet printer system |
JP2010274548A (en) | 2009-05-29 | 2010-12-09 | Brother Ind Ltd | Thermal recorder |
JP2011152793A (en) | 2011-03-15 | 2011-08-11 | Canon Inc | Image recording apparatus and method for controlling the same, and computer-readable storage medium |
JP2016163987A (en) | 2015-02-26 | 2016-09-08 | 京セラドキュメントソリューションズ株式会社 | Image forming apparatus |
JP2018094822A (en) | 2016-12-14 | 2018-06-21 | 東芝テック株式会社 | Printer and program |
-
2018
- 2018-12-18 JP JP2018236362A patent/JP7192476B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002046293A (en) | 2000-05-22 | 2002-02-12 | Sharp Corp | Ink jet printer system |
JP2010274548A (en) | 2009-05-29 | 2010-12-09 | Brother Ind Ltd | Thermal recorder |
JP2011152793A (en) | 2011-03-15 | 2011-08-11 | Canon Inc | Image recording apparatus and method for controlling the same, and computer-readable storage medium |
JP2016163987A (en) | 2015-02-26 | 2016-09-08 | 京セラドキュメントソリューションズ株式会社 | Image forming apparatus |
JP2018094822A (en) | 2016-12-14 | 2018-06-21 | 東芝テック株式会社 | Printer and program |
Also Published As
Publication number | Publication date |
---|---|
JP2020097162A (en) | 2020-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108569037B (en) | Printing apparatus, printing system, printing control method, and recording medium | |
JP7070752B2 (en) | Printing system and printing support method | |
EP3339042A1 (en) | Battery-powered printer, pos system, and method for printing with battery-powered printer | |
US10124600B2 (en) | Printing device, printing method, and nonvolatile computer-readable recording medium | |
US8894307B2 (en) | Printing apparatus, printing method and computer readable recording medium storing control program for printing apparatus | |
JP7192476B2 (en) | PRINTING DEVICE, PROGRAM AND CONTROL METHOD | |
JP7346914B2 (en) | Printing control device, printing control method and program | |
JP2009297996A (en) | Portable printer | |
JP6406401B2 (en) | Printing apparatus, printing method, and program | |
CN108569039B (en) | Printing apparatus, printing system, printing control method, and computer-readable recording medium | |
US10293621B2 (en) | Printing device, printing method, and nonvolatile computer-readable recording medium | |
EP3312015B1 (en) | Battery-powered printer and method for driving battery-powered printer | |
JP4000925B2 (en) | Thermal recording device | |
JP4442283B2 (en) | Thermal printer | |
US11951754B2 (en) | Printer and method | |
JP7135688B2 (en) | PRINTING DEVICE, CONTROL METHOD, AND PROGRAM | |
JP7272167B2 (en) | PRINTING DEVICE, CONTROL METHOD, AND PROGRAM | |
JP7396432B2 (en) | Printing device, control method, and program | |
JP5353451B2 (en) | Thermal recording device | |
JP2005280099A (en) | Thermal printer | |
CN111319365B (en) | Printing apparatus, recording medium, and control method | |
JP6819162B2 (en) | Printing device, control method of printing device, and program | |
JP2019055566A (en) | Printer, printing control method of printer, and program | |
US10752031B2 (en) | Printing apparatus, non-transitory storage medium, and method of controlling the printing apparatus | |
JP2018075722A (en) | Printer and control program of printer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20190415 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20211208 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220922 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20221004 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20221024 |
|
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: 20221108 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20221121 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7192476 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |