JP5400081B2 - Label printer and program - Google Patents

Label printer and program Download PDF

Info

Publication number
JP5400081B2
JP5400081B2 JP2011046511A JP2011046511A JP5400081B2 JP 5400081 B2 JP5400081 B2 JP 5400081B2 JP 2011046511 A JP2011046511 A JP 2011046511A JP 2011046511 A JP2011046511 A JP 2011046511A JP 5400081 B2 JP5400081 B2 JP 5400081B2
Authority
JP
Japan
Prior art keywords
print
length
label
printing
print image
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
JP2011046511A
Other languages
Japanese (ja)
Other versions
JP2012183655A (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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2011046511A priority Critical patent/JP5400081B2/en
Publication of JP2012183655A publication Critical patent/JP2012183655A/en
Application granted granted Critical
Publication of JP5400081B2 publication Critical patent/JP5400081B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明の実施形態は、ラベルプリンタおよびプログラムに関する。   Embodiments described herein relate generally to a label printer and a program.

従来、ラベルプリンタの印字方法には、ラベル搬出時における印字方向の違いによって頭出し印字と尻出し印字とがある。頭出し印字では、印字イメージの最上部のラインから印字が開始される。これに対して尻出し印字では、印字イメージの最下部のラインから印字が開始され、印字が終了したラベル下部から順次、ラベル発行口に送り出される。   2. Description of the Related Art Conventionally, label printer printing methods include cue printing and tail printing depending on the printing direction when the label is carried out. In cue printing, printing starts from the top line of the print image. On the other hand, in the print-out printing, printing is started from the lowermost line of the print image, and sequentially sent from the lower part of the printed label to the label issuing port.

従って、ラベルプリンタのフロントパネルにラベル発行口が設けられる場合には、頭出し印字ではラベルの文字が上下反転した状態でラベル発行口から発行されるため、ラベルが見辛い上、上下反転して商品に貼り付ける必要がある。これに対して尻出し印字ではラベルの文字が上下反転せずに発行されるので、ラベルが見易い上、そのまま商品に貼り付けることができる。   Therefore, if a label issuance port is provided on the front panel of the label printer, it is difficult to see the label and the label is flipped upside down because it is issued from the label issuance in the state that the label characters are turned upside down. It is necessary to paste on the product. On the other hand, in the sticking out printing, the characters on the label are issued without being turned upside down, so that the label is easy to see and can be attached to the product as it is.

しかしながら、尻出し印字ではラベル下部に合わせて印字するので、印字イメージの長さがラベル長(ラベルピッチ)より短い場合には、ラベルの上部に余白部分が残ってしまい、各ラベルにおいて頭出し印字時と同様に印字イメージの上端を揃えることができないという課題があった。   However, since the printout is printed at the bottom of the label, if the length of the print image is shorter than the label length (label pitch), a margin will remain at the top of the label, and the cue print will be printed at each label. As with the time, there was a problem that the top edge of the printed image could not be aligned.

本発明が解決しようとする課題は、印字方向に関わらず、印字イメージのレイアウトを揃えることができるラベルプリンタおよびプログラムを提供することである。   The problem to be solved by the present invention is to provide a label printer and a program capable of aligning the layout of a print image regardless of the print direction.

実施形態のラベルプリンタは、モータと、検出手段と、ヘッドと、印字エリア長算出手段と、空白長算出手段と、搬送制御手段と、印字制御手段とを備える。前記モータは、搬送方向に沿って所定間隔おきに設けられたマークで複数の区間に区切られた印字媒体を、ローラを回転駆動させて搬送する。前記検出手段は、前記マークを検出する。前記ヘッドは、前記印字媒体上に印字イメージを印字する。前記印字エリア長算出手段は、前記印字イメージが前記複数の区間のいくつ分に収まるかを求めて、当該区間のうち前記印字イメージを配置する領域を印字エリアとして設定し、当該印字エリアの前記搬送方向の長さである印字エリア長を算出する。前記空白長算出手段は、前記印字エリアと、前記印字イメージの前記搬送方向の長さである印字イメージ長とに基づいて、前記印字エリアにおいて印字されない白部分の前記搬送方向の長さである空白長を算出する。前記搬送制御手段は、印字開始時に、前記モータを制御して、前記印字エリアの先端部に設けられている前記マークの後端から前記空白長分だけ前記印字媒体を前記搬送方向に搬送する。前記印字制御手段は、前記空白長分だけ前記印字媒体が搬送されてから、前記ヘッドを駆動して、前記印字イメージの下端部から前記印字イメージの印字を開始する。また、前記搬送制御手段は、前記印字イメージの印字後に、前記印字エリアの後端部の前記マークまで前記印字媒体を搬送する。 The label printer of the embodiment includes a motor, a detection unit, a head, a print area length calculation unit, a blank length calculation unit, a conveyance control unit, and a print control unit. The motor conveys a print medium divided into a plurality of sections by marks provided at predetermined intervals along the conveyance direction by rotating a roller. The detection means detects the mark. The head prints a print image on the print medium. The print area length calculating means obtains how many of the plurality of sections the print image fits, sets an area in the section where the print image is arranged as a print area, and transports the print area The print area length which is the length in the direction is calculated. The blank length calculating means, said a print area length, based on the print image length and a length before Ki搬 feeding direction of the printing image, wherein the conveying direction length of the margins portion which is not printed in the print area Calculate the blank length. The transport control means controls the motor at the start of printing to transport the print medium in the transport direction by the blank length from the rear end of the mark provided at the front end of the print area . The print control unit drives the head after the print medium is conveyed by the blank length, and starts printing the print image from the lower end of the print image. The conveyance control means conveys the print medium to the mark at the rear end of the print area after the print image is printed.

図1は、本実施形態のラベルプリンタの外観斜視図である。FIG. 1 is an external perspective view of the label printer of this embodiment. 図2は、ラベルプリンタの構成を示すブロック図である。FIG. 2 is a block diagram showing the configuration of the label printer. 図3は、ラベル用紙の裏面の構成を示す模式図である。FIG. 3 is a schematic diagram showing the configuration of the back side of the label sheet. 図4は、頭出し印字をする場合の印字イメージのレイアウトを示す模式図である。FIG. 4 is a schematic diagram showing a layout of a print image in the case of performing cue printing. 図5は、従来の印字方法によって尻出し印字を行う場合に、ラベル下部に生じる空白部分を説明する模式図である。FIG. 5 is a schematic diagram for explaining a blank portion generated at the bottom of the label when the print-out printing is performed by the conventional printing method. 図6は、最小ラベル区間を2区間用いる場合の印字イメージおよび空白部分を説明する模式図である。FIG. 6 is a schematic diagram for explaining a print image and a blank portion when two minimum label sections are used. 図7は、本実施形態のラベルプリンタが印字するラベルの一例を示す模式図である。FIG. 7 is a schematic diagram illustrating an example of a label printed by the label printer of the present embodiment. 図8は、ラベルプリンタが行う尻出し印字の手順を示すフローチャートである。FIG. 8 is a flowchart showing the procedure of print-out printing performed by the label printer.

図1は、本実施形態のラベルプリンタ1の外観斜視図である。図1に示すように、ラベルプリンタ1は、本体2のフロントパネルにラベル発行口3が設けられている。また、本体2内部にはロール状に巻装されたラベル用紙4をセットすることができる。ラベル用紙4においては、台紙にラベルが貼り付けられている。本体2内部に設けられたサーマルヘッド10(図2参照)がラベルに印字イメージを印字すると、本体2内部に設けられたパルスモータ12(図2参照)はラベル用紙4をラベル発行口3に搬送し、図1に示すようにラベル発行口3からラベル用紙4を排出する。   FIG. 1 is an external perspective view of a label printer 1 according to the present embodiment. As shown in FIG. 1, the label printer 1 is provided with a label issuing port 3 on the front panel of the main body 2. Further, label paper 4 wound in a roll shape can be set inside the main body 2. In the label paper 4, a label is attached to the mount. When the thermal head 10 (see FIG. 2) provided in the main body 2 prints a print image on the label, the pulse motor 12 (see FIG. 2) provided in the main body 2 conveys the label paper 4 to the label issuing port 3. Then, the label paper 4 is discharged from the label issuing port 3 as shown in FIG.

図2は、ラベルプリンタ1の構成を示すブロック図である。図2に示すように、ラベルプリンタ1は、CPU5と、ROM6と、RAM7と、通信I/F(Interface)8と、ヘッドドライバ9と、モータドライバ11と、センサ13とを備えており、これらがバスやインタフェースによって接続されている。また、ヘッドドライバ9にはサーバルヘッド10が接続され、モータドライバ11にはパルスモータ12が接続される。   FIG. 2 is a block diagram showing the configuration of the label printer 1. As shown in FIG. 2, the label printer 1 includes a CPU 5, a ROM 6, a RAM 7, a communication I / F (Interface) 8, a head driver 9, a motor driver 11, and a sensor 13. Are connected by a bus or an interface. A serval head 10 is connected to the head driver 9, and a pulse motor 12 is connected to the motor driver 11.

ROM6は、ラベルプリンタ1で実行されるプログラムや、その他のプログラムおよび各種データを記憶する。RAM7は、CPU5が上記各種プログラムを実行する際に一時的にプログラムやデータを記憶する展開用のメモリである。   The ROM 6 stores a program executed by the label printer 1, other programs, and various data. The RAM 7 is a development memory that temporarily stores programs and data when the CPU 5 executes the various programs.

通信I/F8はラベルプリンタ1とホストコンピュータ(不図示)とを接続し、ラベルプリンタ1とホストコンピュータとのデータ通信を制御する。ホストコンピュータは、通信I/F8を介してRAM7に印字データを送信する。   The communication I / F 8 connects the label printer 1 and a host computer (not shown) and controls data communication between the label printer 1 and the host computer. The host computer transmits print data to the RAM 7 via the communication I / F 8.

サーマルヘッド10には、ラベル用紙4の搬送方向に対して直交する方向に発熱体がライン状に設けられている。ヘッドドライバ9は、印字データに基づいてサーマルヘッド10の発熱体に対する通電のオン・オフを切り替えることにより、ラベル用紙4上のラベルに印字イメージを印字する。   The thermal head 10 is provided with a heating element in a line shape in a direction orthogonal to the conveyance direction of the label paper 4. The head driver 9 prints a print image on the label on the label paper 4 by switching on / off of energization of the heat generating element of the thermal head 10 based on the print data.

パルスモータ12は、ラベル用紙4を搬送するためのプラテンローラ(不図示)を回転させる。モータドライバ11は、パルスモータ12の回転を制御することにより、プラテンローラを回転させて、プラテンローラに当接しているラベル用紙4をラベル発行口3に向けて搬送する。   The pulse motor 12 rotates a platen roller (not shown) for transporting the label paper 4. The motor driver 11 controls the rotation of the pulse motor 12 to rotate the platen roller and convey the label paper 4 in contact with the platen roller toward the label issuing port 3.

センサ13は、反射光センサ等のセンサであり、ラベル用紙4の裏面にプリントされているブラックマーク30(図3参照)を検出する。   The sensor 13 is a sensor such as a reflected light sensor, and detects a black mark 30 (see FIG. 3) printed on the back surface of the label paper 4.

ROM6が格納する本実施形態のプログラムは、算出部21、搬送制御部22、印字制御部23を含むモジュール構成となっている。CPU5は、上記ROM6から本実施形態に係るプログラムを読み出して実行することにより、上記各部を主記憶装置上にロードし、算出部21、搬送制御部22、印字制御部23を主記憶装置上に生成する。   The program of the present embodiment stored in the ROM 6 has a module configuration including a calculation unit 21, a conveyance control unit 22, and a print control unit 23. The CPU 5 reads the program according to the present embodiment from the ROM 6 and executes it to load the above-described units onto the main storage device, and the calculation unit 21, the conveyance control unit 22, and the print control unit 23 onto the main storage device. Generate.

搬送制御部22は、モータドライバ11を制御することにより、ラベル用紙4の搬送を制御する。印字制御部23は、ホストコンピュータから受信した印字データをヘッドドライバ9に送出し、サーマルヘッド10によってこの印字データに対応する印字イメージをラベル上に印字させる。算出部21は、尻出し印字時にラベル内に生じる空白部分の長さを算出する。各部のより詳細な動作については後述する。   The conveyance control unit 22 controls the conveyance of the label paper 4 by controlling the motor driver 11. The print control unit 23 sends print data received from the host computer to the head driver 9 and causes the thermal head 10 to print a print image corresponding to the print data on the label. The calculation unit 21 calculates the length of the blank portion generated in the label at the time of print out. A more detailed operation of each part will be described later.

次に、ラベル用紙4の構成について図3を用いて説明する。図3はラベル用紙4の裏面の構成を示す模式図である。本実施形態において用いられるラベル用紙4には、図示するように等間隔にミシン目31(31a、31b、31c、31d)が設けられており、このミシン目31に沿ってラベル用紙4およびラベル用紙4の表面に貼り付けられているラベルを切り取ることができる。   Next, the configuration of the label paper 4 will be described with reference to FIG. FIG. 3 is a schematic diagram showing the configuration of the back surface of the label paper 4. The label paper 4 used in the present embodiment is provided with perforations 31 (31a, 31b, 31c, 31d) at equal intervals as shown in the figure, and the label paper 4 and the label paper along the perforations 31. The label affixed on the surface of 4 can be cut off.

図3において、2本のミシン目31で挟み込まれ、切り取り可能な最小単位の1区間を最小ラベル区間32(32a、32b、32c)と称する。また、図3に示すように、本実施形態ではラベルピッチとして最小ラベル区間32の3区間分(32a〜32c)が設定されている。通常ラベルピッチはラベル1枚分の長さであるが、本実施形態のようにロール状に巻装されているタイプのラベルに対しては、一度に印字可能な最大ラベル長のことを指す。尚、ラベルピッチについては、設定によって最小ラベル区間32をいくつ含むかを変更することができる。   In FIG. 3, one section of the smallest unit that is sandwiched between two perforations 31 and can be cut is referred to as a minimum label section 32 (32a, 32b, 32c). As shown in FIG. 3, in this embodiment, three label sections 32 (32a to 32c) of the minimum label section 32 are set as the label pitch. Usually, the label pitch is the length of one label, but for a label of a type wound in a roll shape as in the present embodiment, it indicates the maximum label length that can be printed at one time. Note that the number of minimum label sections 32 included in the label pitch can be changed by setting.

即ち、ラベルピッチは、最小ラベル区間32が3区間分以外の複数区間であってもよく、2区間でもよいし、4区間以上であってもよい。ラベルプリンタ1は、1つ以上3つ以下の最小ラベル区間32に対して印字データを展開して印字イメージを印字することができる。   That is, the label pitch may be a plurality of sections other than the minimum label section 32 corresponding to three sections, two sections, or four sections or more. The label printer 1 can print print images by developing print data for one or more and three or less minimum label sections 32.

また、ラベル用紙4の裏面において、ミシン目31の両端部分にはブラックマーク30(30a〜30h)がプリントされている。ブラックマーク30は、ラベル用紙4において印字することができる印字エリアの位置を示すためのマークである。図3では、ブラックマーク30をラベル用紙4の搬送方向(図では縦方向)に二等分する位置にミシン目31が設けられている。これにより、ブラックマーク30はミシン目31の位置検出に用いることができる。   Further, black marks 30 (30a to 30h) are printed on both ends of the perforation 31 on the back surface of the label paper 4. The black mark 30 is a mark for indicating the position of a print area that can be printed on the label paper 4. In FIG. 3, a perforation 31 is provided at a position that bisects the black mark 30 in the conveyance direction (vertical direction in the figure) of the label paper 4. Thereby, the black mark 30 can be used for detecting the position of the perforation 31.

また、ラベルがミシン目31aおよび31dで切り取られる場合には、ラベルの上端部に位置するブラックマーク30a、30bは印字開始位置の指標となり、ラベルの下端部に位置するブラックマーク30g、30hは印字停止位置の指標となる。即ちCPU5は、センサ13によってブラックマーク30を検出することにより、ラベルの印字エリア、ミシン目31の位置等を検出することが出来る。   Further, when the label is cut at the perforations 31a and 31d, the black marks 30a and 30b located at the upper end of the label serve as an index of the print start position, and the black marks 30g and 30h located at the lower end of the label are printed. It becomes an index of the stop position. That is, the CPU 5 can detect the black mark 30 by the sensor 13 to detect the label printing area, the position of the perforation 31, and the like.

ここで、ミシン目31aおよび31dでラベルが切り取られることを考慮すると、ミシン目31a、31dのぎりぎりの位置まで印字されることは好ましくない。そこで、図3に示すように最小ラベル区間32a〜32cを用いてラベルを印字する場合には、ブラックマーク30a、30bの下端からブラックマーク30g、30fの上端までのラベル上の領域が、印字を行ってよい印字エリアとして設定される。   Here, considering that the labels are cut off at the perforations 31a and 31d, it is not preferable to print to the marginal position of the perforations 31a and 31d. Therefore, when printing a label using the minimum label sections 32a to 32c as shown in FIG. 3, the area on the label from the lower end of the black marks 30a, 30b to the upper end of the black marks 30g, 30f is printed. It is set as a print area that can be performed.

次に、ラベルプリンタ1が行う印字処理について説明する。ラベルプリンタ1は、ホストコンピュータからのコマンドを受けて、印字方向を頭出し印字と尻出し印字とに切り替えて印字処理を行うことができる。   Next, the printing process performed by the label printer 1 will be described. Upon receiving a command from the host computer, the label printer 1 can perform printing processing by switching the printing direction between cue printing and tail printing.

まず、ラベルプリンタ1が行う頭出し印字の動作について図4を用いて説明する。図4は、頭出し印字をする場合の印字イメージのレイアウトを示す模式図である。尚、図中矢印は、ラベル用紙4の搬送方向を示す。   First, the cue printing operation performed by the label printer 1 will be described with reference to FIG. FIG. 4 is a schematic diagram showing a layout of a print image in the case of performing cue printing. Note that the arrows in the figure indicate the conveyance direction of the label paper 4.

搬送制御部22は、ラベル用紙4を搬送して、ブラックマーク30aの中心位置、即ちミシン目31aの位置を、サーマルヘッド10のホームポジションに合わせる。印字制御部23は、印字データに基づいて、印字イメージの上端33から1ラインずつ印字イメージをラベル用紙4の印字エリアに印字する。搬送制御部22は、印字イメージが1ライン分印字されると、1ライン分のラベル用紙4を図中矢印で示す搬送方向に搬送する。全ライン分の印字終了後、搬送制御部22は、印字イメージ後端(図では左端)の次のミシン目31cがサーマルヘッド10のホームポジション上となるように、ラベル用紙4を搬送して処理を終了する。   The conveyance control unit 22 conveys the label paper 4 and adjusts the center position of the black mark 30 a, that is, the position of the perforation 31 a to the home position of the thermal head 10. The print control unit 23 prints the print image on the print area of the label paper 4 line by line from the upper end 33 of the print image based on the print data. When the print image is printed for one line, the transport control unit 22 transports the label paper 4 for one line in the transport direction indicated by the arrow in the drawing. After printing for all lines, the conveyance control unit 22 conveys and processes the label paper 4 so that the next perforation 31c at the rear end (left end in the figure) of the print image is on the home position of the thermal head 10. Exit.

ここで、図4に示すように、ラベル用紙4の搬送方向の印字イメージの長さを印字イメージ長と称する。図4では、印字イメージ長が印字エリア長よりも短いため、印字エリアの後端近傍(図では左端近傍)には空白部分が生じる。一方、ブラックマーク30aの後端(図では左端)から印字を開始するので、ラベル上部(図ではラベル右側部分)に余分な空白部分は生じない。従って、頭出し印字においては、各ラベルにおいて印字イメージ長が異なる場合であっても、印字イメージの上端33を揃えることができる。   Here, as shown in FIG. 4, the length of the print image in the conveyance direction of the label paper 4 is referred to as a print image length. In FIG. 4, since the print image length is shorter than the print area length, a blank portion is generated near the rear end of the print area (near the left end in the figure). On the other hand, since printing is started from the rear end (left end in the figure) of the black mark 30a, no extra blank portion is generated at the upper part of the label (right part of the label in the figure). Therefore, in the cue printing, the upper end 33 of the print image can be aligned even if the print image length is different for each label.

尚、ブラックマーク30の先端とは、ラベル用紙4を搬送方向に搬送する場合に、サーマルヘッド10のホームポジションに先に到達するブラックマーク30の先端部のことである。即ち搬送方向が図4に示す方向である場合、各ブラックマーク30の先端は各ブラックマーク30の右端部のことである。一方、ブラックマーク30の後端とは、ラベル用紙4を搬送方向に搬送する場合にサーマルヘッド10のホームポジションを最後に通過するブラックマーク30の後端部のことである。即ち搬送方向が図4に示す方向である場合、各ブラックマーク30の後端は各ブラックマーク30の左端部のことである。   The tip of the black mark 30 is the tip of the black mark 30 that reaches the home position of the thermal head 10 first when the label paper 4 is transported in the transport direction. That is, when the transport direction is the direction shown in FIG. 4, the tip of each black mark 30 is the right end of each black mark 30. On the other hand, the rear end of the black mark 30 is the rear end portion of the black mark 30 that finally passes through the home position of the thermal head 10 when the label paper 4 is transported in the transport direction. That is, when the transport direction is the direction shown in FIG. 4, the rear end of each black mark 30 is the left end portion of each black mark 30.

また、ラベル上部とは、ラベルに印字された文字やイラストを上下正対して見る場合のラベル上部のことを指し、ラベル下部とはラベルに印字された文字やイラストを上下正対して見る場合のラベル下部のことを指す。   The upper part of the label refers to the upper part of the label when the characters or illustrations printed on the label are viewed vertically. The lower part of the label refers to the case where the characters or illustrations printed on the label are viewed vertically. Refers to the bottom of the label.

次に、従来の印字方法によって尻出し印字を行う場合の問題点について説明する。   Next, problems in the case of performing the print out by the conventional printing method will be described.

図5は、従来の印字方法によって尻出し印字を行う場合に、ラベル下部(図ではラベル右側部分)に生じる空白部分を説明する模式図である。ラベルピッチ単位で印字データを展開する場合、即ち最小ラベル区間を3区間用いて印字イメージを尻出し印字する場合、印字エリアはブラックマーク30aの後端(図ではブラックマーク30aの左端)からブラックマーク30dの先端(図ではブラックマーク30dの右端)までとなる。従って、印字イメージ長が印字エリア長より短い場合、ラベル下部(図ではラベルの右側部分)には大きな空白部分が生じてしまう。   FIG. 5 is a schematic diagram for explaining a blank portion generated at the bottom of the label (the right side portion of the label in the figure) when the print-out printing is performed by the conventional printing method. When the print data is expanded in units of label pitch, that is, when the print image is printed out using three minimum label sections, the print area is from the rear end of the black mark 30a (the left end of the black mark 30a in the figure) to the black mark. Up to the tip of 30d (the right end of the black mark 30d in the figure). Therefore, when the print image length is shorter than the print area length, a large blank portion is generated at the lower portion of the label (the right portion of the label in the figure).

図5で説明した印字方法では、最小ラベル区間32が1区間以上空白となる場合もあるため、印字イメージ長に応じて印字エリア長を縮小して印字する代替案も考えられる。   In the printing method described with reference to FIG. 5, the minimum label section 32 may be blank for one section or more, so an alternative is also possible in which the print area length is reduced according to the print image length.

図6は、最小ラベル区間32を2区間分(32a〜32b)用いる場合の印字イメージおよび空白部分を説明する模式図である。この代替案では、図6に示すように、1つ目のブラックマーク30aの後端(図ではブラックマーク30aの左端)において印字を開始する。そして、印字終了後、ミシン目31cをサーマルヘッド10のホームポジションまで搬送移動する。この代替案によれば、最小ラベル区間32a〜32bに印字エリアを収めることができる。しかしながら、印字イメージ長が印字エリア長よりも短い場合には、図示するように、ラベル上部(図ではラベル左側部分)に空白部分が生じてしまう。   FIG. 6 is a schematic diagram for explaining a print image and a blank portion when the minimum label section 32 is used for two sections (32a to 32b). In this alternative, as shown in FIG. 6, printing is started at the rear end of the first black mark 30a (the left end of the black mark 30a in the figure). Then, after the printing is finished, the perforation 31c is transported to the home position of the thermal head 10. According to this alternative, the print area can be accommodated in the minimum label sections 32a to 32b. However, when the print image length is shorter than the print area length, as shown in the drawing, a blank portion is generated at the upper portion of the label (the left portion of the label in the figure).

即ち、この代替案では、印字イメージ長に応じてラベル上部の空白部分の長さが変化する。従って、各ラベルの印字イメージ長が異なる場合に、印字イメージの上端33を揃えることができない。   That is, in this alternative, the length of the blank portion above the label changes according to the print image length. Therefore, when the print image length of each label is different, the upper end 33 of the print image cannot be aligned.

これに対して本実施形態のラベルプリンタ1は、尻出し印字時に図7に示すようなラベルを印字する。   On the other hand, the label printer 1 of this embodiment prints a label as shown in FIG.

図7は、本実施形態のラベルプリンタ1が印字するラベルの一例を示す模式図である。図7に示すように、本実施形態のラベルプリンタ1が印字するラベルにおいては、図4に示す頭出し印字によって印字されたラベルと同様に、ラベル下部(図ではラベルの右側部分)には空白部分が生じているが、ラベル上部(図ではラベルの左側部分)には余分な空白部分が無い。このように本実施形態のラベルプリンタ1が印字するラベルにおいては、頭出し印字した場合と同様に、各ラベルの印字イメージの上端33が揃えられて印字される。 FIG. 7 is a schematic diagram illustrating an example of a label printed by the label printer 1 of the present embodiment. As shown in FIG. 7, in the label printed by the label printer 1 of the present embodiment, the label is printed at the bottom of the label (the right side of the label in FIG. 7 ) in the same manner as the label printed by cue printing shown in FIG. Although there is a blank portion, there is no extra blank portion at the top of the label (the left portion of the label in FIG. 7 ). As described above, in the label printed by the label printer 1 of the present embodiment, the upper end 33 of the print image of each label is aligned and printed, as in the case of cue printing.

次に、このようなラベルを発行する場合にラベルプリンタ1が行う尻出し印字の動作について説明する。   Next, a description will be given of the print-out operation performed by the label printer 1 when issuing such a label.

算出部21は、尻出し印字時に、印字エリア長と印字イメージ長とに基づいて、印字エリアにおいて印字されない空白部分の搬送方向の長さである空白長を算出する。即ち、算出部21は次式(1)を用いて空白長を算出する。
(空白長)=(印字エリア長)−(印字イメージ長) (1)
尚、算出部21は、印字エリア長以外にもラベルピッチなど印字エリアに関するその他のサイズを用いて上述の空白長を算出するとしてもよい。
The calculating unit 21 calculates a blank length that is a length in the transport direction of a blank portion that is not printed in the print area, based on the print area length and the print image length, at the time of printout. That is, the calculation unit 21 calculates the blank length using the following equation (1).
(Blank length) = (print area length)-(print image length) (1)
Note that the calculation unit 21 may calculate the above-described blank length using other sizes related to the print area such as the label pitch in addition to the print area length.

搬送制御部22は、ラベル用紙4を搬送して、ブラックマーク30aの中心位置をサーマルヘッド10のホームポジションに合わせた後、算出部21が算出した空白長分だけラベル用紙4を図中矢印で示す搬送方向に搬送する。   The conveyance control unit 22 conveys the label paper 4 and aligns the center position of the black mark 30a with the home position of the thermal head 10, and then the label paper 4 is shown by the arrow in the figure by the blank length calculated by the calculation unit 21. Transport in the transport direction shown.

印字制御部23は、ラベル用紙4が上述の空白長分だけ搬送されてから、印字イメージの印字を開始する。即ち印字制御部23は、印字データに基づいて、印字イメージの下端から1ラインずつ印字イメージをラベル用紙4の印字エリアに印字する。   The print control unit 23 starts printing the print image after the label sheet 4 is conveyed by the blank length described above. That is, the print control unit 23 prints the print image on the print area of the label paper 4 line by line from the lower end of the print image based on the print data.

搬送制御部22は、印字イメージが1ライン分印字されると、1ライン分のラベル用紙4を搬送方向に搬送する。全ライン分の印字終了後、搬送制御部22は、ラベル用紙4を搬送して、印字イメージ後端(図では左側)の次のブラックマーク30cの中心位置をサーマルヘッド10のホームポジションに合わせ、処理を終了する。   When the print image is printed for one line, the transport control unit 22 transports the label paper 4 for one line in the transport direction. After the printing for all lines is completed, the conveyance control unit 22 conveys the label paper 4 and aligns the center position of the next black mark 30c at the rear end (left side in the figure) of the print image with the home position of the thermal head 10, The process ends.

次に、ラベルプリンタ1が行う尻出し印字の手順について説明する。図8は、ラベルプリンタ1が行う尻出し印字の手順を示すフローチャートである。   Next, the procedure of the print out printing performed by the label printer 1 will be described. FIG. 8 is a flowchart showing the procedure of the margin printing performed by the label printer 1.

まず、ラベルプリンタ1は、ホストコンピュータから通信I/F8を介してラベルの印字データを受信する(ステップS1)。そして、ラベルプリンタ1は、受信した印字データから、印字イメージ長を算出する(ステップS2)。   First, the label printer 1 receives label print data from the host computer via the communication I / F 8 (step S1). Then, the label printer 1 calculates the print image length from the received print data (step S2).

次に、ラベルプリンタ1は、印字イメージ長から印字エリア長を求める(ステップS3)。即ち、印字イメージが最小ラベル区間32のいくつ分に収まるかを求める。図7に示すように最小ラベル区間32a、32bの2区間分に印字イメージが収まる場合、印字エリア長はブラックマーク30a後端(図では左端)からブラックマーク30c先端(図では右端)までの長さとなる。   Next, the label printer 1 obtains the print area length from the print image length (step S3). That is, the number of print images that can be accommodated in the minimum label section 32 is obtained. As shown in FIG. 7, when the print image fits in the two minimum label sections 32a and 32b, the print area length is the length from the rear end of the black mark 30a (left end in the figure) to the front end of the black mark 30c (right end in the figure). It becomes.

次に、ラベルプリンタ1は、式(1)を用いて空白長を算出する(ステップS4)。そして、ラベルプリンタ1は、算出した空白長だけラベル用紙4を搬送(ステップS5)した後に、印字イメージの下端部から印字を開始する(ステップS6)。そして、ラベルプリンタ1は印字イメージを全ライン分印字したか判定し(ステップS7)、全ライン分の印字が終了していない場合(ステップS7:No)には全ライン分の印字が終了するまで印字処理とラベルの搬送処理とを並行して行う。そして全ライン分の印字が終了した場合(ステップS7:Yes)には、印字イメージ後端の次のブラックマーク30の中心位置をサーマルヘッド10のホームポジションまで搬送して(ステップS8)、ラベル発行口3にラベル用紙4を搬出し、処理を終了する。   Next, the label printer 1 calculates a blank length using the formula (1) (step S4). The label printer 1 conveys the label paper 4 by the calculated blank length (step S5), and then starts printing from the lower end of the print image (step S6). Then, the label printer 1 determines whether the print image has been printed for all lines (step S7). If printing for all lines has not been completed (step S7: No), printing for all lines has been completed. Printing processing and label transport processing are performed in parallel. When printing for all lines is completed (step S7: Yes), the center position of the next black mark 30 at the rear end of the print image is conveyed to the home position of the thermal head 10 (step S8), and a label is issued. The label paper 4 is carried out to the mouth 3 and the processing is finished.

以上説明したとおり、本実施形態によれば、尻出し印字時にはラベルの空白長分だけラベル用紙4を搬送してから印字を開始するため、ラベル上部に余分な空白部分ができない。従って、頭出し印字の場合と同様に、各ラベルにおいて印字イメージの上端33を揃えることが可能となり、印字方向(頭出し印字または尻出し印字)に関わらず印字イメージのレイアウトを揃えることができる。   As described above, according to the present embodiment, at the time of printing out, the label paper 4 is transported by the blank length of the label and printing is started, so that no extra blank portion is formed above the label. Accordingly, as in the case of cue printing, the upper end 33 of the print image can be aligned in each label, and the layout of the print image can be aligned regardless of the print direction (cue print or cue print).

尚、上述では、印字方向に関わらず印字イメージの上端33が揃うようなレイアウトとするとしたが、ラベルのレイアウトはその他のレイアウトに揃えられてもよい。その他の例として、頭出し印字時に、印字イメージの下端が揃うようラベルを印字するとし、空白長分だけ先にラベル用紙4を搬送してから印字イメージの印字を開始するとしてもよい。これにより、印字方向に関わらず、印字イメージの下端が揃うようなレイアウトとすることができる。   In the above description, the layout is such that the upper end 33 of the print image is aligned regardless of the print direction, but the label layout may be aligned with other layouts. As another example, at the time of cue printing, a label may be printed so that the lower end of the print image is aligned, and the label paper 4 may be conveyed first by the blank length before printing of the print image is started. As a result, a layout in which the lower end of the print image is aligned regardless of the print direction can be obtained.

なお、本実施形態のラベルプリンタ1で実行されるプログラムは、ROM等に予め組み込まれて提供される。本実施形態のラベルプリンタ1で実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。   The program executed by the label printer 1 of the present embodiment is provided by being incorporated in advance in a ROM or the like. A program executed by the label printer 1 of the present embodiment is a file in an installable format or an executable format, and is a computer such as a CD-ROM, a flexible disk (FD), a CD-R, a DVD (Digital Versatile Disk). You may comprise so that it may record and provide on a readable recording medium.

さらに、本実施形態のラベルプリンタ1で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、本実施形態のラベルプリンタ1で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。   Furthermore, the program executed by the label printer 1 of the present embodiment may be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network. Further, the program executed by the label printer 1 of the present embodiment may be configured to be provided or distributed via a network such as the Internet.

なお、本発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化することができる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成することができる。例えば、実施形態に示される全構成要素からいくつかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせても良い。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Moreover, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, the constituent elements over different embodiments may be appropriately combined.

1 ラベルプリンタ
2 本体
3 ラベル発行口
4 ラベル用紙
30(30a〜30h) ブラックマーク
31(31a〜31d) ミシン目
32(32a〜32c) 最小ラベル区間
33 印字イメージの上端
DESCRIPTION OF SYMBOLS 1 Label printer 2 Main body 3 Label issuing port 4 Label paper 30 (30a-30h) Black mark 31 (31a-31d) Perforation 32 (32a-32c) Minimum label area 33 Upper end of print image

特許第2544820号公報Japanese Patent No. 2544820

Claims (2)

搬送方向に沿って所定間隔おきに設けられたマークで複数の区間に区切られた印字媒体を、ローラを回転駆動させて搬送するモータと、
前記マークを検出する検出手段と、
前記印字媒体上に印字イメージを印字するヘッドと、
前記印字イメージが前記複数の区間のいくつ分に収まるかを求めて、当該区間のうち前記印字イメージを配置する領域を印字エリアとして設定し、当該印字エリアの前記搬送方向の長さである印字エリア長を算出する印字エリア長算出手段と、
前記印字エリアと、前記印字イメージの前記搬送方向の長さである印字イメージ長とに基づいて、前記印字エリアにおいて印字されない白部分の前記搬送方向の長さである空白長を算出する空白長算出手段と、
印字開始時に、前記モータを制御して、前記印字エリアの先端部に設けられている前記マークの後端から前記空白長分だけ前記印字媒体を前記搬送方向に搬送する搬送制御手段と、
前記空白長分だけ前記印字媒体が搬送されてから、前記ヘッドを駆動して、前記印字イメージの下端部から前記印字イメージの印字を開始する印字制御手段と、を備え
前記搬送制御手段は、前記印字イメージの印字後に、前記印字エリアの後端部の前記マークまで前記印字媒体を搬送する、ラベルプリンタ。
A motor for rotating a roller to convey a print medium divided into a plurality of sections by marks provided at predetermined intervals along the conveyance direction; and
Detecting means for detecting the mark;
A head for printing a print image on the print medium;
A print area which is the length of the print area in the transport direction is determined by determining how many of the plurality of sections the print image fits, and setting an area in which the print image is arranged in the section. A printing area length calculating means for calculating the length;
The calculating and printing area length, on the basis of the print image length and a length before Ki搬 feeding direction of the print image, the blank length is the length in the transport direction of the margins portion which is not printed in the print area Blank length calculation means to
Transport control means for controlling the motor at the start of printing to transport the print medium in the transport direction by the blank length from the rear end of the mark provided at the front end of the print area ;
Print control means for driving the head after the print medium has been conveyed by the blank length and starting printing of the print image from the lower end of the print image ;
The transport control means transports the print medium to the mark at the rear end of the print area after printing the print image .
搬送方向に沿って所定間隔おきに設けられたマークで複数の区間に区切られた印字媒体を、ローラを回転駆動させて搬送するモータと、前記マークを検出する検出手段と、前記印字媒体上に印字イメージを印字するヘッドと、を備えるラベルプリンタにおいてコンピュータを、A motor that conveys a print medium that is divided into a plurality of sections by marks provided at predetermined intervals along the conveyance direction, and conveys the print medium by rotating a roller, a detection unit that detects the mark, and the print medium A label printer comprising: a head for printing a print image;
前記印字イメージが前記複数の区間のいくつ分に収まるかを求めて、当該区間のうち前記印字イメージを配置する領域を印字エリアとして設定し、当該印字エリアの前記搬送方向の長さである印字エリア長を算出する印字エリア長算出手段と、A print area which is the length of the print area in the transport direction is determined by determining how many of the plurality of sections the print image fits, and setting an area in which the print image is arranged in the section. A printing area length calculating means for calculating the length;
前記印字エリア長と、前記印字イメージの前記搬送方向の長さである印字イメージ長とに基づいて、前記印字エリアにおいて印字されない余白部分の前記搬送方向の長さである空白長を算出する空白長算出手段と、Based on the print area length and the print image length that is the length in the transport direction of the print image, the blank length that calculates the blank length that is the length in the transport direction of the blank portion that is not printed in the print area A calculation means;
印字開始時に、前記モータを制御して、前記印字エリアの先端部に設けられている前記マークの後端から前記空白長分だけ前記印字媒体を前記搬送方向に搬送する搬送制御手段と、Transport control means for controlling the motor at the start of printing to transport the print medium in the transport direction by the blank length from the rear end of the mark provided at the front end of the print area;
前記空白長分だけ前記印字媒体が搬送されてから、前記ヘッドを駆動して、前記印字イメージの下端部から前記印字イメージの印字を開始する印字制御手段と、として機能させ、After the printing medium is conveyed by the blank length, the head is driven to function as a print control means for starting printing of the print image from the lower end of the print image,
前記搬送制御手段は、前記印字イメージの印字後に、前記印字エリアの後端部の前記マークまで前記印字媒体を搬送する、プログラム。The program in which the conveyance control unit conveys the print medium to the mark at the rear end of the print area after printing the print image.
JP2011046511A 2011-03-03 2011-03-03 Label printer and program Active JP5400081B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011046511A JP5400081B2 (en) 2011-03-03 2011-03-03 Label printer and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011046511A JP5400081B2 (en) 2011-03-03 2011-03-03 Label printer and program

Publications (2)

Publication Number Publication Date
JP2012183655A JP2012183655A (en) 2012-09-27
JP5400081B2 true JP5400081B2 (en) 2014-01-29

Family

ID=47014190

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011046511A Active JP5400081B2 (en) 2011-03-03 2011-03-03 Label printer and program

Country Status (1)

Country Link
JP (1) JP5400081B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4056380B1 (en) * 2014-10-21 2024-04-03 Gen-Probe Incorporated Method and apparatus for printing on an object having a curved surface
JP6459520B2 (en) * 2015-01-06 2019-01-30 コニカミノルタ株式会社 Printed material manufacturing method and printing apparatus
JP6515729B2 (en) * 2015-08-06 2019-05-22 セイコーエプソン株式会社 Printer control method, program, storage medium, and printer
JP7147385B2 (en) * 2018-09-04 2022-10-05 コニカミノルタ株式会社 IMAGE FORMING APPARATUS AND IMAGE FORMING APPARATUS CONTROL PROGRAM

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002283622A (en) * 2001-03-26 2002-10-03 Sato Corp Print control method
JP2003165258A (en) * 2001-11-30 2003-06-10 Toshiba Tec Corp Printer
JP2011000790A (en) * 2009-06-18 2011-01-06 Sato Knowledge & Intellectual Property Institute Printer for shelf tag and printing method using the same

Also Published As

Publication number Publication date
JP2012183655A (en) 2012-09-27

Similar Documents

Publication Publication Date Title
JP5400081B2 (en) Label printer and program
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
JP6878254B2 (en) Printing equipment and printing method
JP2000289259A (en) Method for perfecting printing and system
JP5929901B2 (en) Thermal head printing speed control method
JP5891776B2 (en) Printing device
US20150213339A1 (en) Print control apparatus and print control method
EP1040928A1 (en) Label printer and method of producing a label
JP2014188783A (en) Printing method and printing apparatus
JP6051933B2 (en) Printer and printer control method
JP2011025434A (en) Label printing apparatus
JP5188738B2 (en) Image reading apparatus, image reading apparatus control method, and image reading apparatus control program
JP2008213287A (en) Image forming apparatus
JP4705278B2 (en) Printing device
JP5018719B2 (en) Label data creation device, program, and recording medium
JP2019048690A (en) Printer and program
JP6447559B2 (en) Printing apparatus, printing method, and printing program
JP7128604B2 (en) printer
JP5481449B2 (en) Printing apparatus and control program therefor
JPH1148572A (en) Image forming apparatus
JP2011183657A (en) Thermal printer and control method thereof
JP5779994B2 (en) Printing device
JP2010208084A (en) Printer
JP2006116860A (en) Stencil printing equipment
JP2019030984A (en) Image recording apparatus and image creation method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130326

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130327

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130521

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131024

R150 Certificate of patent or registration of utility model

Ref document number: 5400081

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150