JP4696984B2 - Printing apparatus and printing program - Google Patents

Printing apparatus and printing program Download PDF

Info

Publication number
JP4696984B2
JP4696984B2 JP2006072626A JP2006072626A JP4696984B2 JP 4696984 B2 JP4696984 B2 JP 4696984B2 JP 2006072626 A JP2006072626 A JP 2006072626A JP 2006072626 A JP2006072626 A JP 2006072626A JP 4696984 B2 JP4696984 B2 JP 4696984B2
Authority
JP
Japan
Prior art keywords
printing
label
printing apparatus
value
discharge port
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
Application number
JP2006072626A
Other languages
Japanese (ja)
Other versions
JP2007245559A (en
Inventor
秀和 石井
明彦 丹羽
智基 宮下
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2006072626A priority Critical patent/JP4696984B2/en
Publication of JP2007245559A publication Critical patent/JP2007245559A/en
Application granted granted Critical
Publication of JP4696984B2 publication Critical patent/JP4696984B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Printers Characterized By Their Purpose (AREA)
  • Handling Of Sheets (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Controlling Sheets Or Webs (AREA)
  • Folding Of Thin Sheet-Like Materials, Special Discharging Devices, And Others (AREA)

Description

本発明は、印刷装置及び印刷プログラムに関するものであり、詳細には、台紙から剥離されるシール状の被印刷媒体に印刷を行う印刷装置及び当該印刷装置で実行される印刷プログラムに関するものである。   The present invention relates to a printing apparatus and a printing program, and more particularly to a printing apparatus that performs printing on a seal-like print medium peeled from a mount and a printing program that is executed by the printing apparatus.

従来、台紙から剥離されるシール状の被印刷媒体に印刷を行う印刷装置において、印刷されたシールを台紙から剥離する機能を有する印刷装置が知られている。このような印刷装置では、台紙から剥離されたシールが排出口から排出されるので、ユーザはシールを台紙からわざわざ剥がす手間が省けるという利点がある。   2. Description of the Related Art Conventionally, in a printing apparatus that performs printing on a seal-like print medium that is peeled off from a mount, a printing apparatus having a function of peeling a printed seal from the mount is known. In such a printing apparatus, since the seal peeled from the mount is discharged from the discharge port, there is an advantage that the user can save time and effort to remove the seal from the mount.

また、従来、印刷の行われた用紙が排出ビンに排出された後に、別の印刷ジョブの印刷が行われた用紙が同じ排出ビンに排出されると、別々の印刷ジョブの用紙が混在してしまうという問題点から、先に印刷された印刷ジョブの用紙が取り除かれるまで次の印刷ジョブの印刷を停止させる画像形成装置に対して、先に印刷された用紙が取り除かれないことによる印刷ジョブの滞留を防ぐために、特定の条件が満足された場合には次の印刷ジョブの実行開始を許可する画像形成装置が提案されている(特許文献1)。言い換えれば、特許文献1に記載の画像形成装置では、特定の条件が満足されない場合には印刷ジョブの実行を停止している。なお、この特定の条件とは、印刷ジョブが同じユーザであることや、画像形成装置に複数の排出ビンがあり異なる排出ビンを排出先として指定していること、先の印刷ジョブの用紙の排出から所定時間が経過していることである。
特開2003−320732号公報
Also, conventionally, when paper that has been printed is discharged to the discharge bin and then paper that has been printed for another print job is discharged to the same discharge bin, paper for different print jobs is mixed. Because of this problem, an image forming apparatus that stops printing of the next print job until the paper of the previously printed print job is removed is not used for the print job. In order to prevent stagnation, an image forming apparatus that permits the start of execution of the next print job when a specific condition is satisfied has been proposed (Patent Document 1). In other words, in the image forming apparatus described in Patent Document 1, when a specific condition is not satisfied, execution of the print job is stopped. Note that the specific conditions are that the print job is the same user, that the image forming apparatus has a plurality of discharge bins, and that different discharge bins are specified as discharge destinations. The predetermined time has passed since
Japanese Patent Laid-Open No. 2003-320732

しかしながら、印刷されたシールを台紙から剥離する機能を有する印刷装置では、シールの長さが長い場合などは特に排出口から排出されたシールが垂れ下がり、印刷装置の側面や下に貼り付いてしまうことがあるという問題点があった。これは、特許文献1に記載の印刷装置のように、次の印刷ジョブを停止しても、1つの印刷ジョブの印刷を行ううちに発生する問題点であるので、回避することができない。   However, in a printing device that has a function of peeling the printed sticker from the mount, the sticker discharged from the discharge port hangs down and sticks to the side or lower side of the printing device, particularly when the length of the sticker is long. There was a problem that there was. This is a problem that occurs during printing of one print job even if the next print job is stopped, as in the printing apparatus described in Patent Document 1, and cannot be avoided.

本発明は、上述の問題点を解決するためになされたものであり、シール状の被印刷媒体を台紙から剥離させる印刷装置であって、剥離されたシール状の被印刷媒体の排出後に周囲に張り付くのを防ぐ印刷装置及び印刷プログラムを提供することを目的とする。   The present invention has been made to solve the above-described problems, and is a printing apparatus that peels off a seal-like print medium from a mount, and after the peeled-off seal-like print medium is discharged, It is an object of the present invention to provide a printing apparatus and a printing program that prevent sticking.

上記課題を解決するため、請求項1に係る発明の印刷装置では、多数のラベルが台紙に粘着された帯状のラベル用紙に印刷データを印刷する印刷手段と、前記印刷手段による印刷が行われた前記ラベル用紙の前記ラベルを前記台紙から剥離する剥離手段と、当該剥離手段により剥離された前記ラベルを排出する排出口と、当該排出口から排出された前記ラベルを検出するラベル検出手段とを備えた印刷装置であって、前記ラベル検出手段は、前記印刷装置の前記排出口の設けられている側面において、前記排出口よりも下側に設けられ、前記ラベル検出手段により前記ラベルを検出したか否かを、前記印刷手段により所定量の印刷が実施されるごと、所定量の搬送が実施されるごと、又は、所定時間ごとに判断する検出判断手段と、当該検出判断手段により前記ラベルを検出したと判断された場合には、前記印刷手段による印刷及び前記ラベルの排出を停止する印刷停止制御手段とを備え、前記所定量又は前記所定時間は、印刷の開始から終了に向かい一定量又は一定時間ずつ少なくなることを特徴とする。 In order to solve the above problems, in the printing apparatus according to the first aspect of the present invention, a printing unit that prints print data on a strip-shaped label sheet in which a number of labels are adhered to a mount, and printing by the printing unit are performed. A peeling means for peeling the label of the label paper from the mount; a discharge port for discharging the label peeled by the peeling means; and a label detection means for detecting the label discharged from the discharge port. Whether the label detection means is provided below the discharge port on the side surface of the printing apparatus where the discharge port is provided, and whether the label is detected by the label detection unit. as to whether or not, every time a predetermined amount of printing is carried out by the printing means, every time the predetermined amount of conveyance is carried out, or the detection determining means for determining for each predetermined time, the detection If it is determined that it has detected the label by disconnection means, and a print stop control means for stopping the printing and ejection of the label by the printing means, the predetermined amount or the predetermined time from the start of printing characterized Rukoto of less by a predetermined amount or a predetermined time toward the end.

また、請求項に係る発明の印刷プログラムでは、請求項1に記載の各種処理手段としてコンピュータを機能させる。 In the printing program of the invention according to claim 2 , the computer is caused to function as various processing means according to claim 1 .

請求項1に係る発明の印刷装置では、ラベル検出手段は、印刷装置の排出口の設けられている側面において、排出口よりも下側に設けられ、検出判断手段は、ラベル検出手段によりラベルを検出したか否かを判断し、印刷停止制御手段は、検出判断手段によりラベルを検出したと判断された場合には、印刷手段による印刷、及びラベルの排出を停止することができる。したがって、排出され、垂れ下がったラベルが印刷装置の側面や印刷装置の周囲に貼り付いてしまうことがない。また、ラベル検出判断手段による判断は、印刷手段により所定量の印刷が実施されるごと、又は、所定時間ごとに実施することができる。したがって、ラベル検出判断手段による判断は1回だけでなく、所定量の印刷が実施されるごと、所定量の搬送が実施されるごと、又は、所定時間ごとに実施されるので、適宜検出が行われ、ラベルが検出される位置まではラベルが排出され、周囲には貼り付かずに、より多くの量を排出することができる。また、所定量又は所定時間は、印刷の開始から終了に向かい一定量又は一定時間ずつ少なくなるので、周囲に貼り付く可能性が高くなるにつれ、短い間隔でラベル検出判断手段による判断が行われるので、ラベルが周囲に貼り付く可能性が低い際に頻繁に検出が行われることがないので、負担がかからない。また、ラベル検出判断手段によりラベルが検出されず、次にラベル検出判断手段による判断が行われるまでにラベルが周囲に貼り付いてしまう可能性が低い。 In the printing apparatus according to the first aspect of the present invention, the label detection means is provided below the discharge opening on the side surface of the printing apparatus where the discharge opening is provided, and the detection judging means is configured to label the label by the label detection means. The printing stop control means can stop the printing and the discharge of the label by the printing means when it is determined that the label is detected by the detection determining means. Therefore, the discharged and sagging label does not stick to the side surface of the printing apparatus or the periphery of the printing apparatus. The determination by the label detection determination unit can be performed every time a predetermined amount of printing is performed by the printing unit or every predetermined time. Therefore, the determination by the label detection determination means is performed not only once but also every time a predetermined amount of printing is carried out, every time a predetermined amount of conveyance is carried out, or every predetermined time. In other words, the label is discharged up to the position where the label is detected, and a larger amount can be discharged without being attached to the periphery. In addition, since the predetermined amount or the predetermined time is decreased by a certain amount or a predetermined time from the start to the end of printing, the determination by the label detection determination unit is performed at a short interval as the possibility of sticking to the periphery increases. Since the detection is not frequently performed when the possibility that the label sticks to the surroundings is low, there is no burden. Further, there is a low possibility that the label is not detected by the label detection determination means and the label sticks to the periphery until the next determination by the label detection determination means.

また、請求項に係る発明の印刷プログラムでは、請求項1に記載の各種処理手段としてコンピュータを機能させることができ、これによって請求項1に記載の効果を奏することができる。 Further, in the printing program of the invention according to claim 2, it is possible that causes a computer to function as various processing means according to claim 1, whereby it is possible to achieve the effect according to claim 1.

以下、本発明の実施の形態かを図面を参照して説明する。本発明の印刷装置では、図1に示すようなテープ状の台紙811に多数のラベル812が等間隔で配置され、粘着されたラベル用紙81を印刷することができる。図1は、ラベル用紙81の平面図である。なお、台紙811のラベル812が粘着されていない面を台紙811の裏面、ラベル812が貼り付けられている面を台紙811の表面といい、ラベル812の台紙811に貼り付けられている面をラベル812の粘着面、印刷される面を表面とする。なお、ラベル812の形状、配置位置、配置数は図1に示す例に限らない。また、本実施の形態のラベル812は白色である。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In the printing apparatus of the present invention, a large number of labels 812 are arranged at equal intervals on a tape-shaped mount 811 as shown in FIG. 1, and an adhesive label sheet 81 can be printed. FIG. 1 is a plan view of the label paper 81. The surface of the mount 811 where the label 812 is not adhered is called the back surface of the mount 811, the surface where the label 812 is attached is called the front surface of the mount 811, and the surface attached to the mount 811 of the label 812 is labeled. The surface to be printed is the adhesive surface 812 and the surface to be printed. Note that the shape, arrangement position, and number of arrangement of the label 812 are not limited to the example shown in FIG. Further, the label 812 of the present embodiment is white.

印刷装置1では、このような台紙811に粘着されたラベル812に印刷を行い、ラベル812を台紙811から剥離して、排出口99(図2参照)から排出することができる。ラベル812は剥離されてから排出口99から排出されるので、ラベル812の長さが排出口から受取皿10の底面壁10dまでの長さよりも長いと、底面壁10dや印刷装置1の正面壁2aに貼り付いてしまう(図2参照)。そこで、本発明の印刷装置1では、排出口99から排出されたラベル812が受取皿10の底面壁10dに到達する前に排出を停止させる。なお、印刷装置1は、図1に示すようなラベル用紙以外にも、テープに印刷することができる。   In the printing apparatus 1, printing can be performed on the label 812 adhered to the mount 811, and the label 812 can be peeled from the mount 811 and discharged from the discharge port 99 (see FIG. 2). Since the label 812 is peeled and discharged from the discharge port 99, if the length of the label 812 is longer than the length from the discharge port to the bottom wall 10d of the receiving tray 10, the bottom wall 10d and the front wall of the printing apparatus 1 are used. 2a (see FIG. 2). Therefore, in the printing apparatus 1 of the present invention, the discharge is stopped before the label 812 discharged from the discharge port 99 reaches the bottom wall 10d of the receiving tray 10. Note that the printing apparatus 1 can print on a tape in addition to the label paper as shown in FIG.

以下、図2乃至図4を参照して、印刷装置1について説明する。図2は、印刷装置1の斜視図であり、図3は、印刷装置1の右側面図であり、図4は、印刷装置1の電気的構成を示すブロック図である。   Hereinafter, the printing apparatus 1 will be described with reference to FIGS. 2 to 4. FIG. 2 is a perspective view of the printing apparatus 1, FIG. 3 is a right side view of the printing apparatus 1, and FIG. 4 is a block diagram illustrating an electrical configuration of the printing apparatus 1.

図2及び図3に示すように、印刷装置1の本体筐体2は正面視縦長の略長方形の正面壁2a、正面視略正方形の第一右側面壁2b、第一右側面壁2bに対向する正面視略正方形の第一左側面壁(図示外)、第一右側面壁よりもやや中央寄りに位置し、第一右側面壁の奥側に配置された正面視縦長の略長方形の第二右側面壁2f、第二右側面壁2fに対向する正面視縦長の略長方形の第二左側面壁(図示外)、正面視略長方形の第一上面壁2c、第一上面壁2cから連続し、第一上面壁2cの後方、やや低い位置に位置した第二上面壁2e、略長方形の底面(図示外)で囲まれた、略直方体形状をしている。そして、正面壁2aには、略長方形形状の底面壁10d、正面壁10a、右側面壁10b、左側面壁10cで囲まれた受取皿10が設けられている。この受取皿10は、正面壁2a、略長方形形状の底面壁10d、正面壁10a、右側面壁10b、左側面壁10cで囲まれ、上部の開口された略直方体形状をしている。また、正面壁2aには、左右方向に細長く開口し、正面壁2aの上下方向の略中央よりもやや下の位置に設けられている排出口99が設けられている。そして、排出口99から排出されたラベルや、印刷が行われてカットされたテープが受取皿10により受け取られる。   As shown in FIGS. 2 and 3, the main body housing 2 of the printing apparatus 1 has a substantially rectangular front wall 2 a that is vertically long when viewed from the front, a first right side wall 2 b that is substantially square when viewed from the front, and a front surface that faces the first right side wall 2 b. A first left side wall (not shown) having a substantially square shape, a second right side wall 2f having a substantially rectangular shape in a front view, which is located slightly closer to the center than the first right side wall and is located on the back side of the first right side wall; A substantially rectangular second left side wall (not shown) that is vertically long and facing the second right side wall 2f, a first upper surface wall 2c that is substantially rectangular in front view, and a first upper surface wall 2c that are continuous with the first upper surface wall 2c. It has a substantially rectangular parallelepiped shape surrounded by a second upper surface wall 2e located at a slightly lower position on the rear side and a substantially rectangular bottom surface (not shown). The front wall 2a is provided with a receiving tray 10 surrounded by a substantially rectangular bottom wall 10d, front wall 10a, right side wall 10b, and left side wall 10c. The receiving tray 10 is surrounded by a front wall 2a, a substantially rectangular bottom wall 10d, a front wall 10a, a right side wall 10b, and a left side wall 10c, and has a substantially rectangular parallelepiped shape with an upper opening. Further, the front wall 2a is provided with a discharge port 99 that is elongated in the left-right direction and is provided at a position slightly below the center of the front wall 2a in the vertical direction. Then, the label discharged from the discharge port 99 and the tape that has been printed and cut are received by the receiving tray 10.

また、第一上面壁2cの正面壁2a寄り左側の位置には、印刷されたテープをカットするカットスイッチ9が設けられている。このカットスイッチ9は、図示外の押し切りカッターに接続しており、カットスイッチ9が押下されると印刷済みのテープがカットされる。切断用モータ28(図4参照)に接続しており、カットスイッチ9が押下されると駆動回路25により切断用モータ28が駆動して、図示外のカッターで印刷済みのテープがカットされる。また、正面壁2a寄り右側の位置には、電源ボタン60、印刷ボタン58が前側から後ろ側の順に並んで設けられている。電源ボタン60は、印刷装置1の電源のオフオンを指示するボタンであり、印刷ボタン58は印刷の開始を指示するボタンである。また、図示外の左側面壁には、アルファベットや記号の入力を指示する文字キー群44(図4参照)や各種機能を指示するその他の機能キー群43(図4参照)及びメッセージや文字キー群44により入力された文字が表示されるディスプレイ46(図4参照)が設けられている。   A cut switch 9 for cutting the printed tape is provided at a position on the left side of the first upper surface wall 2c near the front wall 2a. The cut switch 9 is connected to a push cutter that is not shown, and when the cut switch 9 is pressed, the printed tape is cut. When connected to a cutting motor 28 (see FIG. 4) and the cut switch 9 is pressed, the cutting circuit 28 is driven by the drive circuit 25, and the printed tape is cut by a cutter (not shown). Further, a power button 60 and a print button 58 are arranged in order from the front side to the rear side at a position on the right side of the front wall 2a. The power button 60 is a button for instructing the power of the printing apparatus 1 to be turned off and on, and the print button 58 is a button for instructing the start of printing. On the left side wall (not shown), a character key group 44 (see FIG. 4) for instructing input of alphabets and symbols, other function key group 43 (see FIG. 4) for instructing various functions, and a message and character key group. A display 46 (see FIG. 4) on which characters input by 44 are displayed is provided.

そして、本体筐体2の内部には、被印刷媒体であるラベル用紙81やテープが巻回されたテープカセットを収納するテープカセット収納部と、印刷を行うために複数の発熱素子を有するサーマルヘッド31や被印刷媒体を搬送するプラテンローラ26(図5参照)を備えた印刷機構部とが設けられている。そして、印刷機構部で印刷された被印刷媒体は排出口99から排出される。   Inside the main body housing 2 is a thermal cassette having a tape cassette storage portion for storing a label paper 81 as a printing medium and a tape cassette wound with a tape, and a plurality of heating elements for printing. 31 and a printing mechanism section provided with a platen roller 26 (see FIG. 5) for conveying a printing medium. Then, the printing medium printed by the printing mechanism unit is discharged from the discharge port 99.

次に、図2を参照して、到達センサ61について説明する。図2に示すように、正面壁2aにおける下部に到達センサ61が設けられている。詳しくは、左右方向には略中央に設けられている。そして、上下方向には、排出口99の高さから本体筐体2の底面までの長さの約1/3の長さ、本体筐体2の底面から上の位置に設けられている。また、受取皿10の正面壁10aの内側、到達センサ61に対向する位置には、表面が黒色の板状の反射部材62が設けられている。到達センサ61は、イメージセンサである。到達センサ61にはLEDが設けられ、このLEDから出力された光の反射光を光学素子で検出するものであり、反射部材62に反射した光であるか否かにより、到達センサ61と反射部材62との間にラベル812があるか否かの判断が行われる。   Next, the arrival sensor 61 will be described with reference to FIG. As shown in FIG. 2, the arrival sensor 61 is provided in the lower part of the front wall 2a. Specifically, it is provided substantially in the center in the left-right direction. In the vertical direction, the height is about 1/3 of the length from the height of the discharge port 99 to the bottom surface of the main body housing 2, and is provided at a position above the bottom surface of the main body housing 2. In addition, a plate-like reflecting member 62 having a black surface is provided on the inner side of the front wall 10a of the tray 10 at a position facing the arrival sensor 61. The arrival sensor 61 is an image sensor. The arrival sensor 61 is provided with an LED, and the reflected light of the light output from the LED is detected by an optical element. The arrival sensor 61 and the reflection member are determined depending on whether the light is reflected by the reflection member 62 or not. A determination is made as to whether or not there is a label 812 in between.

次に、図4を参照して、印刷装置1の電気的構成について説明する。印刷装置1には、主制御基板40が設けられ、当該主制御基板40には、印刷装置1の主制御を司るCPU11が設けられ、CPU11には、文字や記号等のグラフィックデータを記憶したCGROM32と、制御プログラムを記憶したROM33と、フラグ等を記憶するRAM34と、入出力インターフェース35とが、データバス36を介して接続されている。   Next, the electrical configuration of the printing apparatus 1 will be described with reference to FIG. The printing apparatus 1 is provided with a main control board 40, and the main control board 40 is provided with a CPU 11 that performs main control of the printing apparatus 1. The CPU 11 stores a CGROM 32 that stores graphic data such as characters and symbols. A ROM 33 storing a control program, a RAM 34 storing a flag and the like, and an input / output interface 35 are connected via a data bus 36.

また、図4に示すように、印刷装置1の入出力インターフェース35には、サーマルヘッド31を駆動する駆動回路23と、プラテンローラ26を回転させるテープ送りモータ29を駆動する駆動回路24と、排出口99から排出されたラベルの有無を検出する到達センサ61と、電源の入り切りを指示する電源ボタン60と、印刷の実行を指示する印刷ボタン58と、その他の機能を指示するその他の機能キー群43と、アルファベットや記号の入力を行う文字キー群44と、メッセージや文字キー群44により入力された文字が表示されるディスプレイ46とが接続されている。   As shown in FIG. 4, the input / output interface 35 of the printing apparatus 1 includes a drive circuit 23 that drives the thermal head 31, a drive circuit 24 that drives a tape feed motor 29 that rotates the platen roller 26, and an exhaust. An arrival sensor 61 for detecting the presence or absence of a label discharged from the outlet 99, a power button 60 for instructing on / off of power, a print button 58 for instructing execution of printing, and other function key groups for instructing other functions 43, a character key group 44 for inputting alphabets and symbols, and a display 46 for displaying characters input by a message or character key group 44 are connected.

次に、図5の模式図を参照して、本発明の要部である印刷装置1においてラベル用紙81を印刷した際のラベル812の搬送について説明する。図5は、印刷装置1の構造を示す模式図である。なお、図5における紙面左が印刷装置1の前方向、紙面右が印刷装置1の後ろ方向となっている。図5に示すように、第一回転軸48に未印刷のラベル用紙81が巻回されており、第一回転軸48に巻回されたラベル用紙81が引き出されて、複数の発熱素子を有するサーマルヘッド31と印刷装置1の左右方向に配設された円柱形状のプラテンローラ26との間に導かれている。そして、サーマルヘッド31の左には、ラベル剥離部材51とラベル案内部材52とが印刷装置1の左右方向に配設されている。このラベル剥離部材51及びラベル案内部材52は円柱形状の部材である。そして、サーマルヘッド31により印字が行われたラベル用紙81は、プラテンローラ26の回転により前方向に搬送され、台紙811はラベル剥離部材51により上方向に導かれて第二回転軸49に巻回される。しかしながら、台紙811に粘着されているラベル812は、その剛性から台紙811から剥離されてそのまま前方向へ搬送され、排出口99から排出されることとなる。そして、本発明の印刷装置1では、排出されたラベル812の先端を到達センサ61が検出すると搬送を停止する。そして、ユーザによりラベル812が持ち上げられると、ラベルが受取皿10の底面壁10dに貼り付く可能性はなくなる。そこで、ユーザによりラベル812が持ち上げられ、到達センサ61がラベル812を検出しなくなると、搬送が再開される。   Next, with reference to the schematic diagram of FIG. 5, the conveyance of the label 812 when the label paper 81 is printed in the printing apparatus 1 which is the main part of the present invention will be described. FIG. 5 is a schematic diagram illustrating the structure of the printing apparatus 1. In FIG. 5, the left side of the drawing is the front direction of the printing apparatus 1, and the right side of the drawing is the rear direction of the printing apparatus 1. As shown in FIG. 5, the unprinted label paper 81 is wound around the first rotating shaft 48, and the label paper 81 wound around the first rotating shaft 48 is pulled out to have a plurality of heating elements. It is led between the thermal head 31 and a cylindrical platen roller 26 disposed in the left-right direction of the printing apparatus 1. A label peeling member 51 and a label guide member 52 are disposed on the left side of the thermal head 31 in the left-right direction of the printing apparatus 1. The label peeling member 51 and the label guide member 52 are cylindrical members. The label paper 81 printed by the thermal head 31 is conveyed forward by the rotation of the platen roller 26, and the mount 811 is guided upward by the label peeling member 51 and wound around the second rotary shaft 49. Is done. However, the label 812 adhered to the mount 811 is peeled off from the mount 811 due to its rigidity, conveyed as it is, and discharged from the discharge port 99. In the printing apparatus 1 of the present invention, when the arrival sensor 61 detects the leading end of the discharged label 812, the conveyance is stopped. Then, when the label 812 is lifted by the user, there is no possibility that the label sticks to the bottom wall 10 d of the receiving tray 10. Therefore, when the label 812 is lifted by the user and the arrival sensor 61 does not detect the label 812, the conveyance is resumed.

ここで、印刷装置1の本体筐体2の正面壁2aに設けられている到達センサ61について説明する。到達センサ61の検出値は0〜255の値を取る。そして、反射部材62の到達センサ61に対向する反射面は黒色に彩色されており、到達センサ61の値が0〜255の中間値である「127」以下であれば、「黒色」でない、ラベル812が存在すると判断され、「127」より大きければ、「黒色」である、即ちラベル812が存在しないと判断されるものとする。ラベル812が存在すると判断されれば、そのまま搬送を続けると、受取皿10の底面壁10dや印刷装置1の正面壁10aに貼り付いてしまう可能性があるので、搬送を停止する。   Here, the arrival sensor 61 provided on the front wall 2a of the main body housing 2 of the printing apparatus 1 will be described. The detection value of the arrival sensor 61 takes a value from 0 to 255. The reflective surface of the reflecting member 62 facing the arrival sensor 61 is colored in black. If the value of the arrival sensor 61 is not more than “127”, which is an intermediate value between 0 and 255, the label is not “black”. It is determined that 812 exists, and if it is greater than “127”, it is determined that the color is “black”, that is, the label 812 does not exist. If it is determined that the label 812 is present, if the conveyance is continued as it is, there is a possibility that the label 812 sticks to the bottom wall 10d of the receiving tray 10 or the front wall 10a of the printing apparatus 1, so the conveyance is stopped.

次に、図6及び図7のフローチャートを参照して、印刷装置1での処理について説明する。図6は、印刷装置1のメイン処理のフローチャートであり、図7は、メイン処理の中で行われる印刷処理のフローチャートである。   Next, processing in the printing apparatus 1 will be described with reference to the flowcharts of FIGS. FIG. 6 is a flowchart of main processing of the printing apparatus 1, and FIG. 7 is a flowchart of printing processing performed in the main processing.

図6に示すメイン処理は、印刷装置1に電源が投入されると開始され、電源が切られるまで繰り返し実施される。まず、印刷機構部の動作確認やCGROM32,ROM33,RAM34の動作確認等の初期処理が行われる(S1)。そして、キー入力を受け付けたか否かの判断が行われる(S2)。キー入力を受け付けていなければ(S2:NO)、その他の処理が行われて(S11)、S2へ戻る。また、キー入力を受け付けていれば(S2:YES)、入力を受け付けたキーが機能キーであるか否かの判断が行われる(S3)。   The main process shown in FIG. 6 is started when the printing apparatus 1 is turned on, and is repeatedly performed until the power is turned off. First, initial processing such as operation confirmation of the printing mechanism unit and operation confirmation of the CGROM 32, ROM 33, and RAM 34 is performed (S1). Then, it is determined whether or not a key input has been accepted (S2). If no key input is accepted (S2: NO), other processing is performed (S11), and the process returns to S2. If key input is accepted (S2: YES), it is determined whether or not the input key is a function key (S3).

キーが機能キーでなければ(S3:NO)、文字キー群44のいずれかのキーであるので、文字キーからの入力が受け付けられ(S6)、受け付けられた内容がディスプレイ46に表示される(S7)。そして、S2へ戻る。また、キーが機能キーであれば(S3:YES)、機能キーの種類が印刷ボタン58であるか否かの判断が行われ(S5)、印刷ボタン58であれば(S5:YES)、印刷処理が行われる(S9、図7参照)。   If the key is not a function key (S3: NO), it is any key of the character key group 44, so an input from the character key is accepted (S6), and the accepted content is displayed on the display 46 ( S7). Then, the process returns to S2. If the key is a function key (S3: YES), it is determined whether the type of the function key is the print button 58 (S5). If the key is the print button 58 (S5: YES), printing is performed. Processing is performed (S9, see FIG. 7).

図7に示すように、まず、印刷データがCGROM32から読み込まれる(S21)。そして、印刷開始位置までラベル用紙81が搬送される(S22)。そして、搬送したライン数をカウントする変数nに初期値の「0」がセットされる(S23)。そして、1ライン分の印刷が実行される(S24)。ここでは、サーマルヘッド31により1ラインの印刷が行われ、次の行の印刷のために、プラテンローラ26が回転されて1ライン分ラベル用紙81が搬送される。なお、印刷の必要がない行である場合には、印刷は行われずに、ラベル用紙81の送り動作のみが行われる。そして、変数nに「1」が加算される(S25)。そして、一定量の搬送が終了したか否かの判断が行われる(S26)。本実施の形態では、一定量は10ライン分の搬送とする。そこで、変数nの値が「10」よりも大きく、一定量の搬送が終了していれば(S26:YES)、S28へ進み、ラベル812の先端が到達センサ61により検出されているか否かの判断が行われる(S28,S29)。   As shown in FIG. 7, first, print data is read from the CGROM 32 (S21). Then, the label paper 81 is conveyed to the printing start position (S22). Then, an initial value “0” is set in a variable n for counting the number of conveyed lines (S23). Then, printing for one line is executed (S24). Here, one line is printed by the thermal head 31, and the platen roller 26 is rotated and the label paper 81 for one line is conveyed for printing the next line. If the line does not require printing, printing is not performed, and only the feeding operation of the label paper 81 is performed. Then, “1” is added to the variable n (S25). Then, it is determined whether or not a certain amount of conveyance has been completed (S26). In this embodiment, the fixed amount is transported for 10 lines. Therefore, if the value of the variable n is greater than “10” and a certain amount of conveyance has been completed (S26: YES), the process proceeds to S28, and whether or not the leading end of the label 812 has been detected by the arrival sensor 61. A determination is made (S28, S29).

しかし、まだ変数nの値は「1」であるので、「10」より大きいとは判断されない(S26:NO)。そこで、印刷が終了したか否かの判断が行われる(S27)。全てのラインの印刷が終了し、ラベル812の排出のための搬送まで終了している場合には(S27:YES)、印刷処理は終了し、メイン処理へ戻り、S2へ戻る。しかし、印刷が終了していないので(S27:NO)、S24へ戻り、次の1ラインの印刷、搬送が行われる(S24)。そして、S24〜S27の処理が繰り返し行われ、変数nの値が「10」よりも大きくなったら(S26:YES)、到達センサ61の値が取得される(S28)。そして、取得された値がラベル812のあることを意味する値(127以下)でなければ(S29:NO)、搬送を継続してもよいので、S23へ戻り、変数nの値に「0」がセットされてクリアされる(S23)。そして、S24〜S27の処理が繰り返し実施される。   However, since the value of the variable n is still “1”, it is not determined to be greater than “10” (S26: NO). Therefore, it is determined whether or not printing has been completed (S27). When printing of all lines is completed and the conveyance for discharging the label 812 is completed (S27: YES), the printing process ends, the process returns to the main process, and the process returns to S2. However, since printing has not been completed (S27: NO), the process returns to S24, and the next one line is printed and conveyed (S24). And the process of S24-S27 is performed repeatedly and if the value of the variable n will become larger than "10" (S26: YES), the value of the arrival sensor 61 will be acquired (S28). If the acquired value is not a value (127 or less) indicating that the label 812 is present (S29: NO), the conveyance may be continued, so the process returns to S23, and the value of the variable n is “0”. Is set and cleared (S23). And the process of S24-S27 is implemented repeatedly.

繰り返しS24〜S27の処理が行われ、印刷及び搬送が実施されて、ラベル812が到達センサ61により検出されたら(S29:YES)、繰り返し到達センサ61の値の取得(S28)、取得された値がラベル812のあることを意味する値であるか否かの判断行われる(S29)。すなわち、到達センサ61の値が、ラベル812のあることを示す値でなくなるまでは(S29:NO)、S28,S29の処理が繰り返し実施されるので、印刷及び搬送は停止されることとなる。そして、ユーザによりラベル812が取り上げられたら、到達センサ61の値はラベル812のあることを示す値でなくなるので(S29:NO)、S23へ戻り、変数nが「0」にクリアされて(S23)、次の1ラインの印刷及び搬送が行われることとなる(S24)。そして、S24〜S27の処理及び、状況に応じてS28,S29の処理が繰り返し実施されて、印刷が終了したら(S27:YES)、印刷処理は終了し、メイン処理へ戻り、S2へ戻る。   When the processes of S24 to S27 are repeatedly performed, printing and conveyance are performed, and the label 812 is detected by the arrival sensor 61 (S29: YES), the value of the repetition arrival sensor 61 is acquired (S28). Is a value that means that the label 812 is present (S29). That is, until the value of the arrival sensor 61 is not a value indicating the presence of the label 812 (S29: NO), the processes of S28 and S29 are repeatedly performed, so printing and conveyance are stopped. When the label 812 is picked up by the user, the value of the arrival sensor 61 is not a value indicating that the label 812 is present (S29: NO), the process returns to S23, and the variable n is cleared to “0” (S23 ), The next one line is printed and conveyed (S24). When the processes of S24 to S27 and the processes of S28 and S29 are repeatedly performed according to the situation and the printing is completed (S27: YES), the printing process is terminated, the process returns to the main process, and the process returns to S2.

また、メイン処理において、機能キーの入力を受け付け(S2:YES、S3:YES)、機能キーの種類が印刷ボタン58でなければ(S5:NO)、その他の機能キーに応じた機能処理が行われる(S10)。そして、S2へ戻る。   Also, in the main process, input of a function key is accepted (S2: YES, S3: YES), and if the function key type is not the print button 58 (S5: NO), the function process corresponding to the other function keys is performed. (S10). Then, the process returns to S2.

以上のようにして、ラベル812の搬送が進み、ラベル812が到達センサ61に検出されると、それ以上搬送をすると底面壁10dや印刷装置1の正面壁2aに貼り付く可能性があるとして、印刷及び搬送を停止させることができる。そして、ユーザがラベル812を取り上げ、到達センサ61がラベル812を検出しなくなれば、底面壁10dや印刷装置1の正面壁2aに貼り付く可能性がなくなったとして、残りの印刷や搬送が開始される。したがって、排出口99から排出されたラベル812が周囲に貼り付いてしまい、印刷したラベル812が使用できなくなってしまうことがない。   As described above, when the conveyance of the label 812 proceeds and the label 812 is detected by the arrival sensor 61, if the label 812 is further conveyed, the label 812 may stick to the bottom wall 10d or the front wall 2a of the printing apparatus 1. Printing and conveyance can be stopped. Then, if the user picks up the label 812 and the arrival sensor 61 does not detect the label 812, the remaining printing or conveyance is started on the assumption that there is no possibility of sticking to the bottom wall 10d or the front wall 2a of the printing apparatus 1. The Therefore, the label 812 discharged from the discharge port 99 does not stick around and the printed label 812 cannot be used.

なお、上記実施の形態のサーマルヘッド31が「印刷手段」に該当し、ラベル剥離部材51が「剥離手段」に該当し、到達センサ61が「ラベル検出手段」に該当する。そして、図7の印刷処理のS29の処理を行うCPU11が「検出判断手段」に相当し、S23,S25,S26,S28,S29の処理を行うCPU11が「印刷停止制御手段」に相当する。   The thermal head 31 of the above embodiment corresponds to “printing means”, the label peeling member 51 corresponds to “peeling means”, and the arrival sensor 61 corresponds to “label detection means”. 7 corresponds to the “detection determination unit”, and the CPU 11 that performs the processes S23, S25, S26, S28, and S29 corresponds to the “printing stop control unit”.

なお、本発明の印刷装置は、上記した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。上記実施の形態では、印刷装置1としてテープ形状の被印刷媒体を印刷する印刷装置を例にあげ、被印刷媒体としてラベル用紙81を例にあげたが、被印刷媒体はテープ形状でなく、カット紙や連続用紙にラベルが貼付されているものであってもよい。また、印刷装置1も他の種類のメディアを印刷するレーザプリンタ、インクジェットプリンタ、熱転写プリンタ、ドットプリンタ等であってもよいことはいうまでもない。また、上記実施の形態では、文字キー群44を備え、文字キー群44から入力された文字を印刷したり、予めCGROM32に記憶されている印刷データを印刷したりする印刷装置1を例にあげたが、パーソナルコンピュータに接続して、パーソナルコンピュータから送信される印刷データを印刷する印刷装置であってもよい。   Note that the printing apparatus of the present invention is not limited to the above-described embodiment, and it is needless to say that various changes can be made without departing from the scope of the present invention. In the above-described embodiment, the printing apparatus 1 is an example of a printing apparatus that prints a tape-shaped printing medium, and the label paper 81 is taken as an example of the printing medium. A label may be attached to paper or continuous paper. Needless to say, the printing apparatus 1 may also be a laser printer, ink jet printer, thermal transfer printer, dot printer, or the like that prints other types of media. Further, in the above-described embodiment, the printing apparatus 1 including the character key group 44 and printing characters input from the character key group 44 or printing print data stored in advance in the CGROM 32 is taken as an example. However, it may be a printing apparatus that connects to a personal computer and prints print data transmitted from the personal computer.

また、上記実施の形態では、到達センサ61を正面壁2aにおける排出口99の下部、左右方向には略中央、上下方向には、排出口99の高さから本体筐体2の底面までの長さの約1/3の長さ、本体筐体2の底面から上の位置に設けられている。しかしながら、到達センサ61の配置はこれに限らない。排出口99より下であれば、上記実施の形態の位置よりも高い位置であってもよい。また、左右方向においても略中央でなくともよい。また、到達センサ61は1つのイメージセンサで構成するのではなく、複数のイメージセンサにより構成し、左右方向に並べて配置してもよい。   Moreover, in the said embodiment, the arrival sensor 61 is the length from the height of the discharge port 99 to the bottom face of the main body housing | casing 2 in the lower part of the discharge port 99 in the front wall 2a, the approximate center in the left-right direction and the up-down direction. It is about 1/3 of the length, and is provided at a position above the bottom surface of the main body housing 2. However, the arrangement of the arrival sensor 61 is not limited to this. As long as it is below the discharge port 99, the position may be higher than the position of the above embodiment. Also, it does not have to be substantially in the center in the left-right direction. In addition, the arrival sensor 61 is not configured by one image sensor, but may be configured by a plurality of image sensors and arranged side by side in the left-right direction.

到達センサ61を用いて、ラベル812が検出されるか否かの判断を行う際の搬送量を10ラインとしているが、搬送量はこれに限らない。少なくとも、受取皿10の底面壁10dから到達センサ61までの距離よりも短ければよい。また、ラベル812の検出判断を行うタイミングも、上記実施の形態のように一定量の搬送ではなく、徐々に検出判断を行うまでの搬送量を短くしてもよい(図8参照)。また、上記実施の形態では、搬送量に基づいて到達センサ61によるラベル812の検出処理のタイミングを決定していたが、搬送量でなく、印刷開始からの経過時間を計測し、一定時間ごとに検出判断を行ったり(図9参照)、徐々に間隔を短くして検出判断を行ったりしてもよい。また、印刷量によりタイミングを決定してもよい。ただし、この場合においても印刷終了後のラベル用紙81の送り搬送時には、搬送量にてタイミングが決定されることとなる。   Although the carry amount when determining whether or not the label 812 is detected using the arrival sensor 61 is 10 lines, the carry amount is not limited to this. It is sufficient that the distance is at least shorter than the distance from the bottom wall 10d of the tray 10 to the arrival sensor 61. In addition, the timing at which the detection determination of the label 812 is performed is not a fixed amount of conveyance as in the above embodiment, but the conveyance amount until the detection determination is gradually performed may be shortened (see FIG. 8). In the above embodiment, the detection process timing of the label 812 by the arrival sensor 61 is determined based on the carry amount. However, the elapsed time from the start of printing is measured instead of the carry amount, and the predetermined time is measured. Detection determination may be performed (see FIG. 9), or detection determination may be performed by gradually shortening the interval. Further, the timing may be determined by the printing amount. In this case, however, the timing is determined by the transport amount when the label paper 81 is transported after the printing is completed.

ここで、変形例1として、徐々に検出判断を行うまでの搬送量を短くした場合の印刷処理を説明し、変形例2として、一定時間ごとに検出判断を行う印刷処理を説明する。図8は、変形例1の印刷処理のフローチャートであり、図9は、変形例2の印刷処理のフローチャートである。   Here, as a first modification, a printing process when the conveyance amount until the detection determination is gradually made will be described, and as a second modification, a printing process for performing a detection determination every predetermined time will be described. FIG. 8 is a flowchart of the printing process of the first modification, and FIG. 9 is a flowchart of the printing process of the second modification.

まず、図8を参照して、変形例1の徐々に検出判断を行うまでの搬送量を短くした場合の印刷処理について説明する。ここでは、到達センサ61によるラベル812の検出を行うタイミングを判断するための変数としてNが使用される。Nの値は初期値が「100」であり、最初の判断は100ライン搬送した後に行われ、変数Nの値は「10」減算されて、2回目の判断は90ライン搬送した後に行われ、3回目の判断は80ライン搬送した後に行われる。   First, with reference to FIG. 8, a description will be given of a printing process in the case of shortening the carry amount until the gradual detection determination in Modification 1 is performed. Here, N is used as a variable for determining the timing for detecting the label 812 by the arrival sensor 61. The initial value of N is “100”, the first determination is made after 100 lines have been conveyed, the value of variable N is decremented by “10”, and the second determination is made after 90 lines have been conveyed, The third determination is made after carrying 80 lines.

まず、印刷データがCGROM32から読み込まれる(S41)。そして、印刷開始位置までラベル用紙81が搬送される(S42)。そして、搬送したライン数をカウントする変数nに初期値の「0」がセットされ、変数Nには初期値の「100」がセットされる(S43)。そして、1ライン分の印刷が実行される(S44)。ここでは、サーマルヘッド31により1ラインの印刷が行われ、次の行の印刷のために、プラテンローラ26が回転されて1ライン分ラベル用紙81が搬送される。なお、印刷の必要がない行である場合には、印刷は行われずに、ラベル用紙81の送り動作のみが行われる。そして、変数nに「1」が加算される(S45)。そして、変数Nだけの搬送が終了したか否かの判断が行われる(S46)。そこで、変数nの値が変数Nの値「100」よりも大きく、一定量の搬送が終了していれば(S46:YES)、S48へ進み、変数Nの値の更新が行われた後に、ラベル812の先端が到達センサ61により検出されているか否かの判断の処理が行われる(S51,S52)。   First, print data is read from the CGROM 32 (S41). Then, the label paper 81 is conveyed to the printing start position (S42). Then, an initial value “0” is set in a variable n for counting the number of conveyed lines, and an initial value “100” is set in a variable N (S43). Then, printing for one line is executed (S44). Here, one line is printed by the thermal head 31, and the platen roller 26 is rotated and the label paper 81 for one line is conveyed for printing the next line. If the line does not require printing, printing is not performed, and only the feeding operation of the label paper 81 is performed. Then, “1” is added to the variable n (S45). Then, it is determined whether or not the conveyance of only the variable N has been completed (S46). Therefore, if the value of the variable n is larger than the value “100” of the variable N and a certain amount of conveyance has been completed (S46: YES), the process proceeds to S48, and after the value of the variable N is updated, Processing for determining whether or not the leading end of the label 812 is detected by the arrival sensor 61 is performed (S51, S52).

しかし、まだ変数nの値は「1」であるので、「10」より大きいとは判断されない(S46:NO)。そこで、印刷が終了したか否かの判断が行われる(S47)。全てのラインの印刷が終了し、ラベル812の排出のための搬送まで終了している場合には(S47:YES)、印刷処理は終了し、メイン処理へ戻り、S2へ戻る。しかし、印刷が終了していないので(S47:NO)、S44へ戻り、次の1ラインの印刷、搬送が行われる(S44)。そして、S44〜S47の処理が繰り返し行われ、変数nの値が変数Nの値「100」よりも大きくなったら(S46:YES)、ライン数をカウントする変数nの値が「0」にクリアされ(S48)、次いで、変数Nの値が「10」より大きいか否かの判断が行われて(S49)、「10」よりも大きいので(S49:YES)、変数Nから「10」が減算され、「100−10=90」とされる(S50)。そして、到達センサ61の値が取得される(S51)。   However, since the value of the variable n is still “1”, it is not determined to be greater than “10” (S46: NO). Therefore, a determination is made as to whether printing has been completed (S47). If printing of all lines is completed and the conveyance for discharging the label 812 is completed (S47: YES), the printing process ends, the process returns to the main process, and the process returns to S2. However, since printing has not been completed (S47: NO), the process returns to S44, and the next one line is printed and conveyed (S44). Then, when the processing of S44 to S47 is repeated and the value of the variable n becomes larger than the value “100” of the variable N (S46: YES), the value of the variable n for counting the number of lines is cleared to “0”. Then, it is determined whether or not the value of the variable N is larger than “10” (S49). Since it is larger than “10” (S49: YES), “10” is changed from the variable N to “10”. Subtraction is performed to obtain “100−10 = 90” (S50). Then, the value of the arrival sensor 61 is acquired (S51).

そして、取得された値がラベル812のあることを意味する値(127以下)でなければ(S52:NO)、搬送を継続してもよいので、S44へ戻り、次のラインの印刷及び搬送が行われ(S44)、変数nに「1」が加算され(S45)、変数nの値が変数Nの値と比較される(S46)。ここでは、変数Nの値は「90」となっている。変数nの値は「1」であるので、変数nの値は変数Nの値よりも大きくないと判断され(S46:NO)、印刷が終了していないので(S47:NO)、S44へ戻る。このようにして、そして、S44〜S47の処理が繰り返し実施される。   If the acquired value is not a value (127 or less) which means that the label 812 is present (S52: NO), the conveyance may be continued, so the process returns to S44 and the next line is printed and conveyed. (S44), "1" is added to the variable n (S45), and the value of the variable n is compared with the value of the variable N (S46). Here, the value of the variable N is “90”. Since the value of the variable n is “1”, it is determined that the value of the variable n is not larger than the value of the variable N (S46: NO). Since printing has not ended (S47: NO), the process returns to S44. . In this way, the processes of S44 to S47 are repeatedly performed.

繰り返しS44〜S47の処理が行われ、印刷及び搬送が実施されて、ラベル812が到達センサ61により検出されたら(S52:YES)、繰り返し到達センサ61の値の取得(S51)、取得された値がラベル812のあることを意味する値であるか否かの判断行われる(S52)。すなわち、到達センサ61の値が、ラベル812のあることを示す値でなくなるまでは(S52:NO)、S51、S52の処理が繰り返し実施されるので、印刷及び搬送は停止されることとなる。そして、ユーザによりラベル812が取り上げられたら、到達センサ61の値はラベル812のあることを示す値でなくなるので(S52:NO)、S44へ戻り、次の1ラインの印刷及び搬送が行われることとなる(S44)。そして、S44〜S47の処理及び、状況に応じてS48〜S52の処理が繰り返し実施されて、印刷が終了したら(S47:YES)、印刷処理は終了し、メイン処理へ戻り、S2へ戻る。   When the processes of S44 to S47 are repeatedly performed, printing and conveyance are performed, and the label 812 is detected by the arrival sensor 61 (S52: YES), the value of the repetition arrival sensor 61 is acquired (S51), and the acquired value Is a value that means that the label 812 is present (S52). That is, until the value of the arrival sensor 61 is not a value indicating the presence of the label 812 (S52: NO), the processing of S51 and S52 is repeatedly performed, so printing and conveyance are stopped. When the label 812 is picked up by the user, the value of the arrival sensor 61 is not a value indicating the presence of the label 812 (S52: NO), so the process returns to S44, and the next one line is printed and conveyed. (S44). Then, when the processes of S44 to S47 and the processes of S48 to S52 are repeatedly performed according to the situation and the printing is finished (S47: YES), the printing process is finished, the process returns to the main process, and the process returns to S2.

なお、S44〜S47の処理が繰り返される中で、到達センサ61の検出が行われる場合に(S46:YES)、変数Nの値が「10」以下の値となっていれば(S49:NO)、これ以上検出の間隔を短くしないために、変数Nの値から「10」減算する処理(S50)を行わずに、S51へ進む。   When the arrival sensor 61 is detected while the processes of S44 to S47 are repeated (S46: YES), if the value of the variable N is equal to or less than “10” (S49: NO) In order not to shorten the detection interval any more, the process proceeds to S51 without performing the process of subtracting “10” from the value of the variable N (S50).

以上のようにして、徐々に短い間隔で到達センサ61によるラベル812の検出処理を行うことができる。これにより、まだラベル812の先端が受取皿10の底面壁10dに到達することがない状態で細かなチェックをして印刷処理への付加が増大するのを防ぐことができる。なお、本変形例の印刷処理のS52の処理を行うCPU11が「検出判断手段」に相当し、S45、S46,S48〜S52の処理を行うCPU11が「印刷停止制御手段」に相当する。   As described above, the label 812 can be detected by the arrival sensor 61 at gradually shorter intervals. As a result, it is possible to prevent the addition of the label 812 from being added to the printing process by performing a fine check in a state where the tip of the label 812 has not yet reached the bottom wall 10d of the tray 10. Note that the CPU 11 that performs the processing of S52 of the printing process of the present modification corresponds to “detection determination unit”, and the CPU 11 that performs the processing of S45, S46, and S48 to S52 corresponds to “printing stop control unit”.

なお、この変形例においても、ラベル812が検出されるか否かの判断を行う際の搬送量は例示した値(100から10ずつ減算される)に限らないことはいうまでもない。また、本変形例では、変数Nから減算する値を「10」と固定値としているが、減算する値も徐々に少なくしていってもよい。例えば、変数Nの初期値が「100」である場合を考えると、1回目の判断が行われる際には「70」を減算して「30」とし、2回目には「15」を減算して「15」とし、3回目には「5」を減算して「10」とし、4回目には「3」を減算して「7」とし、5回目にも「3」を減算して「4」とし、6回目には「2」を減算して「2」とし、7回目には「1」を減算して「1」とし、それ以上は減算しない様にしてもよい。   In this modification as well, it goes without saying that the carry amount when determining whether or not the label 812 is detected is not limited to the exemplified value (subtracted by 10 from 100). In this modification, the value to be subtracted from the variable N is a fixed value of “10”, but the value to be subtracted may be gradually reduced. For example, when the initial value of the variable N is “100”, when the first determination is made, “70” is subtracted to “30”, and “15” is subtracted the second time. “5” is subtracted from the third time to “10”, “3” is subtracted from the fourth time to “7”, and “3” is subtracted from the third time to “7”. 4 ”,“ 2 ”may be subtracted to“ 2 ”at the sixth time,“ 1 ”may be subtracted to“ 1 ”at the seventh time, and no more may be subtracted.

次に、図9を参照して、変形例2の一定時間ごとに検出判断を行う印刷処理について説明する。ここでは、時間を計測する計時手段が使用される。図4には図示していないが、この計時手段はデータバス36を介してCPU11に接続しており、CPU11は時間の経過を計測することができる。そして、CPU11では、メイン処理とは別に時間の経過を計測するためのタイマ(RAM34に記憶エリアが設けられている)を更新するタイマ更新処理が行われており、このタイマ更新処理では、所定時間(例えば、1秒)ごとにタイマを加算している。   Next, with reference to FIG. 9, a description will be given of a printing process in which detection determination is performed at regular time intervals in Modification 2. Here, a time measuring means for measuring time is used. Although not shown in FIG. 4, this time measuring means is connected to the CPU 11 via the data bus 36, and the CPU 11 can measure the passage of time. In the CPU 11, a timer update process for updating a timer for measuring the passage of time (a storage area is provided in the RAM 34) is performed separately from the main process. A timer is added every (for example, 1 second).

まず、印刷データがCGROM32から読み込まれる(S61)。そして、印刷開始位置までラベル用紙81が搬送される(S62)。そして、タイマがクリアされる(S63)。そして、1ライン分の印刷が実行される(S64)。ここでは、サーマルヘッド31により1ラインの印刷が行われ、次の行の印刷のために、プラテンローラ26が回転されて1ライン分ラベル用紙81が搬送される。なお、印刷の必要がない行である場合には、印刷は行われずに、ラベル用紙81の送り動作のみが行われる。そして、所定時間が経過したか否かの判断が行われる(S66)。本実施の形態では、所定時間を2秒とする。そこで、所定時間が経過していれば(S66:YES)、S68へ進み、ラベル812の先端が到達センサ61により検出されているか否かの判断が行われる(S68,S69)。   First, print data is read from the CGROM 32 (S61). Then, the label paper 81 is conveyed to the printing start position (S62). Then, the timer is cleared (S63). Then, printing for one line is executed (S64). Here, one line is printed by the thermal head 31, and the platen roller 26 is rotated and the label paper 81 for one line is conveyed for printing the next line. If the line does not require printing, printing is not performed, and only the feeding operation of the label paper 81 is performed. Then, it is determined whether or not a predetermined time has elapsed (S66). In the present embodiment, the predetermined time is 2 seconds. Therefore, if the predetermined time has elapsed (S66: YES), the process proceeds to S68, and it is determined whether or not the leading end of the label 812 has been detected by the arrival sensor 61 (S68, S69).

しかし、まだ所定時間を経過していないので(S66:NO)、印刷が終了したか否かの判断が行われる(S67)。全てのラインの印刷が終了し、ラベル812の排出のための搬送まで終了している場合には(S67:YES)、印刷処理は終了し、メイン処理へ戻り、S2へ戻る。しかし、印刷が終了していないので(S67:NO)、S64へ戻り、次の1ラインの印刷、搬送が行われる(S64)。そして、S64〜S67の処理が繰り返し行われ、所定時間が経過したら(S66:YES)、到達センサ61の値が取得される(S68)。そして、取得された値がラベル812のあることを意味する値(127以下)でなければ(S69:NO)、搬送を継続してもよいので、S63へ戻り、次の判断処理のためにタイマがクリアされる(S63)。そして、S64〜S67の処理が繰り返し実施される。   However, since the predetermined time has not yet elapsed (S66: NO), it is determined whether or not printing has been completed (S67). If printing of all lines is completed and the conveyance for discharging the label 812 is completed (S67: YES), the printing process is completed, the process returns to the main process, and the process returns to S2. However, since printing has not been completed (S67: NO), the process returns to S64, and the next one line is printed and conveyed (S64). And the process of S64-S67 is repeatedly performed, and if the predetermined time passes (S66: YES), the value of the arrival sensor 61 will be acquired (S68). If the acquired value is not a value (127 or less) indicating that the label 812 is present (S69: NO), since the conveyance may be continued, the process returns to S63, and the timer is used for the next determination process. Is cleared (S63). And the process of S64-S67 is implemented repeatedly.

繰り返しS64〜S67の処理が行われ、印刷及び搬送が実施されて、ラベル812が到達センサ61により検出されたら(S69:YES)、繰り返し到達センサ61の値の取得(S68)、取得された値がラベル812のあることを意味する値であるか否かの判断行われる(S69)。すなわち、到達センサ61の値が、ラベル812のあることを示す値でなくなるまでは(S69:NO)、S68,S69の処理が繰り返し実施されるので、印刷及び搬送は停止されることとなる。そして、ユーザによりラベル812が取り上げられたら、到達センサ61の値はラベル812のあることを示す値でなくなるので(S69:NO)、S63へ戻り、タイマがクリアされ(S63)、次の1ラインの印刷及び搬送が行われることとなる(S64)。そして、S64〜S67の処理及び、状況に応じてS68,S69の処理が繰り返し実施されて、印刷が終了したら(S67:YES)、印刷処理は終了し、メイン処理へ戻り、S2へ戻る。   When the processes of S64 to S67 are repeatedly performed, printing and conveyance are performed, and the label 812 is detected by the arrival sensor 61 (S69: YES), the value of the repetition arrival sensor 61 is acquired (S68). Is a value that means that the label 812 is present (S69). That is, until the value of the arrival sensor 61 is not a value indicating the presence of the label 812 (S69: NO), the processes of S68 and S69 are repeatedly performed, so printing and conveyance are stopped. When the label 812 is picked up by the user, the value of the arrival sensor 61 is not a value indicating that the label 812 is present (S69: NO), the process returns to S63, the timer is cleared (S63), and the next one line Is printed and conveyed (S64). When the processes of S64 to S67 and the processes of S68 and S69 are repeatedly performed according to the situation and the printing is completed (S67: YES), the printing process is terminated, the process returns to the main process, and the process returns to S2.

以上のようにして、所定時間ごとに到達センサ61によるラベル812の検出処理を行うことができる。なお、本変形例の印刷処理のS69の処理を行うCPU11が「検出判断手段」に相当し、S63,S66,S68,S69の処理を行うCPU11が「印刷停止制御手段」に相当する。また、本変形例2においては、所定時間を2秒としたが、これより長い時間であってもよいし、短い時間であってもよく、印刷装置1の印刷及び搬送の速度に基づいて決定すればよい。また、変形例2においては、所定時間を一定の時間としたが、徐々に短くなるように所定時間を設定してもよい。   As described above, the detection process of the label 812 by the arrival sensor 61 can be performed every predetermined time. Note that the CPU 11 that performs the process of S69 of the printing process according to this modification corresponds to “detection determination unit”, and the CPU 11 that performs the processes of S63, S66, S68, and S69 corresponds to “printing stop control unit”. In the second modification, the predetermined time is 2 seconds. However, the predetermined time may be longer or shorter, and is determined based on the printing and transport speeds of the printing apparatus 1. do it. In the second modification, the predetermined time is set to a fixed time, but the predetermined time may be set so as to be gradually shortened.

本発明の印刷装置は、台紙に剥離可能なラベルが貼付されているラベル用紙を印刷する印刷装置に利用可能である。   INDUSTRIAL APPLICABILITY The printing apparatus of the present invention can be used for a printing apparatus that prints label paper with a peelable label attached to a mount.

本発明の実施の形態におけるラベル用紙の平面図である。It is a top view of the label paper in embodiment of this invention. 印刷装置の斜視図である。It is a perspective view of a printing apparatus. 印刷装置の右側面図である。It is a right view of a printing apparatus. 印刷装置の電気的構成を示すブロック図である。2 is a block diagram illustrating an electrical configuration of the printing apparatus. FIG. 印刷装置の構造を示す模式図である。It is a schematic diagram which shows the structure of a printing apparatus. 印刷装置のメイン処理のフローチャートである。6 is a flowchart of main processing of the printing apparatus. メイン処理の中で行われる印刷処理のフローチャートである。It is a flowchart of the printing process performed in the main process. 変形例1の印刷処理のフローチャートである。10 is a flowchart of a printing process according to a first modification. 変形例2の印刷処理のフローチャートである。10 is a flowchart of a printing process according to a second modification.

1 印刷装置
2 本体筐体
2a 正面壁
11 CPU
10 受取皿
10d 底面壁
31 サーマルヘッド
51 ラベル剥離部材
61 到達センサ
62 反射部材
81 ラベル用紙
99 排出口
811 台紙
812 ラベル
DESCRIPTION OF SYMBOLS 1 Printing apparatus 2 Main body housing | casing 2a Front wall 11 CPU
DESCRIPTION OF SYMBOLS 10 Receptacle 10d Bottom wall 31 Thermal head 51 Label peeling member 61 Arrival sensor 62 Reflecting member 81 Label paper 99 Outlet 811 Mount 812 Label

Claims (2)

多数のラベルが台紙に粘着された帯状のラベル用紙に印刷データを印刷する印刷手段と、前記印刷手段による印刷が行われた前記ラベル用紙の前記ラベルを前記台紙から剥離する剥離手段と、当該剥離手段により剥離された前記ラベルを排出する排出口と、当該排出口から排出された前記ラベルを検出するラベル検出手段とを備えた印刷装置であって、
前記ラベル検出手段は、前記印刷装置の前記排出口の設けられている側面において、前記排出口よりも下側に設けられ、
前記ラベル検出手段により前記ラベルを検出したか否かを、前記印刷手段により所定量の印刷が実施されるごと、所定量の搬送が実施されるごと、又は、所定時間ごとに判断する検出判断手段と、
当該検出判断手段により前記ラベルを検出したと判断された場合には、前記印刷手段による印刷及び前記ラベルの排出を停止する印刷停止制御手段と
を備え
前記所定量又は前記所定時間は、印刷の開始から終了に向かい一定量又は一定時間ずつ少なくなることを特徴とする印刷装置。
Printing means for printing print data on a strip-shaped label paper in which a number of labels are adhered to the mount, peeling means for peeling the label of the label paper printed by the printing means from the mount, and the peeling A printing apparatus comprising: a discharge port for discharging the label peeled off by the means; and a label detection unit for detecting the label discharged from the discharge port,
The label detection means is provided below the discharge port on the side surface where the discharge port of the printing apparatus is provided,
Detection determination means for determining whether or not the label is detected by the label detection means every time a predetermined amount of printing is performed by the printing means, every time a predetermined amount of conveyance is performed, or every predetermined time When,
If it is determined by the detection determination means that the label is detected, a printing stop control means for stopping printing by the printing means and discharging of the label is provided .
The predetermined amount or the predetermined time, the printing apparatus according to claim Rukoto of less by a predetermined amount or a predetermined time toward the end from the start of printing.
請求項1に記載の各種処理手段としてコンピュータを機能させるための印刷プログラム。  A printing program for causing a computer to function as the various processing means according to claim 1.
JP2006072626A 2006-03-16 2006-03-16 Printing apparatus and printing program Active JP4696984B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006072626A JP4696984B2 (en) 2006-03-16 2006-03-16 Printing apparatus and printing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006072626A JP4696984B2 (en) 2006-03-16 2006-03-16 Printing apparatus and printing program

Publications (2)

Publication Number Publication Date
JP2007245559A JP2007245559A (en) 2007-09-27
JP4696984B2 true JP4696984B2 (en) 2011-06-08

Family

ID=38590338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006072626A Active JP4696984B2 (en) 2006-03-16 2006-03-16 Printing apparatus and printing program

Country Status (1)

Country Link
JP (1) JP4696984B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5626625B2 (en) * 2010-06-04 2014-11-19 ブラザー工業株式会社 Portable printing device
JP6025374B2 (en) * 2012-04-16 2016-11-16 サトーホールディングス株式会社 Label transport control device
JP6055256B2 (en) * 2012-09-28 2016-12-27 キヤノンファインテック株式会社 Recording apparatus and recording system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63251266A (en) * 1987-04-07 1988-10-18 Ishida Scales Mfg Co Ltd Printer
JPH04115979A (en) * 1990-09-06 1992-04-16 Tokyo Electric Co Ltd Label printer
JP2000309317A (en) * 1999-04-26 2000-11-07 Toshiba Tec Corp Label release mechanism for label printer
JP2002211526A (en) * 2001-01-19 2002-07-31 Ishida Co Ltd Label sticking apparatus
JP2005187131A (en) * 2003-12-25 2005-07-14 Sato Corp Peeling device
JP2007203522A (en) * 2006-01-31 2007-08-16 Sato Corp Height adjustment mechanism of printer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63251266A (en) * 1987-04-07 1988-10-18 Ishida Scales Mfg Co Ltd Printer
JPH04115979A (en) * 1990-09-06 1992-04-16 Tokyo Electric Co Ltd Label printer
JP2000309317A (en) * 1999-04-26 2000-11-07 Toshiba Tec Corp Label release mechanism for label printer
JP2002211526A (en) * 2001-01-19 2002-07-31 Ishida Co Ltd Label sticking apparatus
JP2005187131A (en) * 2003-12-25 2005-07-14 Sato Corp Peeling device
JP2007203522A (en) * 2006-01-31 2007-08-16 Sato Corp Height adjustment mechanism of printer

Also Published As

Publication number Publication date
JP2007245559A (en) 2007-09-27

Similar Documents

Publication Publication Date Title
JP3994804B2 (en) Tape printer and tape cassette
JP4784330B2 (en) Printing device
JP2008080668A (en) Print tape, tape cassette and tape printer
CN110293770B (en) Printing apparatus, control method, and recording medium
CN110014751B (en) Printing apparatus, printing control method, and storage medium
JP6981107B2 (en) Printing device and control method of printing device
JP4732946B2 (en) Page pitch detection method, page pitch detection device and printer
JP5152060B2 (en) PRINT TAPE AND TAP PRINTING DEVICE USING PRINT TAPE AND METHOD OF JUDGING PRINT TAPE AND REMAINING RATE FROM MARK PRINTED ON PRINT TAPE
CN108621592B (en) Printing apparatus, printing system, printing control method, and recording medium
JP4696984B2 (en) Printing apparatus and printing program
JP2004082348A (en) Recorder
JPH07246738A (en) Printer
JP2007245558A (en) Printing device and printing program
JP4710669B2 (en) Printing apparatus and printing program
JPH09109425A (en) Printer and recording paper used therein
US10406823B2 (en) Printing device, method of controlling printing device, and computer-readable storage medium
JP2005001887A (en) Printer, control method and program of printer
JP7318254B2 (en) PRINTING DEVICE, PRINT CONTROL METHOD, AND PROGRAM
JP2003312070A (en) Label printer
JP2005313441A (en) Printer
KR100211802B1 (en) Method detecting sheet feeding error for printer
JP3815711B2 (en) Printer
JP2002002037A (en) Image recorder
JP2001335016A (en) Label printer
JP2003159842A (en) Label printer

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080223

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101021

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101026

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101217

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110214

R150 Certificate of patent or registration of utility model

Ref document number: 4696984

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150