JP2022052129A - Printer, printing method, and program - Google Patents

Printer, printing method, and program Download PDF

Info

Publication number
JP2022052129A
JP2022052129A JP2020158321A JP2020158321A JP2022052129A JP 2022052129 A JP2022052129 A JP 2022052129A JP 2020158321 A JP2020158321 A JP 2020158321A JP 2020158321 A JP2020158321 A JP 2020158321A JP 2022052129 A JP2022052129 A JP 2022052129A
Authority
JP
Japan
Prior art keywords
printing
printed
print
medium
sheets
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
JP2020158321A
Other languages
Japanese (ja)
Other versions
JP7140166B2 (en
Inventor
令人 生江
Haruto Namae
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2020158321A priority Critical patent/JP7140166B2/en
Publication of JP2022052129A publication Critical patent/JP2022052129A/en
Application granted granted Critical
Publication of JP7140166B2 publication Critical patent/JP7140166B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

To provide a technique for enabling a user to easily grasp the residual number of printing sheets when the end of a printed medium is detected during execution of printing on a plurality of sheets, and the printing on the plurality of sheets ends in the middle.SOLUTION: When information on the end of a printed medium on the basis of a detection result of a detection part is detected during execution of printing a first printing pattern onto the printed medium of a plurality of sheets, a printer 1 prints a second printing pattern indicating the residual number of printing sheets or the number of printed sheets in a region between a printing position of the detection time point and the end in the printed medium.SELECTED DRAWING: Figure 7

Description

本明細書の開示は、印刷装置、印刷方法、及びプログラムに関する。 The disclosure of this specification relates to a printing device, a printing method, and a program.

従来、長尺状の被印刷媒体に文字、図形等を印刷してラベルを作成する印刷装置が知られている(例えば、特許文献1参照)。 Conventionally, a printing apparatus for printing characters, figures, etc. on a long printed medium to create a label has been known (see, for example, Patent Document 1).

このような印刷装置において、被印刷媒体の終端を検出可能な印刷装置では、複数枚印刷を行った際に、その途中で被印刷媒体の終端が検出されると、複数枚印刷が途中で終了する。そのため、ユーザは、印刷装置に収納されている媒体カートリッジを新しいものに交換した上で、残り印刷枚数を印刷装置に設定して、残り印刷枚数の印刷を印刷装置に行わせる必要がある。 In such a printing device, in a printing device capable of detecting the end of the print medium, when printing a plurality of sheets and the end of the print medium is detected in the middle of the printing, the printing of the plurality of sheets ends in the middle. do. Therefore, the user needs to replace the medium cartridge stored in the printing device with a new one, set the remaining number of prints in the printing device, and have the printing device print the remaining number of prints.

特開2014-028448号公報Japanese Unexamined Patent Publication No. 2014-028448

印刷装置に残り印刷枚数を設定するためには、ユーザは、まず、その残り印刷枚数を把握する必要がある。具体的には、ユーザが、印刷済み枚数を数える等して印刷済み枚数を確認し、その印刷済み枚数と複数枚印刷の際に設定した印刷枚数とから残り印刷枚数を把握する必要がある。 In order to set the remaining number of prints in the printing device, the user must first grasp the remaining number of prints. Specifically, it is necessary for the user to check the number of printed sheets by counting the number of printed sheets, etc., and to grasp the remaining number of printed sheets from the number of printed sheets and the number of printed sheets set at the time of printing a plurality of sheets.

しかしながら、複数枚印刷の際に設定した印刷枚数が少ない場合や印刷済み枚数が少ない場合には印刷済み枚数の確認が容易であることから残り印刷枚数の把握が容易であるものの、複数枚印刷の際に設定した印刷枚数が多く且つ印刷済み枚数が多い場合には印刷済み枚数の確認が容易でないことから残り印刷枚数の把握が容易ではなかった。 However, when the number of printed sheets set when printing multiple sheets is small or the number of printed sheets is small, it is easy to check the number of printed sheets, so that it is easy to grasp the remaining number of printed sheets, but it is possible to print multiple sheets. When the number of printed sheets set at the time is large and the number of printed sheets is large, it is not easy to confirm the number of printed sheets, so it is not easy to grasp the remaining number of printed sheets.

以上のような実情を踏まえ、本発明の一側面に係る目的は、複数枚印刷の実行中に被印刷媒体の終端が検出されて複数枚印刷が途中で終了した場合に、残り印刷枚数をユーザに容易に把握させることができる技術を提供することを目的とする。 Based on the above circumstances, an object according to one aspect of the present invention is to use the remaining number of printed sheets when the end of the printed medium is detected during the execution of multiple sheet printing and the printing of multiple sheets ends in the middle. The purpose is to provide a technology that can be easily grasped.

本発明の一態様に係る印刷装置は、被印刷媒体を搬送する搬送部と、前記被印刷媒体に印刷を行う印刷部と、前記被印刷媒体の終端に関する情報を検出するための検出部と、前記被印刷媒体への第1の印刷パターンの複数枚印刷の実行中において、前記検出部の検出結果に基づいて前記被印刷媒体の終端に関する情報を検出した場合に、前記被印刷媒体における、前記検出時点の印刷位置から前記終端までの間の領域に、残り印刷枚数又は印刷済み枚数を表す第2の印刷パターンを印刷するように、前記搬送部と前記印刷部とを制御する制御部とを備える。 The printing apparatus according to one aspect of the present invention includes a transport unit that conveys a print medium, a print unit that prints on the print medium, and a detection unit that detects information about the end of the print medium. When information regarding the end of the printable medium is detected based on the detection result of the detection unit during the execution of printing of a plurality of sheets of the first print pattern on the printable medium, the said in the printable medium. A control unit that controls the transport unit and the print unit is provided so as to print a second print pattern representing the remaining number of prints or the number of printed sheets in the area from the print position at the time of detection to the end. Be prepared.

本発明の一態様に係る印刷方法は、被印刷媒体への第1の印刷パターンの複数枚印刷の実行中において、検出部の検出結果に基づいて前記被印刷媒体の終端に関する情報を検出した場合に、前記被印刷媒体における、前記検出時点の印刷位置から前記終端までの間の領域に、残り印刷枚数又は印刷済み枚数を表す第2の印刷パターンを印刷する。 The printing method according to one aspect of the present invention is a case where information regarding the end of the printed medium is detected based on the detection result of the detection unit during the execution of printing of a plurality of sheets of the first print pattern on the printed medium. A second print pattern representing the number of remaining prints or the number of printed sheets is printed in the area between the print position at the time of detection and the end of the printed medium.

本発明の一態様に係るプログラムは、被印刷媒体への第1の印刷パターンの複数枚印刷の実行中において、検出部の検出結果に基づいて前記被印刷媒体の終端に関する情報を検出した場合に、前記被印刷媒体における、前記検出時点の印刷位置から前記終端までの間の領域に、残り印刷枚数又は印刷済み枚数を表す第2の印刷パターンを印刷するように制御する処理をプロセッサに実行させる。 The program according to one aspect of the present invention detects information regarding the end of the printed medium based on the detection result of the detection unit during the execution of printing of a plurality of sheets of the first print pattern on the printed medium. , The processor is made to execute a process of controlling to print a second print pattern representing the remaining number of prints or the number of printed sheets in the area between the print position at the time of detection and the end of the printed medium. ..

上記の態様によれば、複数枚印刷の実行中に被印刷媒体の終端が検出されて複数枚印刷が途中で終了した場合に、残り印刷枚数をユーザに容易に把握させることができる。 According to the above aspect, when the end of the printed medium is detected during the execution of printing on a plurality of sheets and the printing on the plurality of sheets is terminated in the middle, the user can easily grasp the remaining number of sheets to be printed.

印刷装置1の斜視図である。It is a perspective view of the printing apparatus 1. 印刷装置1に収容されるテープカセット30の斜視図である。It is a perspective view of the tape cassette 30 housed in a printing apparatus 1. 印刷装置1のカセット収容部19の斜視図である。It is a perspective view of the cassette accommodating part 19 of a printing apparatus 1. FIG. 印刷装置1の断面図である。It is sectional drawing of the printing apparatus 1. 印刷装置1のハードウェア構造を示すブロック図である。It is a block diagram which shows the hardware structure of a printing apparatus 1. 複数枚印刷処理を示すフローチャートである。It is a flowchart which shows the printing process of a plurality of sheets. 複数枚印刷の実行中に被印刷媒体Mの終端が検出された場合の印刷結果を例示する図である。It is a figure which illustrates the printing result when the end of the printed medium M is detected during the execution of printing of a plurality of sheets. 変形例に係る印刷結果を例示する図である。It is a figure which illustrates the printing result which concerns on the modification. 変形例に係る印刷結果を例示する図である。It is a figure which illustrates the printing result which concerns on the modification.

図1は、印刷装置1の斜視図である。印刷装置1は、長尺状の被印刷媒体Mに印刷を行うラベルプリンタである。以降では、感熱テープを使用する感熱方式のラベルプリンタを例にして説明するが、印刷方式は特に限定されない。印刷装置1は、インクリボンを使用する熱転写方式のラベルプリンタであってもよい。また、以降では、シングルパス(ワンパス)方式で印刷を行うラベルプリンタを例示するが、印刷装置1は、マルチパス(スキャン)方式で印刷を行ってもよい。 FIG. 1 is a perspective view of the printing apparatus 1. The printing device 1 is a label printer that prints on a long printed medium M. Hereinafter, a heat-sensitive label printer using a heat-sensitive tape will be described as an example, but the printing method is not particularly limited. The printing device 1 may be a thermal transfer type label printer using an ink ribbon. Further, although the label printer that prints by the single pass (one pass) method will be illustrated below, the printing device 1 may print by the multi pass (scan) method.

印刷装置1は、図1に示すように、装置筐体2と、入力部3と、表示部4と、開閉蓋18と、カセット収容部19を備える。装置筐体2の上面には、入力部3、表示部4、及び開閉蓋18が配置されている。また、図示しないが、装置筐体2には、電源コード接続端子、外部機器接続端子、記憶媒体挿入口等が設けられている。 As shown in FIG. 1, the printing apparatus 1 includes an apparatus housing 2, an input unit 3, a display unit 4, an opening / closing lid 18, and a cassette accommodating unit 19. An input unit 3, a display unit 4, and an opening / closing lid 18 are arranged on the upper surface of the device housing 2. Further, although not shown, the device housing 2 is provided with a power cord connection terminal, an external device connection terminal, a storage medium insertion port, and the like.

入力部3は、入力キー(例えば文字キーや数字キー)、十字キー、変換キー、決定キー(実行キー)、印刷キー、電源キー、などの種々のキーを備える。ユーザは、これらのキー操作により、印刷テキストの入力、印刷枚数の設定、印刷実行指示等を行うことができる。 The input unit 3 includes various keys such as an input key (for example, a character key and a number key), a cross key, a conversion key, a decision key (execution key), a print key, and a power key. The user can input print text, set the number of prints, give a print execution instruction, and the like by operating these keys.

表示部4は、例えば液晶ディスプレイ、有機EL(electro-luminescence)ディスプレイなどであり、入力部3からの入力に対応する文字等、各種設定のための選択メニュー、各種処理に関するメッセージ等を表示する。また、印刷中には、被印刷媒体Mへの印刷が指示された文字や図形等の内容が表示され、印刷処理の進捗状況が表示されてもよい。なお、表示部4にはタッチパネルユニットが設けられていてもよく、その場合、表示部4を入力部3の一部として看做してもよい。 The display unit 4 is, for example, a liquid crystal display, an organic EL (electro-luminescence) display, or the like, and displays selection menus for various settings such as characters corresponding to inputs from the input unit 3, messages related to various processes, and the like. Further, during printing, the contents such as characters and figures instructed to be printed on the print medium M may be displayed, and the progress of the printing process may be displayed. The display unit 4 may be provided with a touch panel unit, and in that case, the display unit 4 may be regarded as a part of the input unit 3.

開閉蓋18は、カセット収容部19の上部に開閉可能に配置されている。開閉蓋18は、ボタン18aを押下されることにより開放される。開閉蓋18には、この開閉蓋18が閉じた状態でもカセット収容部19にテープカセット30(図2参照)が収容されているか否かを目視で確認可能とするために、窓18bが形成されている。また、装置筐体2の側面には、排出口2aが形成されている。印刷装置1内で印刷が行われた被印刷媒体Mは、排出口2aから装置外へ排出される。 The opening / closing lid 18 is arranged so as to be openable / closable on the upper part of the cassette accommodating portion 19. The opening / closing lid 18 is opened by pressing the button 18a. A window 18b is formed on the opening / closing lid 18 so that it can be visually confirmed whether or not the tape cassette 30 (see FIG. 2) is accommodated in the cassette accommodating portion 19 even when the opening / closing lid 18 is closed. ing. Further, a discharge port 2a is formed on the side surface of the device housing 2. The printed medium M printed in the printing apparatus 1 is ejected from the ejection port 2a to the outside of the apparatus.

図2は、印刷装置1に収容されるテープカセット30の斜視図である。図3は、印刷装置1のカセット収容部19の斜視図である。図4は、印刷装置1の断面図である。図2に示すテープカセット30は、図3に示すカセット収容部19に着脱自在に収容される。図4には、テープカセット30がカセット収容部19に収容された状態が示されている。 FIG. 2 is a perspective view of the tape cassette 30 housed in the printing apparatus 1. FIG. 3 is a perspective view of the cassette accommodating portion 19 of the printing apparatus 1. FIG. 4 is a cross-sectional view of the printing apparatus 1. The tape cassette 30 shown in FIG. 2 is detachably housed in the cassette accommodating portion 19 shown in FIG. FIG. 4 shows a state in which the tape cassette 30 is housed in the cassette storage unit 19.

テープカセット30は、図2に示すように、被印刷媒体Mを収容するカセットケース31を有する。カセットケース31には、サーマルヘッド被挿入部36及び係合部37が形成されている。また、カセットケース31には、テープコア32が設けられている。被印刷媒体Mは、カセットケース31内部のテープコア32にロール状に巻かれている。 As shown in FIG. 2, the tape cassette 30 has a cassette case 31 that houses the printing medium M. The cassette case 31 is formed with a thermal head insertion portion 36 and an engagement portion 37. Further, the cassette case 31 is provided with a tape core 32. The print medium M is wound in a roll around the tape core 32 inside the cassette case 31.

被印刷媒体Mは、下層から順にセパレータと、粘着層と、基材と、発色層と、保護層とが積層された5層構造を有する感熱テープである。セパレータは粘着層を覆うように剥離可能に基材に貼り付けられている。セパレータの材料は、例えば、紙であるが、紙に限らず、PET(ポリエチレンテレフタレート)であってもよい。粘着層は、基材に塗布された粘着材である。基材の材料は、例えば、有色のPETである。発色層は、熱エネルギーの加熱により発色する感熱発色層である。保護層の材料は、例えば、透明なPETである。感熱テープである被印刷媒体Mの構成は、このような5層構造の構成に限らない。例えば、被印刷媒体Mは、保護層を有さず、発色層が露出したものであってもよい。 The print medium M is a heat-sensitive tape having a five-layer structure in which a separator, an adhesive layer, a base material, a color-developing layer, and a protective layer are laminated in this order from the lower layer. The separator is detachably attached to the substrate so as to cover the adhesive layer. The material of the separator is, for example, paper, but the material is not limited to paper, and PET (polyethylene terephthalate) may be used. The adhesive layer is an adhesive material applied to the base material. The material of the base material is, for example, colored PET. The color-developing layer is a heat-sensitive color-developing layer that develops color by heating with heat energy. The material of the protective layer is, for example, transparent PET. The structure of the printed medium M, which is a heat-sensitive tape, is not limited to such a five-layer structure. For example, the print medium M may have no protective layer and the color-developing layer may be exposed.

装置筐体2のカセット収容部19には、図3に示すように、テープカセット30を所定の位置に支持するための複数のカセット受け部20が設けられている。また、カセット受け部20には、テープカセット30が収容する被印刷媒体M(感熱テープ)の幅を検出するためのテープ幅検出スイッチ24が設けられている。 As shown in FIG. 3, the cassette accommodating portion 19 of the apparatus housing 2 is provided with a plurality of cassette receiving portions 20 for supporting the tape cassette 30 at a predetermined position. Further, the cassette receiving unit 20 is provided with a tape width detecting switch 24 for detecting the width of the printed medium M (heat-sensitive tape) accommodated in the tape cassette 30.

テープ幅検出スイッチ24は、テープカセットの形状に基づいて被印刷媒体Mの幅を検出するためのスイッチである。テープ幅検出スイッチ24は、カセット収容部19に複数設けられている。テープ幅の異なるテープカセットは、複数のテープ幅検出スイッチ24をそれぞれ異なる組み合わせで押下するように構成されている。これにより、後述する制御回路5(図5参照)が、押下されたテープ幅検出スイッチ24の組み合わせから、テープカセットの種類を特定し、被印刷媒体Mの幅(テープ幅)を検出する。 The tape width detection switch 24 is a switch for detecting the width of the printed medium M based on the shape of the tape cassette. A plurality of tape width detection switches 24 are provided in the cassette accommodating portion 19. Tape cassettes having different tape widths are configured to press a plurality of tape width detection switches 24 in different combinations. As a result, the control circuit 5 (see FIG. 5), which will be described later, identifies the type of the tape cassette from the combination of the pressed tape width detection switches 24, and detects the width (tape width) of the printed medium M.

カセット収容部19には、さらに、被印刷媒体Mに印刷を行う印刷部であるサーマルヘッド10と、被印刷媒体Mを搬送する搬送部であるプラテンローラ21と、テープコア係合軸22が設けられている。さらに、サーマルヘッド10には、サーミスタ13が埋め込まれている。サーミスタ13は、サーマルヘッド10の温度を測定する。 The cassette accommodating portion 19 is further provided with a thermal head 10 which is a printing unit that prints on the printed medium M, a platen roller 21 which is a transport unit that conveys the printed medium M, and a tape core engaging shaft 22. ing. Further, a thermistor 13 is embedded in the thermal head 10. The thermistor 13 measures the temperature of the thermal head 10.

テープカセット30がカセット収容部19に収容された状態では、図4に示すように、カセットケース31に設けられた係合部37がカセット収容部19に設けられたカセット受け部20に支持されて、サーマルヘッド10がカセットケース31に形成されたサーマルヘッド被挿入部36に挿入される。また、テープコア係合軸22には、テープカセット30のテープコア32が係合する。 In a state where the tape cassette 30 is housed in the cassette storage part 19, as shown in FIG. 4, the engaging part 37 provided in the cassette case 31 is supported by the cassette receiving part 20 provided in the cassette housing part 19. , The thermal head 10 is inserted into the thermal head insertion portion 36 formed in the cassette case 31. Further, the tape core 32 of the tape cassette 30 is engaged with the tape core engaging shaft 22.

印刷装置1に印刷指示が入力されると、被印刷媒体Mは、プラテンローラ21の回転によりテープコア32から繰り出され、サーマルヘッド10とプラテンローラ21の間を通過する際に、サーマルヘッド10によって加熱されることで、被印刷媒体Mに印刷が行われる。 When a printing instruction is input to the printing apparatus 1, the printed medium M is unwound from the tape core 32 by the rotation of the platen roller 21, and is heated by the thermal head 10 as it passes between the thermal head 10 and the platen roller 21. By doing so, printing is performed on the print medium M.

サーマルヘッド10とプラテンローラ21の間を通過した印刷済みの被印刷媒体Mは、ハーフカッター16及びフルカッター17で切断され、それによって、ラベルが排出口2aから排出される。なお、ラベルとは、被印刷媒体Mのことであり、より詳細には、被印刷媒体Mをハーフカット又はフルカットすることにより作成されたもののことをいう。 The printed printed medium M that has passed between the thermal head 10 and the platen roller 21 is cut by the half cutter 16 and the full cutter 17, whereby the label is discharged from the discharge port 2a. The label is a printed medium M, and more specifically, a label created by half-cutting or full-cutting the printed medium M.

印刷装置1は、さらに、フォトセンサ41を備えている。フォトセンサ41は、被印刷媒体Mの終端に関する情報を検出するための検出部であり、図4に示すように、被印刷媒体Mの搬送路上であってサーマルヘッド10により印刷が行われる位置よりも上流側に距離L離れて設けられている。フォトセンサ41は、例えば、発光素子と受光素子を備えている。発光素子は、例えば、発光ダイオードであり、受光素子は、例えば、フォトダイオードである。フォトセンサ41は、発光素子から出射した光の反射光を受光素子で検出し、後述する制御回路5(図5参照)へ信号を出力する。制御回路5は、例えば、受光素子で検出した反射光量の変化に基づいて、被印刷媒体Mの終端に関する情報として、被印刷媒体Mの終端を検出する。なお、フォトセンサ41は発光素子から出射した光の反射光を検出するフォトリフレクタに限らない。フォトセンサ41は、発光素子と受光素子が対向して配置されたフォトインタラプタであってもよい。 The printing device 1 further includes a photo sensor 41. The photo sensor 41 is a detection unit for detecting information regarding the end of the printed medium M, and as shown in FIG. 4, from a position on the transport path of the printed medium M where printing is performed by the thermal head 10. Is also provided on the upstream side at a distance L. The photo sensor 41 includes, for example, a light emitting element and a light receiving element. The light emitting element is, for example, a light emitting diode, and the light receiving element is, for example, a photodiode. The photo sensor 41 detects the reflected light of the light emitted from the light emitting element by the light receiving element, and outputs a signal to the control circuit 5 (see FIG. 5) described later. The control circuit 5 detects the end of the printed medium M as information regarding the end of the printed medium M, for example, based on the change in the amount of reflected light detected by the light receiving element. The photo sensor 41 is not limited to the photo reflector that detects the reflected light of the light emitted from the light emitting element. The photo sensor 41 may be a photointerruptor in which a light emitting element and a light receiving element are arranged so as to face each other.

図5は、印刷装置1のハードウェア構造を示すブロック図である。印刷装置1は、上述した構成要素に加えて、図5に示すように、制御回路5、ROM(Read Only Memory)6、RAM(Random Access Memory)7、表示駆動回路8、ヘッド駆動回路9、搬送用モータ駆動回路11、搬送用モータ12、エンコーダ26、カッターモータ駆動回路14、カッターモータ15、ハーフカッター16、フルカッター17を備える。 FIG. 5 is a block diagram showing a hardware structure of the printing apparatus 1. In addition to the above-described components, the printing device 1 includes a control circuit 5, a ROM (Read Only Memory) 6, a RAM (Random Access Memory) 7, a display drive circuit 8, and a head drive circuit 9, as shown in FIG. It includes a transfer motor drive circuit 11, a transfer motor 12, an encoder 26, a cutter motor drive circuit 14, a cutter motor 15, a half cutter 16, and a full cutter 17.

制御回路5は、CPU(Central Processing Unit)などのプロセッサを含む制御装置である。制御回路5は、ROM6に格納されているプログラムをRAM7に展開し実行することで、印刷装置1の各部(例えば、プラテンローラ21、サーマルヘッド10)の動作を制御する。 The control circuit 5 is a control device including a processor such as a CPU (Central Processing Unit). The control circuit 5 controls the operation of each part of the printing apparatus 1 (for example, the platen roller 21 and the thermal head 10) by expanding and executing the program stored in the ROM 6 in the RAM 7.

ROM6には、プログラム(後述の図6に示す複数枚印刷処理を行うためのプログラムを含む)、プログラムの実行に必要な各種データ(例えば、フォント等)が格納されている。RAM7は、プログラムの実行に用いられるワークメモリである。RAM7の一部は、印刷バッファとして用いられる。なお、印刷装置1での処理に用いられるプログラム及びデータを格納するコンピュータ読み取り可能な記録媒体には、ROM6、RAM7のような、物理的な(非一時的な)記録媒体が含まれる。 The ROM 6 stores a program (including a program for performing a plurality of sheets printing process shown in FIG. 6 described later) and various data (for example, fonts and the like) necessary for executing the program. The RAM 7 is a work memory used for executing a program. A part of the RAM 7 is used as a print buffer. The computer-readable recording medium that stores the program and data used for processing in the printing apparatus 1 includes a physical (non-temporary) recording medium such as ROM 6 and RAM 7.

表示駆動回路8は、液晶表示ドライバ回路、有機EL表示ドライバ回路である。表示駆動回路8は、制御回路5の制御下において、RAM7に格納されている表示データに基づいて表示部4を制御する。 The display drive circuit 8 is a liquid crystal display driver circuit and an organic EL display driver circuit. The display drive circuit 8 controls the display unit 4 based on the display data stored in the RAM 7 under the control of the control circuit 5.

ヘッド駆動回路9は、制御回路5の制御下において、印刷データと制御信号に基づいてサーマルヘッド10が有する発熱素子10aへの通電を制御する。サーマルヘッド10は、主走査方向に配列された複数の発熱素子10aを有し、当該発熱素子10aで被印刷媒体Mである感熱テープを加熱することにより一ラインずつ印刷を行う。つまり、印刷装置1において、制御回路5は、ヘッド駆動回路9を介して発熱素子10aへの通電を制御することで、サーマルヘッド10を制御する制御部である。 The head drive circuit 9 controls the energization of the heat generating element 10a of the thermal head 10 based on the print data and the control signal under the control of the control circuit 5. The thermal head 10 has a plurality of heat generating elements 10a arranged in the main scanning direction, and the heat generating elements 10a heat the heat-sensitive tape, which is the printing medium M, to print one line at a time. That is, in the printing device 1, the control circuit 5 is a control unit that controls the thermal head 10 by controlling the energization of the heat generating element 10a via the head drive circuit 9.

搬送用モータ駆動回路11は、制御回路5の制御下で、搬送用モータ12を駆動する。搬送用モータ12は、例えばステッピングモータであってもよく、直流(DC)モータであってもよい。搬送用モータ12は、プラテンローラ21を回転させる。なお、搬送用モータ12は、搬送用モータ駆動回路11の制御下で、被印刷媒体Mを繰り出す方向である順方向だけではなく、被印刷媒体Mを巻戻す方向である逆方向にも回転する。 The transport motor drive circuit 11 drives the transport motor 12 under the control of the control circuit 5. The transport motor 12 may be, for example, a stepping motor or a direct current (DC) motor. The transport motor 12 rotates the platen roller 21. Under the control of the transfer motor drive circuit 11, the transfer motor 12 rotates not only in the forward direction, which is the direction in which the printed medium M is fed, but also in the reverse direction, which is the direction in which the printed medium M is rewound. ..

プラテンローラ21は、搬送用モータ12の駆動力によって回転し、被印刷媒体Mの長手方向(副走査方向、搬送方向)に沿って、被印刷媒体Mを搬送する搬送部である。プラテンローラ21は、搬送用モータ12が順方向に回転しているときには、テープカセット30から被印刷媒体Mを繰り出し、搬送用モータ12が逆方向に回転しているときには、テープカセット30から繰り出されている被印刷媒体Mを巻戻す。 The platen roller 21 is a transport unit that is rotated by the driving force of the transport motor 12 and transports the print medium M along the longitudinal direction (sub-scanning direction, transport direction) of the print medium M. The platen roller 21 is fed out from the tape cassette 30 when the transport motor 12 is rotating in the forward direction, and is fed out from the tape cassette 30 when the transport motor 12 is rotating in the reverse direction. The printed medium M is rewound.

つまり、印刷装置1において、制御回路5は、搬送用モータ駆動回路11を介して搬送用モータ12を制御することで、プラテンローラ21を制御する制御装置である。 That is, in the printing device 1, the control circuit 5 is a control device that controls the platen roller 21 by controlling the transfer motor 12 via the transfer motor drive circuit 11.

エンコーダ26は、搬送用モータ12又はプラテンローラ21の駆動量(回転量)に応じて信号を制御回路5へ出力する。エンコーダ26は、搬送用モータ12の回転軸に設けられていてもよく、プラテンローラ21の回転軸に設けられていてもよい。制御回路5は、エンコーダ26からの信号に基づいて被印刷媒体Mの搬送量を特定することができる。 The encoder 26 outputs a signal to the control circuit 5 according to the drive amount (rotation amount) of the transfer motor 12 or the platen roller 21. The encoder 26 may be provided on the rotating shaft of the transport motor 12, or may be provided on the rotating shaft of the platen roller 21. The control circuit 5 can specify the amount of the printed medium M to be conveyed based on the signal from the encoder 26.

なお、搬送用モータ12がステッピングモータである場合には、制御回路5は、搬送用モータ12を駆動する搬送用モータ駆動回路11へ入力した信号(入力パルス数)に基づいて搬送量を特定することができる。従って、搬送用モータ12がステッピングモータである場合には、エンコーダ26は省略されてもよく、制御回路5は、搬送用モータ駆動回路11へ入力した信号(入力パルス数)に基づいて搬送量を特定しても良い。搬送用モータ12にステッピングモータを使用することで装置構成を簡素化することができる。 When the transport motor 12 is a stepping motor, the control circuit 5 specifies the transport amount based on the signal (number of input pulses) input to the transport motor drive circuit 11 that drives the transport motor 12. be able to. Therefore, when the transport motor 12 is a stepping motor, the encoder 26 may be omitted, and the control circuit 5 determines the transport amount based on the signal (number of input pulses) input to the transport motor drive circuit 11. You may specify it. By using a stepping motor for the transport motor 12, the device configuration can be simplified.

カッターモータ駆動回路14は、制御回路5の制御下において、カッターモータ15を駆動する。フルカッター17及びハーフカッター16は、カッターモータ15の動力によって動作し、被印刷媒体Mをフルカット又はハーフカットする。フルカットとは、被印刷媒体Mを構成する層の全てを被印刷媒体Mの幅方向に沿って切断する動作のことであり、フルカッター17は、フルカットを行う切断装置である。ハーフカットとは、被印刷媒体Mのうちのセパレータ以外の層を被印刷媒体Mの幅方向に沿って切断する動作のことであり、ハーフカッター16は、ハーフカットを行う切断装置である。 The cutter motor drive circuit 14 drives the cutter motor 15 under the control of the control circuit 5. The full cutter 17 and the half cutter 16 are operated by the power of the cutter motor 15 to fully cut or half cut the print medium M. The full cut is an operation of cutting all the layers constituting the print medium M along the width direction of the print medium M, and the full cutter 17 is a cutting device for performing a full cut. The half cut is an operation of cutting a layer other than the separator of the print medium M along the width direction of the print medium M, and the half cutter 16 is a cutting device for performing a half cut.

以上のように構成された印刷装置1では、被印刷媒体Mへの第1の印刷パターンの複数枚印刷の実行中において、フォトセンサ41の検出結果に基づいて被印刷媒体Mの終端が検出された場合に、被印刷媒体Mにおける、終端検出時点の印刷位置から終端までの間の領域に、残り印刷枚数又は印刷済み枚数を表す第2の印刷パターンが印刷されるように、プラテンローラ21とサーマルヘッド10とが制御回路5によって制御される。このような制御回路5の制御により、印刷装置1では、複数枚印刷の実行中に被印刷媒体Mの終端が検出されて複数枚印刷が途中で終了した場合に、残り印刷枚数をユーザに容易に把握させることができる。以下、このような制御回路5の制御に関し、図6及び図7を参照しながら、具体的に説明する。 In the printing apparatus 1 configured as described above, the end of the printed medium M is detected based on the detection result of the photo sensor 41 during the execution of printing of a plurality of sheets of the first print pattern on the printed medium M. In this case, the platen roller 21 and the platen roller 21 are printed so that a second print pattern representing the number of remaining prints or the number of printed sheets is printed in the area between the print position at the time of end detection and the end of the printed medium M. The thermal head 10 is controlled by the control circuit 5. By such control of the control circuit 5, in the printing apparatus 1, when the end of the printed medium M is detected during the execution of printing on a plurality of sheets and the printing on the plurality of sheets is terminated in the middle, the remaining number of printed sheets can be easily printed by the user. Can be grasped by. Hereinafter, the control of such a control circuit 5 will be specifically described with reference to FIGS. 6 and 7.

図6は、複数枚印刷処理を示すフローチャートであり、印刷方法を示すものでもある。なお、複数枚印刷処理は、ROM6に格納されたプログラムをプロセッサが実行することで制御回路5が行う処理である。この複数枚印刷処理は、ユーザが、入力部3に対するキー操作により、印刷する文字又は文字列である印刷テキスト、印刷枚数等を入力して、印刷実行指示を入力すると、開始する処理である。 FIG. 6 is a flowchart showing a plurality of sheets printing process, and also shows a printing method. The plurality of sheets printing process is a process performed by the control circuit 5 by the processor executing the program stored in the ROM 6. This multi-sheet printing process is a process that starts when the user inputs a character or a character string to be printed, a print text, a number of sheets to be printed, or the like by a key operation on the input unit 3, and inputs a print execution instruction.

複数枚印刷処理が開始すると、図6に示すように、制御回路5は、まず、入力された印刷枚数(nとする)を、印刷枚数を表す変数PrnNumに設定する(PrnNum=n)(ステップS11)。また、制御回路5は、入力された印刷テキストのテキストデータを、所定形式(例えばビットマップ形式)の印刷パターン(以下、「第1の印刷パターン」という)として印刷バッファ(RAM7の一部)に展開する。 When the printing process for a plurality of sheets is started, as shown in FIG. 6, the control circuit 5 first sets the input number of printed sheets (n) to the variable PrnNum representing the number of printed sheets (PrnNum = n) (step). S11). Further, the control circuit 5 puts the text data of the input print text into a print buffer (a part of the RAM 7) as a print pattern (hereinafter, referred to as “first print pattern”) in a predetermined format (for example, a bitmap format). expand.

次に、制御回路5は、印刷枚数カウンタを初期化する(ステップS12)。具体的には、制御回路5が、印刷枚数カウンタ値を表す変数PrnCntに0を設定する(PrnCnt=0)。 Next, the control circuit 5 initializes the print number counter (step S12). Specifically, the control circuit 5 sets 0 in the variable PrnCnt representing the number of print counter values (PrnCnt = 0).

次に、制御回路5は、被印刷媒体Mの終端を検出しない限り、印刷バッファ(RAMの一部)に展開されている第1の印刷パターンの1ライン目から最終ラインまで順に1ライン単位で印刷と被印刷媒体Mの順方向搬送とを繰り返して、1枚分の第1の印刷パターンを被印刷媒体Mに印刷する処理を行う(ステップS13~ステップS16)。詳しくは、制御回路5は、第1の印刷パターンの1ライン分を被印刷媒体Mに印刷し(ステップS13)、被印刷媒体Mを、第1の印刷パターンの1ライン分、順方向に搬送する(ステップS14)。次に、制御回路5は、フォトセンサ41の検出結果に基づいて、被印刷媒体Mの終端(媒体終端)を検出したか否かを判定し(ステップS15)、その判定結果がNOの場合は、第1の印刷パターンの最終ラインの印刷が終了したか否かを判定する(ステップS16)。ステップS16の判定結果がNOの場合は、処理がS13に戻り、第1の印刷パターンの次の1ラインについての処理が開始する。 Next, unless the control circuit 5 detects the end of the print medium M, the control circuit 5 sequentially processes the first line to the final line of the first print pattern developed in the print buffer (a part of the RAM) in units of one line. The process of printing the first print pattern for one sheet on the print medium M is performed by repeating printing and the forward transfer of the print medium M (steps S13 to S16). Specifically, the control circuit 5 prints one line of the first print pattern on the printed medium M (step S13), and conveys the printed medium M by one line of the first print pattern in the forward direction. (Step S14). Next, the control circuit 5 determines whether or not the end of the printed medium M (medium end) has been detected based on the detection result of the photo sensor 41 (step S15), and if the determination result is NO, the control circuit 5 determines. , It is determined whether or not the printing of the final line of the first print pattern is completed (step S16). If the determination result in step S16 is NO, the process returns to S13, and the process for the next line of the first print pattern starts.

一方、ステップS16の判定結果がYESの場合、制御回路5は、PrnCntをインクリメントし(PrnCnt=PrnCnt+1)(ステップS17)、PrnCnt=PrnNumであるか否かを判定する(ステップS18)。ステップS18の判定結果がNOの場合、制御回路5は、ハーフカッター16により被印刷媒体Mをハーフカットする(ステップS19)。ステップS19の後は、処理がS13に戻り、次の1枚分の第1の印刷パターンの印刷が開始する。 On the other hand, when the determination result in step S16 is YES, the control circuit 5 increments PrnCnt (PrnCnt = PrnCnt + 1) (step S17) and determines whether or not PrnCnt = PrnNum (step S18). If the determination result in step S18 is NO, the control circuit 5 half-cuts the printed medium M by the half cutter 16 (step S19). After step S19, the process returns to S13, and printing of the first print pattern for the next sheet is started.

一方、ステップS18の判定結果がYESの場合、制御回路5は、被印刷媒体Mを、所定量分、順方向に搬送する(ステップS20)。ここで、所定量分とは、サーマルヘッドによる印刷位置からフルカッター17によるフルカット位置までの距離分のことである。次に、制御回路5は、フルカッター17により被印刷媒体Mをフルカットする(ステップS21)。これにより、印刷枚数分のテープ片がハーフカットされているテープ片が作成される。ステップS21が終了すると、図6に示した複数枚印刷処理が終了する。 On the other hand, when the determination result in step S18 is YES, the control circuit 5 conveys the printed medium M in the forward direction by a predetermined amount (step S20). Here, the predetermined amount is the distance from the printing position by the thermal head to the full cut position by the full cutter 17. Next, the control circuit 5 fully cuts the printed medium M by the full cutter 17 (step S21). As a result, a tape piece in which the tape pieces corresponding to the number of printed sheets are half-cut is created. When step S21 is completed, the plurality of sheets printing process shown in FIG. 6 is completed.

一方、ステップS15の判定結果がYESの場合、制御回路5は、PrnNumからPrnCntを減算する(PrnNum-PrnCnt)ことにより、残り枚数(残り印刷枚数)を算出する(ステップS22)。 On the other hand, when the determination result in step S15 is YES, the control circuit 5 calculates the remaining number of sheets (remaining number of prints) by subtracting PrnCnt from PrnNum (PrnNum-PrnCnt) (step S22).

次に、制御回路5は、残り枚数文字列印刷処理を行う(ステップS23)。この処理では、制御回路5が、ステップS22で算出した残り印刷枚数を表すテキストのテキストデータを、所定形式(例えばビットマップ形式)の印刷パターン(以下、「第2の印刷パターン」という)として印刷バッファ(RAM7の一部)に展開し、その第2の印刷パターンを、被印刷媒体Mにおける、終端検出時点の印刷位置から終端までの間の領域(以下、「終端領域」という)に印刷する。この終端領域の搬送方向長さは、図4に示した距離Lになる。なお、第2の印刷パターンの印刷は、上述のステップS13からステップS16(但しステップS15を除く)と同様にして行われる。これにより、複数枚印刷の実行中に被印刷媒体Mの終端が検出された場合には、その終端までの間に残り印刷枚数が印刷されるようになるので、ユーザは、印刷済み枚数を数えることなく容易に把握することができる。ステップS23が終了すると、図6に示した複数枚印刷処理が終了する。 Next, the control circuit 5 performs a character string printing process for the remaining number of sheets (step S23). In this process, the control circuit 5 prints the text data of the text representing the remaining number of prints calculated in step S22 as a print pattern (hereinafter, referred to as “second print pattern”) in a predetermined format (for example, bitmap format). It is expanded into a buffer (a part of RAM 7), and the second print pattern is printed in the area (hereinafter referred to as "termination area") between the print position at the time of end detection and the end in the printed medium M. .. The length of this end region in the transport direction is the distance L shown in FIG. The printing of the second print pattern is performed in the same manner as in steps S13 to S16 (excluding step S15) described above. As a result, when the end of the printed medium M is detected during the execution of printing on a plurality of sheets, the remaining number of prints is printed before the end, so that the user counts the number of printed sheets. It can be easily grasped without any problems. When step S23 is completed, the plurality of sheets printing process shown in FIG. 6 is completed.

図7は、複数枚印刷の実行中に被印刷媒体Mの終端が検出された場合の印刷結果を例示する図である。この例では、印刷テキスト「あいう」の複数枚印刷の実行中に被印刷媒体Mの終端が検出され、被印刷媒体Mにおける終端領域R(終端検出時点の印刷位置から終端までの間の領域)に、残り印刷枚数として「残り15」が印刷されている。これにより、ユーザは、残り印刷枚数が「15」であることを容易に把握することができる。なお、終端領域Rの搬送方向長さは、図4に示す距離L、即ち、サーマルヘッド10による印刷位置からフォトセンサ41による検出位置までの距離Lになる。 FIG. 7 is a diagram illustrating a printing result when the end of the printed medium M is detected during execution of printing on a plurality of sheets. In this example, the end of the printed medium M is detected during the execution of printing of multiple sheets of the print text "Ai", and the end area R in the printed medium M (the area between the print position at the time of end detection and the end). In addition, "remaining 15" is printed as the remaining number of prints. As a result, the user can easily grasp that the number of remaining prints is "15". The length of the end region R in the transport direction is the distance L shown in FIG. 4, that is, the distance L from the printing position by the thermal head 10 to the detection position by the photo sensor 41.

以上のように、印刷装置1によれば、複数枚印刷の実行中に被印刷媒体Mの終端が検出されて複数枚印刷が途中で終了した場合に、残り印刷枚数をユーザに容易に把握させることができる。 As described above, according to the printing apparatus 1, when the end of the printing medium M is detected during the execution of printing on a plurality of sheets and the printing on the plurality of sheets is terminated in the middle, the user can easily grasp the number of remaining prints. be able to.

上述した実施形態は、発明の理解を容易にするために具体例を示したものであり、本発明はこれらの実施形態に限定されるものではない。印刷装置、印刷方法、及び、プログラムは、特許請求の範囲の記載を逸脱しない範囲において、さまざまな変形、変更が可能である。 The above-described embodiments show specific examples for facilitating the understanding of the invention, and the present invention is not limited to these embodiments. The printing apparatus, printing method, and program can be variously modified and modified without departing from the description of the claims.

例えば、図6に示した複数枚印刷処理では、複数枚印刷の実行中に被印刷媒体Mの終端が検出された場合に、被印刷媒体Mの終端領域に残り印刷枚数を印刷したが、残り印刷枚数の代わりに印刷済み枚数を印刷するようにしてもよい。 For example, in the multi-sheet printing process shown in FIG. 6, when the end of the printed medium M is detected during the execution of multi-sheet printing, the remaining number of prints is printed in the terminal area of the printed medium M, but the remaining number of prints is printed. The number of printed sheets may be printed instead of the number of printed sheets.

また、図6に示した複数枚印刷処理におけるステップS23の残り枚数文字列印刷処理において、制御回路5は、被印刷媒体Mの終端検出時点で印刷途中の第1の印刷パターンの未印刷部分と第2の印刷パターンとを終端領域に印刷可能である場合に、その未印刷部分と第2の印刷パターンとを終端領域に印刷するように、プラテンローラ21とサーマルヘッド10とを制御するようにしてもよい。但し、この場合は、第2の印刷パターンとして印刷される残り印刷枚数は、ステップS22で算出された残り印刷枚数から1を引いた値になる。図8は、このような変形例に係る印刷結果を例示する図である。この例では、印刷テキスト「かき」の複数枚印刷の実行中に被印刷媒体Mの終端が検出され、当該検出時点で印刷途中の「かき」の未印刷部分(「き」の右半分)と残り印刷枚数を表す「残り10」とを終端領域Rに印刷可能であったために、その未印刷部分(「き」の右半分)と「残り10」とが終端領域Rに印刷されている。このような変形例によれば、被印刷媒体Mの終端領域を用いて印刷途中の第1の印刷パターンの印刷を完結できるので、第1の印刷パターン1枚分の、被印刷媒体Mの節約が可能になる。 Further, in the remaining number of sheets character string printing process in step S23 in the plurality of sheets printing process shown in FIG. 6, the control circuit 5 is the unprinted portion of the first print pattern in the middle of printing at the time of detecting the end of the printed medium M. When the second print pattern can be printed in the end area, the platen roller 21 and the thermal head 10 are controlled so that the unprinted portion and the second print pattern are printed in the end area. You may. However, in this case, the remaining number of prints to be printed as the second print pattern is a value obtained by subtracting 1 from the remaining number of prints calculated in step S22. FIG. 8 is a diagram illustrating a printing result according to such a modification. In this example, the end of the printed medium M is detected during the execution of printing of multiple sheets of the print text "Kaki", and at the time of the detection, the unprinted part of the "Kaki" in the middle of printing (the right half of the "Ki") Since the "remaining 10" representing the number of remaining prints could be printed in the terminal area R, the unprinted portion (right half of "ki") and the "remaining 10" are printed in the terminal area R. According to such a modification, the printing of the first print pattern in the middle of printing can be completed by using the terminal area of the print medium M, so that the print medium M can be saved by one sheet of the first print pattern. Will be possible.

なお、制御回路5は、被印刷媒体Mの終端検出時点で印刷途中の第1の印刷パターンの未印刷部分と第2の印刷パターンとを終端領域に印刷可能ではないものの、その未印刷部分を終端領域に印刷可能である場合に、その未印刷部分のみを終端領域に印刷するように、プラテンローラ21とサーマルヘッド10とを制御するようにしてもよい。図9は、そのような変形例に係る印刷結果を例示する図である。この例では、印刷テキスト「さしすせ」の複数枚印刷の実行中に被印刷媒体Mの終端が検出され、当該検出時点で印刷途中の「さしすせ」の未印刷部分(「す」の右半分と「せ」)と残り印刷枚数とを終端領域Rに印刷可能ではないものの、その未印刷部分(「す」の右半分と「せ」)を終端領域Rに印刷可能であったために、その未印刷部分(「す」の右半分と「せ」)のみが終端領域Rに印刷されている。このような変形例によれば、残り印刷枚数の印刷は行われないものの、第1の印刷パターン1枚分の、被印刷媒体Mの節約が可能になる。 Although the control circuit 5 cannot print the unprinted portion of the first print pattern and the second print pattern in the terminal area during printing at the time of detecting the end of the printed medium M, the unprinted portion is printed. When printing is possible in the terminal area, the platen roller 21 and the thermal head 10 may be controlled so that only the unprinted portion is printed in the terminal area. FIG. 9 is a diagram illustrating a print result according to such a modification. In this example, the end of the printed medium M is detected during the execution of printing of multiple sheets of the print text "Sashisuse", and the unprinted portion of the "Sashisuse" in the middle of printing at the time of the detection ("Sushisuse"). The right half of "", "se") and the remaining number of prints cannot be printed in the terminal area R, but the unprinted part (the right half of "su" and "se") can be printed in the terminal area R. Therefore, only the unprinted portion (the right half of "su" and "se") is printed in the terminal area R. According to such a modification, although the remaining number of printed sheets is not printed, it is possible to save the printed medium M for one first print pattern.

上述の変形例において、被印刷媒体Mの終端検出時点で印刷途中の第1の印刷パターンの未印刷部分と第2の印刷パターンとを終端領域に印刷可能であるか否かの判定や、その未印刷部分を終端領域に印刷可能であるか否かの判定は、その未印刷部分のライン数分の搬送方向長さと、第2の印刷パターンのライン数分の搬送方向長さと、距離Lとに基づいて、行うことができる。 In the above-described modification, it is determined whether or not the unprinted portion of the first print pattern and the second print pattern during printing at the time of detecting the end of the printed medium M can be printed in the end area, and the determination thereof. Whether or not the unprinted portion can be printed in the terminal area is determined by the transport direction length corresponding to the number of lines of the unprinted portion, the transport direction length corresponding to the number of lines of the second print pattern, and the distance L. Can be done based on.

また、上述した実施形態では、印刷装置1が入力部3と表示部4を有する具体例を示したが、印刷装置1は、入力部3や表示部4を有しなくてもよく、印刷テキストデータや印刷実行指示等を印刷装置とは別の電子機器から受信してもよい。
また、上述した実施形態において、制御回路5は、フォトセンサ41の検出結果に基づいて被印刷媒体Mの終端に関する情報として被印刷媒体の終端を検出するようにしたが、これに限らず、例えば、エンコーダ26からの信号に基づいて被印刷媒体Mの終端に関する情報を検出するようにしてもよい。この場合、制御回路5は、エンコーダ26からの信号に基づいて特定した被印刷媒体Mの搬送量から、被印刷媒体Mの終端までの残りの長さ(搬送方向長さ)が所定の長さ(例えば上述の距離Lに相当する長さ)になったことを、被印刷媒体Mの終端に関する情報として検出するようにしてもよい。そして、それを検出したら、第2の印刷パターンを印刷するように制御してもよい。なお、この場合のエンコーダ26は、被印刷媒体Mの終端に関する情報を検出するための検出部でもある。
Further, in the above-described embodiment, a specific example in which the printing device 1 has the input unit 3 and the display unit 4 is shown, but the printing device 1 does not have to have the input unit 3 and the display unit 4, and the print text. Data, print execution instructions, and the like may be received from an electronic device other than the printing device.
Further, in the above-described embodiment, the control circuit 5 detects the end of the printed medium as information regarding the end of the printed medium M based on the detection result of the photosensor 41, but the present invention is not limited to this, for example. , Information regarding the termination of the printed medium M may be detected based on the signal from the encoder 26. In this case, the control circuit 5 has a predetermined length (length in the transport direction) from the transfer amount of the printed medium M specified based on the signal from the encoder 26 to the end of the printed medium M. (For example, the length corresponding to the above-mentioned distance L) may be detected as information regarding the end of the printed medium M. Then, when it is detected, it may be controlled to print the second print pattern. The encoder 26 in this case is also a detection unit for detecting information regarding the end of the print medium M.

以下、本願の出願当初の特許請求の範囲に記載された発明を付記する。
[付記1]
被印刷媒体を搬送する搬送部と、
前記被印刷媒体に印刷を行う印刷部と、
前記被印刷媒体の終端に関する情報を検出するための検出部と、
前記被印刷媒体への第1の印刷パターンの複数枚印刷の実行中において、前記検出部の検出結果に基づいて前記被印刷媒体の終端に関する情報を検出した場合に、前記被印刷媒体における、前記検出時点の印刷位置から前記終端までの間の領域に、残り印刷枚数又は印刷済み枚数を表す第2の印刷パターンを印刷するように、前記搬送部と前記印刷部とを制御する制御部と
を備えることを特徴とする印刷装置。
[付記2]
前記検出部は、前記被印刷媒体の搬送路上であって前記印刷部により印刷が行われる位置よりも上流側に設けられる
ことを特徴とする付記1記載の印刷装置。
[付記3]
前記制御部は、前記被印刷媒体への前記第1の印刷パターンの複数枚印刷の実行中において、前記検出部の検出結果に基づいて前記被印刷媒体の終端に関する情報を検出した場合であって、前記検出時点で印刷途中の前記第1の印刷パターンの未印刷部分と前記第2の印刷パターンとを前記領域に印刷可能である場合は、前記検出時点で印刷途中の前記第1の印刷パターンの未印刷部分と前記第2の印刷パターンとを前記領域に印刷するように、前記搬送部と前記印刷部とを制御する
ことを特徴とする付記1又は2記載の印刷装置。
[付記4]
被印刷媒体への第1の印刷パターンの複数枚印刷の実行中において、検出部の検出結果に基づいて前記被印刷媒体の終端に関する情報を検出した場合に、前記被印刷媒体における、前記検出時点の印刷位置から前記終端までの間の領域に、残り印刷枚数又は印刷済み枚数を表す第2の印刷パターンを印刷する
ことを特徴とする印刷方法。
[付記5]
被印刷媒体への第1の印刷パターンの複数枚印刷の実行中において、検出部の検出結果に基づいて前記被印刷媒体の終端に関する情報を検出した場合に、前記被印刷媒体における、前記検出時点の印刷位置から前記終端までの間の領域に、残り印刷枚数又は印刷済み枚数を表す第2の印刷パターンを印刷するように制御する
処理をプロセッサに実行させることを特徴とするプログラム。
Hereinafter, the inventions described in the scope of claims at the time of filing the application of the present application will be added.
[Appendix 1]
A transport unit that transports the print medium and
A printing unit that prints on the printed medium,
A detection unit for detecting information regarding the end of the printed medium, and a detection unit.
When information regarding the end of the printable medium is detected based on the detection result of the detection unit during the execution of printing of a plurality of sheets of the first print pattern on the printable medium, the said in the printable medium. A control unit that controls the transport unit and the print unit is provided so as to print a second print pattern representing the remaining number of prints or the number of printed sheets in the area from the print position at the time of detection to the end. A printing device characterized by being provided.
[Appendix 2]
The printing apparatus according to Appendix 1, wherein the detection unit is provided on the transport path of the printing medium and on the upstream side of the position where printing is performed by the printing unit.
[Appendix 3]
The control unit detects information about the end of the printable medium based on the detection result of the detection unit during the execution of printing of a plurality of sheets of the first print pattern on the printable medium. If the unprinted portion of the first print pattern and the second print pattern that are being printed at the time of detection can be printed in the area, the first print pattern that is being printed at the time of detection is possible. The printing apparatus according to Appendix 1 or 2, wherein the transport unit and the printing unit are controlled so as to print the unprinted portion and the second printing pattern in the area.
[Appendix 4]
When information regarding the end of the print medium is detected based on the detection result of the detection unit during the execution of printing of a plurality of sheets of the first print pattern on the print medium, the detection time point in the print medium. A printing method comprising printing a second print pattern representing the remaining number of prints or the number of printed sheets in the area from the print position to the end of the print.
[Appendix 5]
When information regarding the end of the printed medium is detected based on the detection result of the detection unit during the execution of printing of a plurality of sheets of the first print pattern on the printed medium, the detection time point on the printed medium. A program characterized by causing a processor to execute a process of controlling to print a second print pattern representing the remaining number of prints or the number of printed sheets in the area from the print position to the end of the print.

1 印刷装置
2 装置筐体
2a 排出口
3 入力部
4 表示部
5 制御回路
6 ROM
7 RAM
8 表示駆動回路
9 ヘッド駆動回路
10 サーマルヘッド
10a 発熱素子
11 搬送用モータ駆動回路
12 搬送用モータ
13 サーミスタ
14 カッターモータ駆動回路
15 カッターモータ
16 ハーフカッター
17 フルカッター
18 開閉蓋
18a ボタン
18b 窓
19 カセット収容部
20 カセット受け部
21 プラテンローラ
22 テープコア係合軸
24 テープ幅検出スイッチ
26 エンコーダ
30 テープカセット
31 カセットケース
32 テープコア
36 サーマルヘッド被挿入部
37 係合部
41 フォトセンサ
M 被印刷媒体
1 Printing device 2 Device housing 2a Outlet 3 Input section 4 Display section 5 Control circuit 6 ROM
7 RAM
8 Display drive circuit 9 Head drive circuit 10 Thermal head 10a Heat generation element 11 Transfer motor drive circuit 12 Transfer motor 13 Thermista 14 Cutter motor drive circuit 15 Cutter motor 16 Half cutter 17 Full cutter 18 Open / close lid 18a Button 18b Window 19 Cassette accommodation Part 20 Cassette receiving part 21 Platen roller 22 Platen roller 22 Tape core engaging shaft 24 Tape width detection switch 26 Encoder 30 Tape cassette 31 Cassette case 32 Tape core 36 Thermal head Inserted part 37 Engaging part 41 Photosensor M Printed medium

Claims (5)

被印刷媒体を搬送する搬送部と、
前記被印刷媒体に印刷を行う印刷部と、
前記被印刷媒体の終端に関する情報を検出するための検出部と、
前記被印刷媒体への第1の印刷パターンの複数枚印刷の実行中において、前記検出部の検出結果に基づいて前記被印刷媒体の終端に関する情報を検出した場合に、前記被印刷媒体における、前記検出時点の印刷位置から前記終端までの間の領域に、残り印刷枚数又は印刷済み枚数を表す第2の印刷パターンを印刷するように、前記搬送部と前記印刷部とを制御する制御部と
を備えることを特徴とする印刷装置。
A transport unit that transports the print medium and
A printing unit that prints on the printed medium,
A detection unit for detecting information regarding the end of the printed medium, and a detection unit.
When information regarding the end of the printable medium is detected based on the detection result of the detection unit during the execution of printing of a plurality of sheets of the first print pattern on the printable medium, the said in the printable medium. A control unit that controls the transport unit and the print unit is provided so as to print a second print pattern representing the remaining number of prints or the number of printed sheets in the area from the print position at the time of detection to the end. A printing device characterized by being provided.
前記検出部は、前記被印刷媒体の搬送路上であって前記印刷部により印刷が行われる位置よりも上流側に設けられる
ことを特徴とする請求項1記載の印刷装置。
The printing apparatus according to claim 1, wherein the detection unit is provided on the transport path of the printing medium and on the upstream side of a position where printing is performed by the printing unit.
前記制御部は、前記被印刷媒体への前記第1の印刷パターンの複数枚印刷の実行中において、前記検出部の検出結果に基づいて前記被印刷媒体の終端に関する情報を検出した場合であって、前記検出時点で印刷途中の前記第1の印刷パターンの未印刷部分と前記第2の印刷パターンとを前記領域に印刷可能である場合は、前記検出時点で印刷途中の前記第1の印刷パターンの未印刷部分と前記第2の印刷パターンとを前記領域に印刷するように、前記搬送部と前記印刷部とを制御する
ことを特徴とする請求項1又は2記載の印刷装置。
The control unit detects information about the end of the printable medium based on the detection result of the detection unit during the execution of printing of a plurality of sheets of the first print pattern on the printable medium. If the unprinted portion of the first print pattern and the second print pattern that are being printed at the time of detection can be printed in the area, the first print pattern that is being printed at the time of detection is possible. The printing apparatus according to claim 1 or 2, wherein the transport unit and the print unit are controlled so that the unprinted portion and the second print pattern are printed in the area.
被印刷媒体への第1の印刷パターンの複数枚印刷の実行中において、検出部の検出結果に基づいて前記被印刷媒体の終端に関する情報を検出した場合に、前記被印刷媒体における、前記検出時点の印刷位置から前記終端までの間の領域に、残り印刷枚数又は印刷済み枚数を表す第2の印刷パターンを印刷する
ことを特徴とする印刷方法。
When information regarding the end of the printed medium is detected based on the detection result of the detection unit during the execution of printing of a plurality of sheets of the first print pattern on the printed medium, the detection time point on the printed medium. A printing method comprising printing a second print pattern representing the remaining number of prints or the number of printed sheets in the area from the print position to the end of the print.
被印刷媒体への第1の印刷パターンの複数枚印刷の実行中において、検出部の検出結果に基づいて前記被印刷媒体の終端に関する情報を検出した場合に、前記被印刷媒体における、前記検出時点の印刷位置から前記終端までの間の領域に、残り印刷枚数又は印刷済み枚数を表す第2の印刷パターンを印刷するように制御する
処理をプロセッサに実行させることを特徴とするプログラム。
When information regarding the end of the printed medium is detected based on the detection result of the detection unit during the execution of printing of a plurality of sheets of the first print pattern on the printed medium, the detection time point on the printed medium. A program characterized by causing a processor to execute a process of controlling to print a second print pattern representing the remaining number of prints or the number of printed sheets in the area from the print position to the end of the print.
JP2020158321A 2020-09-23 2020-09-23 PRINTING DEVICE, PRINTING METHOD, AND PROGRAM Active JP7140166B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020158321A JP7140166B2 (en) 2020-09-23 2020-09-23 PRINTING DEVICE, PRINTING METHOD, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020158321A JP7140166B2 (en) 2020-09-23 2020-09-23 PRINTING DEVICE, PRINTING METHOD, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2022052129A true JP2022052129A (en) 2022-04-04
JP7140166B2 JP7140166B2 (en) 2022-09-21

Family

ID=80948859

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020158321A Active JP7140166B2 (en) 2020-09-23 2020-09-23 PRINTING DEVICE, PRINTING METHOD, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP7140166B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11301078A (en) * 1998-04-27 1999-11-02 Ricoh Co Ltd Composite apparatus
JPH11338653A (en) * 1998-05-29 1999-12-10 Canon Inc Printing method, printer and medium for storing printing program
JP2002096524A (en) * 2000-09-22 2002-04-02 Casio Comput Co Ltd Printer
JP2007007964A (en) * 2005-06-29 2007-01-18 Sato Corp Label printer and label continuous body
JP2013244656A (en) * 2012-05-25 2013-12-09 Seiko Epson Corp Printer and its printing control method
JP2017007111A (en) * 2015-06-17 2017-01-12 サトーホールディングス株式会社 Label printing device and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11301078A (en) * 1998-04-27 1999-11-02 Ricoh Co Ltd Composite apparatus
JPH11338653A (en) * 1998-05-29 1999-12-10 Canon Inc Printing method, printer and medium for storing printing program
JP2002096524A (en) * 2000-09-22 2002-04-02 Casio Comput Co Ltd Printer
JP2007007964A (en) * 2005-06-29 2007-01-18 Sato Corp Label printer and label continuous body
JP2013244656A (en) * 2012-05-25 2013-12-09 Seiko Epson Corp Printer and its printing control method
JP2017007111A (en) * 2015-06-17 2017-01-12 サトーホールディングス株式会社 Label printing device and program

Also Published As

Publication number Publication date
JP7140166B2 (en) 2022-09-21

Similar Documents

Publication Publication Date Title
JP4001132B2 (en) Tape printer
WO2004000564A1 (en) Tape printer and tape cassette
JP7184121B2 (en) PRINTING DEVICE, CONTROL METHOD, AND PROGRAM
CN110014751B (en) Printing apparatus, printing control method, and storage medium
US10232643B2 (en) Printing apparatus, control method and computer readable recording medium
JP7183604B2 (en) PRINTING DEVICE, CONTROL METHOD, AND PROGRAM
JP6717328B2 (en) Printing device, control method, and program
JP7140166B2 (en) PRINTING DEVICE, PRINTING METHOD, AND PROGRAM
JP2004291534A (en) Tape printing device and program
JPH07205529A (en) Tape printer
JP2022018324A (en) Printer, printed medium width derivation method, and program
JP3873162B2 (en) Printing device
JP7243351B2 (en) ELECTRONIC DEVICE, PRINTED IMAGE DISPLAY METHOD, PROGRAM
JP7088233B2 (en) Printing equipment, printing methods, and programs
JP7098975B2 (en) Cutting device, tape printing device, and cutting method
JP7318254B2 (en) PRINTING DEVICE, PRINT CONTROL METHOD, AND PROGRAM
JP2019113990A (en) Printer, printing method, and program
JP2022047166A (en) Printing device, printing method and program
JP6717327B2 (en) Printing device, printing method, and program
JP7024363B2 (en) Printing device, control method of printing device, and program
JP7021531B2 (en) Printing equipment, printing method, and program
JP2020044758A (en) Printer, control method and program
JP7167690B2 (en) PRINTING DEVICE, CONTROL METHOD, AND PROGRAM
JP2018051832A (en) Printer, control method of printer and program
JP2007090741A (en) Printing apparatus and printing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210706

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220510

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220708

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: 20220809

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220822

R150 Certificate of patent or registration of utility model

Ref document number: 7140166

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150