JP4203424B2 - Printer - Google Patents

Printer Download PDF

Info

Publication number
JP4203424B2
JP4203424B2 JP2004013970A JP2004013970A JP4203424B2 JP 4203424 B2 JP4203424 B2 JP 4203424B2 JP 2004013970 A JP2004013970 A JP 2004013970A JP 2004013970 A JP2004013970 A JP 2004013970A JP 4203424 B2 JP4203424 B2 JP 4203424B2
Authority
JP
Japan
Prior art keywords
amount
margin
paper
printing
print
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.)
Expired - Fee Related
Application number
JP2004013970A
Other languages
Japanese (ja)
Other versions
JP2005205709A (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 JP2004013970A priority Critical patent/JP4203424B2/en
Publication of JP2005205709A publication Critical patent/JP2005205709A/en
Application granted granted Critical
Publication of JP4203424B2 publication Critical patent/JP4203424B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Handling Of Sheets (AREA)

Description

本発明は、ラベルプリンタ,レシートプリンタ等のプリンタに関する。   The present invention relates to a printer such as a label printer or a receipt printer.

従来のラベルプリンタにおける印字処理の概要について、図5を用いて説明する。図5において、1はラベル台紙、2A,2B,2C,2D,…はこのラベル台紙1の上に一定間隔を開けて剥離可能に設けられたラベル、3はラベル2A,2B,2C,2D,…にデータを印字するサーマルヘッド、4はサーマルヘッド3と対向する位置で前記ラベル台紙1を支えるプラテン、5は前記サーマルヘッド3による印字位置よりもラベル台紙1の搬送方向Xに対して下流側で前記ラベル台紙1を切断するカッタである。 An outline of printing processing in a conventional label printer will be described with reference to FIG. In FIG. 5, 1 is a label mount, 2A, 2B, 2C, 2D,... Are labels provided on the label mount 1 so as to be peeled at regular intervals, and 3 is a label 2A, 2B, 2C, 2D,. A thermal head for printing data on 4, 4 is a platen that supports the label mount 1 at a position facing the thermal head 3, and 5 is a downstream side of the printing position by the thermal head 3 with respect to the transport direction X of the label mount 1. And a cutter for cutting the label mount 1.

従来のラベルプリンタは、1枚のラベル2Aへの印字が完了すると、カッタ5による切断線が印字済のラベル2Aとその次のラベル2Bとの間に位置するように、ラベル台紙1をX方向に一定量フィードして停止させる(図5(a)を参照)。そして、カッタ5を動作させて、ラベル台紙1を切断する。このとき、各ラベル2A,2B,2C,2D,…の間隔と、サーマルヘッド3及びカッタ5の取付け位置との関係から、次に印字を行うラベル2Bは、その先頭部分(図中、ハッチングされた部分)Pがサーマルヘッド3よりも用紙搬送方向Xに対して下流側で停止する(図5(b)を参照)。 In the conventional label printer, when the printing on one label 2A is completed, the label mount 1 is placed in the X direction so that the cutting line by the cutter 5 is positioned between the printed label 2A and the next label 2B. Is stopped by feeding a certain amount (see FIG. 5A). Then, the cutter 5 is operated to cut the label mount 1. At this time, the label 2B to be printed next is hatched in the drawing (hatched in the figure) from the relationship between the interval between the labels 2A, 2B, 2C, 2D,... And the mounting position of the thermal head 3 and the cutter 5. The portion P) stops downstream of the thermal head 3 in the paper transport direction X (see FIG. 5B).

そこで、ラベル2Bの先頭部分Pにも印字を行うために、従来のラベルプリンタは、印字前に、ラベル2Bの先端がサーマルヘッド3の印字位置に位置するように、ラベル台紙1を−X方向に規定量だけバックフィードする(図5(c)を参照)。しかる後、ラベル台紙1をX方向にフィードしてラベル2Bへの印字を開始する。そして、印字を完了すると、カッタ5による切断線が印字済のラベル2Bとその次のラベル2Cとの間に位置するように、ラベル台紙1をX方向に一定量フィードして停止させる(図5(d)を参照)。   Therefore, in order to perform printing on the leading portion P of the label 2B, the conventional label printer places the label mount 1 in the −X direction so that the leading end of the label 2B is positioned at the printing position of the thermal head 3 before printing. Is fed back by a specified amount (see FIG. 5C). Thereafter, the label mount 1 is fed in the X direction and printing on the label 2B is started. When printing is completed, the label mount 1 is fed by a certain amount in the X direction and stopped so that the cutting line by the cutter 5 is positioned between the printed label 2B and the next label 2C (FIG. 5). (See (d)).

このように、従来のこの種のラベルプリンタにおいては、ラベルの先端から印字するために印字前に規定量のバックフィードを行ってから印字を開始していた(例えば、特許文献1参照)。
特開2001−328302
As described above, in this type of conventional label printer, printing is started after a predetermined amount of backfeed is performed before printing in order to print from the leading end of the label (for example, see Patent Document 1).
JP 2001-328302 A

しかしながら従来は、ラベルの先頭部分Pへの印字データが空白であった場合でも必ず用紙を規定量バックフィードし、その後、印字開始位置まで印字を行わないでフィードする、いわゆる空フィードをしていたので、バックフィード及び空フィードに要する時間や電力等が無駄に消費されていた。   However, conventionally, even when the print data to the head portion P of the label is blank, the paper is always back-feeded by a specified amount, and then the so-called empty feed is carried out without printing until the print start position. Therefore, the time and power required for the back feed and the empty feed are wasted.

このような問題はラベルプリンタに限らず、用紙の先端から印字するために用紙を規定量バックフィードしてから印字を開始するプリンタ、例えばレシートプリンタ等にも生じるものである。   Such a problem occurs not only in a label printer but also in a printer such as a receipt printer that starts printing after backfeeding a predetermined amount of paper for printing from the leading edge of the paper.

そこで本発明は、用紙のバックフィードとそれに伴う空フィードとを無くすことによって無駄な時間と電力の消費を減らすことができ、効率化を図ることができるプリンタを提供しようとするものである。   Accordingly, the present invention is intended to provide a printer that can reduce wasteful time and power consumption by eliminating the back feed of paper and the accompanying empty feed, thereby improving efficiency.

本発明は、用紙の先端から印字するために用紙を規定量バックフィードしてから印字を開始するプリンタにおいて、用紙先頭部分への印字データが空白であるためにバックフィードの必要がないときにはバックフィードを行わないようにするために、用紙への印字データに基づいて描画されたイメージデータの先頭部分に規定量以上の余白があるか否かを判断する余白判断手段と、この余白判断手段により規定量以上の余白があると判断すると、バックフィードを行わずに印字を開始する印字制御手段とを具備したものである。   According to the present invention, in a printer that starts printing after a predetermined amount of paper is back-fed for printing from the leading edge of the paper, the back-feed is not necessary when the back-feed is not necessary because the print data at the head of the paper is blank. In order to prevent the image data from being printed, a margin judgment unit for judging whether or not there is a margin of a specified amount or more at the head portion of the image data drawn based on the print data on the paper, and the margin judgment unit When it is determined that there is a margin equal to or greater than the amount, a printing control unit that starts printing without performing backfeed is provided.

かかる手段を講じた本発明によれば、用紙のバックフィードとそれに伴う空フィードとが無くなって無駄な時間と電力の消費を減らすことができ、効率化を図ることができるプリンタを提供できる。   According to the present invention in which such a measure is taken, it is possible to provide a printer capable of reducing wasteful time and power consumption by eliminating the back feed of paper and the accompanying empty feed, thereby reducing efficiency.

以下、本発明の実施の形態を図面を用いて説明する。
なお、この実施の形態は、図5に示すように、ラベル台紙1に一定の間隔を開けて設けられたラベル2A,2B,2C,2D,…に、サーマルヘッド3とプラテン4とが対向する印字位置でデータを印字した後、カッタ5によりラベル台紙1を切断して、ラベル2A,2B,2C,2D,…を順次発行する形式のラベルプリンタに本発明を適用した場合である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
In this embodiment, as shown in FIG. 5, the thermal head 3 and the platen 4 face labels 2A, 2B, 2C, 2D,... This is a case where the present invention is applied to a label printer that prints data at a printing position, then cuts the label mount 1 with a cutter 5 and sequentially issues labels 2A, 2B, 2C, 2D,.

図1は本実施の形態におけるラベルプリンタの要部構成を示すブロック図である。このラベルプリンタは、制御部本体としてCPU(Central Processing Unit)11を設けている。また、プログラム,キャラクタジェネレータデータ等の固定的なデータが格納されたROM(Read Only Memory)12、可変的なデータを格納するための各種メモリエリアが形成されたRAM(Random Access Memory)13、上位のコンピュータ(不図示)から印字データ等を受信する通信インターフェイス14、前記サーマルヘッド3を駆動させるヘッド駆動回路15、前記ラベル台紙1をフィード方向X及びバックフィード方向−Xにフィードさせる用紙フィード機構(不図示)の動力源であるステッピングモータ16を駆動させるモータ駆動回路17、インクリボン(不図示)を送り動作させるためのリボンモータ18を駆動させるモータ駆動回路19、前記カッタ5を駆動させるカッタソレノイド20に通電信号を出力するI/Oポート21及び用紙位置決めセンサ等の各種センサ22から信号を入力するI/Oポート23等を設けている。そしてCPU11と、ROM12,RAM13,通信インターフェイス14,ヘッド駆動回路15,各モータ駆動回路17,19及び各I/Oポート21,23とを、アドレスバス,データバス等のバスライン24で接続している。   FIG. 1 is a block diagram showing a main configuration of a label printer according to the present embodiment. This label printer is provided with a CPU (Central Processing Unit) 11 as a control unit main body. Also, a ROM (Read Only Memory) 12 in which fixed data such as programs and character generator data is stored, a RAM (Random Access Memory) 13 in which various memory areas for storing variable data are formed, and a host A communication interface 14 that receives print data from a computer (not shown), a head drive circuit 15 that drives the thermal head 3, and a paper feed mechanism that feeds the label mount 1 in the feed direction X and the backfeed direction -X ( A motor drive circuit 17 for driving a stepping motor 16 as a power source (not shown), a motor drive circuit 19 for driving a ribbon motor 18 for feeding an ink ribbon (not shown), and a cutter solenoid for driving the cutter 5. I / O port 21 for outputting an energization signal to 20 and It is provided an I / O port 23 for inputting signals from various sensors 22 such as a paper positioning sensor. The CPU 11, ROM 12, RAM 13, communication interface 14, head drive circuit 15, motor drive circuits 17, 19 and I / O ports 21, 23 are connected by a bus line 24 such as an address bus or a data bus. Yes.

RAM13には、特に図2に示すように、少なくともラベル1枚に相当するN(N>1)ライン分のイメージデータが描画されるイメージバッファ30が形成されている。   As shown in FIG. 2 in particular, the RAM 13 is formed with an image buffer 30 in which image data for N (N> 1) lines corresponding to at least one label is drawn.

しかしてCPU11は、図3の流れ図に示す手順の処理を実行するようにプログラムされている。すなわちCPU11は、ST(ステップ)1としてコンピュータからのコマンドを待機する。そして、ST2として通信インターフェイス14を介して受信したコマンドが文字,バーコード,罫線等の印字データの描画を指示するコマンドであった場合には、CPU11は、ST3としてその印字データに基づいてイメージバッファ30に文字,バーコード,罫線等のイメージデータを描画する。   Therefore, the CPU 11 is programmed to execute the processing of the procedure shown in the flowchart of FIG. That is, the CPU 11 waits for a command from the computer as ST (step) 1. If the command received via the communication interface 14 as ST2 is a command for instructing drawing of print data such as characters, bar codes, ruled lines, etc., the CPU 11 performs the image buffer based on the print data as ST3. 30 draws image data such as characters, bar codes, ruled lines, and the like.

一方、同じく受信したコマンドがラベル発行を要求するコマンドであった場合には、CPU11は、ST5としてイメージバッファ30のデータを先頭ライン(1ライン目)から順にサーチして、1ライン全てが印字ドットでない余白ラインか否かを判断する。そして、余白ラインでないラインを検出するまで、先頭ラインからのライン数を余白ライン数Aとして計数する。   On the other hand, if the received command is a command for requesting label issuance, the CPU 11 searches the data in the image buffer 30 in order from ST1 in ST5, and all the lines are printed dots. It is determined whether or not the margin line is not. Then, the number of lines from the first line is counted as the number of blank lines A until a line that is not a blank line is detected.

次に、CPU11は、ST6として余白ライン数Aが“0”であるか否かを判断する。そして、“0”であった場合には、ラベルの先頭からデータを印字するので、CPU11は、ST7としてステッピングモータ16を逆転駆動させてラベル台紙1を−X方向にバックフィードさせる。そして、バックフィード量が予め設定された固定ライン数Bに相当する規定量に達したならば、ST15として今度はステッピングモータ16を正転駆動させてラベル台紙1をX方向にフィードさせるとともに、サーマルヘッド3の通電を制御しかつリボンモータ18を駆動させて、ラベル台紙1の先頭に位置していたラベルに対し、イメージバッファ30の1ライン目から描画されているイメージデータの印字を行う。そして印字終了後、印字開始からの紙送り量が所定値に到達したならば、ステッピングモータ16を停止させるとともにカッタソレノイド20を通電して、ラベル台紙1を切断し、ラベル発行を行う。   Next, the CPU 11 determines whether or not the number A of blank lines is “0” in ST6. If it is “0”, the data is printed from the head of the label, so the CPU 11 reversely drives the stepping motor 16 in ST7 to back-feed the label mount 1 in the −X direction. When the back feed amount reaches a predetermined amount corresponding to the preset fixed line number B, as ST15, the stepping motor 16 is driven forward to feed the label mount 1 in the X direction, The energization of the head 3 is controlled and the ribbon motor 18 is driven to print the image data drawn from the first line of the image buffer 30 on the label located at the head of the label mount 1. When the paper feed amount from the start of printing reaches a predetermined value after the printing is finished, the stepping motor 16 is stopped and the cutter solenoid 20 is energized to cut the label mount 1 and issue a label.

ここで、固定ライン数Bは、カッタ5でラベル台紙1を切断した際に残った先頭のラベル2Bの先端からサーマルヘッド3の印字位置までの距離に相当するライン数であり、各ラベル2A,2B,2C,2D…の間隔と、サーマルヘッド3及びカッタ5の取付け位置との関係から一義的に求められる。また、印字開始からの紙送り量は、カッタ5により切断されたラベル台紙1の先端から先頭のラベル2Bの後端までの距離に相当する(図5(b),(c)を参照)
一方、余白ライン数Aが“0”でない場合には、CPU11は、ST8として余白ライン数Aが固定ライン数B以上であるか否かを判断する(余白判断手段)。そして、余白ライン数Aが固定ライン数B以上であると判断した場合には、CPU11は、ST9としてラベルに対する印字開始アドレスを、イメージバッファ30の1ライン目に対応するデフォルト値からイメージバッファ30のBライン目に対応する値まで進める。また、ST10として1枚分のラベル印字に必要な紙送り量を、カッタ5により切断されたラベル台紙1の先端から先頭のラベル2Bの後端までの距離に相当するデフォルト量から固定ライン数Bに相当する量を減算して補正する(補正手段,第の補正手段)。
Here, the fixed line number B is the number of lines corresponding to the distance from the leading end of the leading label 2B remaining when the label mount 1 is cut by the cutter 5 to the print position of the thermal head 3, and each label 2A, Is uniquely determined from the relationship between the intervals 2B, 2C, 2D... And the mounting positions of the thermal head 3 and the cutter 5. The paper feed amount from the start of printing corresponds to the distance from the front end of the label mount 1 cut by the cutter 5 to the rear end of the top label 2B (see FIGS. 5B and 5C) .
On the other hand, if the margin line number A is not “0”, the CPU 11 determines whether the margin line number A is equal to or greater than the fixed line number B in ST8 (margin determining means). If the CPU 11 determines that the blank line number A is equal to or greater than the fixed line number B, the CPU 11 sets the print start address for the label from ST to the default value corresponding to the first line of the image buffer 30 in ST9. Advance to the value corresponding to the B line. In ST10, the paper feed amount required for printing one label is changed from the default amount corresponding to the distance from the leading edge of the label mount 1 cut by the cutter 5 to the trailing edge of the leading label 2B. Is corrected by subtracting the amount corresponding to (correction means, second correction means).

しかる後、CPU11は、ST15としてステッピングモータ16を正転駆動させてラベル台紙1をX方向にフィードさせるとともに、サーマルヘッド3の通電を制御しかつリボンモータ18を駆動させて、ラベル台紙1の先頭に位置していたラベル2Bに対し、イメージバッファ30のBライン目以降に描画されたイメージデータの印字を行う。そして印字終了後、印字開始からの紙送り量が補正後の値に到達したならば、ステッピングモータ16を停止させるとともにカッタソレノイド20を通電して、ラベル台紙1を切断し、ラベル2Bの発行を行う(第2の印字制御手段)。 Thereafter, in step ST15, the CPU 11 drives the stepping motor 16 to rotate forward to feed the label board 1 in the X direction, and controls the energization of the thermal head 3 and drives the ribbon motor 18 to drive the head of the label board 1. The image data drawn after the B-th line of the image buffer 30 is printed on the label 2 </ b> B located at. When the paper feed amount from the start of printing reaches the corrected value after printing is completed, the stepping motor 16 is stopped and the cutter solenoid 20 is energized to cut the label mount 1 and issue the label 2B. ( Second print control means)

これに対し、余白ライン数Aが固定ライン数Bより少ないと判断した場合には、CPU11は、ST11として固定ライン数Bから余白ライン数Aを減算して、最小のバックフィード量に相当するライン数Cを算出する(バックフィード量算出手段)。そしてCPU11は、ST12として印字開始アドレスを、前記デフォルト値からイメージバッファ30のCライン目に対応する値まで進めて補正する。また、ST13として1枚分のラベル印字に必要な紙送り量を、前記デフォルト量からライン数Cに相当する量を減算して補正する(第の補正手段)。 On the other hand, if it is determined that the number A of blank lines is smaller than the number B of fixed lines, the CPU 11 subtracts the number A of blank lines from the number B of fixed lines in ST11, and corresponds to the minimum back feed amount. The number C is calculated (back feed amount calculation means). In step ST12, the CPU 11 corrects the print start address by proceeding from the default value to a value corresponding to the C-th line of the image buffer 30. In ST13, the paper feed amount necessary for label printing for one sheet is corrected by subtracting an amount corresponding to the number of lines C from the default amount ( first correcting means).

しかる後、CPU11は、ST14としてステッピングモータ16を逆転駆動させてラベル台紙1を−X方向にバックフィードさせる。そして、バックフィード量がライン数Cに相当する量に達したならば、ST15として今度はステッピングモータ16を正転駆動させてラベル台紙1をX方向にフィードさせるとともに、サーマルヘッド3の通電を制御しかつリボンモータ18を駆動させて、ラベル台紙1の先頭に位置していたラベルに対し、イメージバッファ30のCライン目以降に描画されたイメージデータの印字を行う。そして印字終了後、印字開始からの紙送り量が補正後の値に到達したならば、ステッピングモータ16を停止させるとともにカッタソレノイド20を通電して、ラベル台紙1を切断し、ラベル発行を行う(第の印字制御手段)。 Thereafter, the CPU 11 reversely drives the stepping motor 16 in ST14 to back-feed the label mount 1 in the −X direction. If the back feed amount reaches an amount corresponding to the number of lines C, as ST15, the stepping motor 16 is driven forward to feed the label mount 1 in the X direction and the energization of the thermal head 3 is controlled. Then, the ribbon motor 18 is driven to print the image data drawn after the C line of the image buffer 30 on the label located at the head of the label mount 1. When the paper feed amount from the start of printing reaches the corrected value after printing is finished, the stepping motor 16 is stopped and the cutter solenoid 20 is energized to cut the label mount 1 and issue a label ( first print control means).

このように本実施の形態においては、イメージバッファ30に描画されたイメージデータ31の先頭部分に空白がない場合には、従来と同様に、固定ライン数Bに相当する規定量の用紙バックフィードを行ってからラベル印字を開始する。しかし、図4(a)に示すように、イメージバッファ30に描画されたイメージデータ31の先頭部分に固定ライン数B以上の空白がある場合には、用紙バックフィードを行うことなくラベル印字を開始する。したがって、バックフィードや空フィードに消費する無駄な時間や電力等を無くすことができ、スループットの向上,省電力化等の効率化を図ることができる。また、バックフィード動作が減るので、プラテン4やステッピングモータ16等への負荷が軽減され、これらの消耗品の長寿命化を図れる利点もある。   As described above, in the present embodiment, when there is no blank at the beginning of the image data 31 drawn in the image buffer 30, a paper backfeed of a specified amount corresponding to the fixed line number B is performed as in the conventional case. The label printing starts after it is done. However, as shown in FIG. 4 (a), when there is a blank having a fixed line number B or more at the beginning of the image data 31 drawn in the image buffer 30, label printing is started without performing paper backfeed. To do. Therefore, it is possible to eliminate wasted time and power consumed for back feed and empty feed, and it is possible to improve efficiency such as improvement of throughput and power saving. Further, since the back feed operation is reduced, the load on the platen 4 and the stepping motor 16 is reduced, and there is an advantage that the life of these consumables can be extended.

また、本実施の形態においては、図4(b)に示すように、イメージバッファ30に描画されたイメージデータ31の先頭部分の余白領域がBラインより少ない場合でも、バックフィードの規定量に相当する固定ライン数Bから先頭の余白ライン数Aを減算して最小のバックフィード量に相当するライン数Cを算出し、このライン数Cだけ用紙バックフィードを行ってからラベル印字を開始するようにしている。したがって、この場合もバックフィードや空フィードに消費する無駄な時間や電力等を無くすことができ、さらなる効率化を図ることができる。   In the present embodiment, as shown in FIG. 4B, even when the margin area at the head of the image data 31 drawn in the image buffer 30 is smaller than the B line, it corresponds to the specified amount of back feed. The number of lines C corresponding to the minimum back feed amount is calculated by subtracting the number A of the leading margin lines from the fixed line number B to be performed, and label printing is started after paper back feed is performed by this number of lines C. ing. Therefore, also in this case, it is possible to eliminate wasted time and power consumed for the back feed and the empty feed, and further efficiency can be achieved.

なお、本発明はラベル台紙を切断する形式のラベルプリンタに限定されるものではなく、ラベル印字を完了すると、印字済のラベルを剥離できる位置までラベル台紙を送ってから停止する形式のラベルプリンタや、POS(Point Of Sales)端末等に連動してレシートを印字し発行するレシートプリンタ等にも同様に適用できるものである。   Note that the present invention is not limited to a label printer of a type that cuts the label mount, and when the label printing is completed, a label printer of a type that stops after sending the label mount to a position where the printed label can be peeled off. The present invention is also applicable to a receipt printer that prints and issues a receipt in conjunction with a POS (Point Of Sales) terminal or the like.

また、前記実施の形態において、図3のST6及びST11〜ST14の処理を省略し、ST8にて余白ライン数Aが固定ライン数Bより少ないと判断した場合には、ST7の処理に進んで、規定量の用紙バックフィードを行ってから印字を開始するように制御を変更しても、従来と比較してスループットの向上,省電力化等の効率化を図ることができるのは言うまでもないことである。   In the above embodiment, the processes of ST6 and ST11 to ST14 in FIG. 3 are omitted, and if it is determined in ST8 that the number of blank lines A is less than the fixed line number B, the process proceeds to ST7. It goes without saying that even if the control is changed to start printing after a specified amount of paper backfeed has been performed, it is possible to improve efficiency, such as improved throughput and power saving, compared to the conventional method. is there.

本発明の一実施の形態であるラベルプリンタの要部構成を示すブロック図。1 is a block diagram showing a main configuration of a label printer according to an embodiment of the present invention. 同実施の形態のラベルプリンタが有するイメージバッファを模式的に示す図。The figure which shows typically the image buffer which the label printer of the embodiment has. 同実施の形態においてラベルプリンタのCPUが実行する主要な処理手順を示す流れ図。3 is a flowchart showing a main processing procedure executed by the CPU of the label printer in the embodiment. イメージデータが描画されたイメージバッファを模式的に示す図。The figure which shows typically the image buffer by which image data was drawn. ラベルプリンタの印字処理の概要を示す模式図。The schematic diagram which shows the outline | summary of the printing process of a label printer.

符号の説明Explanation of symbols

1…ラベル台紙、2(2A,2B,2C,2D,…)…ラベル、3…サーマルヘッド、4…カッタ、5…プラテン、11…CPU、30…イメージバッファ。   DESCRIPTION OF SYMBOLS 1 ... Label mount, 2 (2A, 2B, 2C, 2D, ...) ... Label, 3 ... Thermal head, 4 ... Cutter, 5 ... Platen, 11 ... CPU, 30 ... Image buffer.

Claims (2)

搬送される用紙に印字を行う印字ヘッドと、この印字ヘッドにより印字が行われた用紙を切断するカッタとを備えたプリンタにおいて、
前記用紙への印字データに基づいてイメージデータが描画されるイメージバッファと、
このイメージバッファに描画されたイメージデータの先頭部分に規定量以上の余白があるか否かを判断する余白判断手段と、
この余白判断手段により前記規定量以上の余白がないと判断されると、印字開始位置を前記イメージバッファの1ライン目とするとともに紙送り量を所定値に設定し、前記規定量以上の余白があると判断されると、印字開始位置を前記イメージバッファの1ライン目から前記規定量だけ進める補正を行うとともに前記紙送り量を前記所定値から前記規定量だけ減らす補正を行う補正手段と、
前記余白判断手段により前記規定量以上の余白がないと判断されると、前記用紙を前記規定量だけバックフィードさせた後、前記イメージバッファの1ライン目から印字を開始し、紙送り量が前記所定値に達したならば前記カッタにより用紙を切断する第1の印字制御手段と、
前記余白判断手段により前記規定量以上の余白があると判断されると、前記用紙のバックフィードを行わずに、前記補正手段により補正された印字開始位置から印字を開始し、紙送り量が前記補正手段により補正された値に達したならば前記カッタにより用紙を切断する第2の印字制御手段と、
を具備したことを特徴とするプリンタ。
In a printer provided with a print head for printing on the conveyed paper and a cutter for cutting the paper printed by this print head ,
An image buffer in which image data is drawn based on print data on the paper ;
A margin determining means for determining whether the head portion of the image data drawn in the image buffer has provisions quantitative or margins,
If it is determined by the margin determining means that there is no margin equal to or greater than the specified amount , the print start position is set to the first line of the image buffer and the paper feed amount is set to a predetermined value. A correction unit that performs a correction to advance the print start position by the specified amount from the first line of the image buffer and a correction to reduce the paper feed amount from the predetermined value by the specified amount;
When the margin determining means determines that there is no margin equal to or greater than the specified amount, after the paper is back-feeded by the specified amount, printing is started from the first line of the image buffer, and the paper feed amount is First print control means for cutting a sheet with the cutter when a predetermined value is reached;
When the margin determining means by Ru is determined that there is the prescribed amount or margin, without the sheet of the back feed, the printing is started from the corrected printing start position by the correction means, the paper feed amount is the A second print control means for cutting the paper with the cutter when the value corrected by the correction means is reached ;
A printer comprising:
搬送される用紙に印字を行う印字ヘッドと、この印字ヘッドにより印字が行われた用紙を切断するカッタとを備えたプリンタにおいて、
前記用紙への印字データに基づいてイメージデータが描画されるイメージバッファと、
このイメージバッファに描画されたイメージデータの先頭部分に規定量以上の余白があるか否かを判断する余白判断手段と、
この余白判断手段により前記規定量以上の余白がないと判断されたことを条件に、前記規定量と前記イメージデータ先頭部分の余白量とから最小のバックフィード量を算出するバックフィード量算出手段と、
前記余白判断手段により前記規定量以上の余白がないと判断されたことを条件に、印字開始位置を前記イメージバッファの1ライン目から前記最小のバックフィード量だけ進める補正を行うとともに前記紙送り量を前記所定値から前記最小のバックフィード量だけ減らす補正を行う第1の補正手段と、
前記余白判断手段により前記規定量以上の余白があると判断されたことを条件に、印字開始位置を前記イメージバッファの1ライン目から前記規定量だけ進める補正を行うとともに前記紙送り量を前記所定値から規定量だけ減らす補正を行う第2の補正手段と、
前記余白判断手段により前記規定量以上の余白がないと判断されると、前記用紙を前記最小のバックフィード量だけバックフィードさせた後、前記第1の補正手段により補正された印字開始位置から印字を開始し、紙送り量が前記第1の補正手段により補正された値に達したならば前記カッタにより用紙を切断する第1の印字制御手段と、
前記余白判断手段により前記規定量以上の余白があると判断されると、前記用紙のバックフィードを行わずに、前記第2の補正手段により補正された印字開始位置から印字を開始し、紙送り量が前記第2の補正手段により補正された値に達したならば前記カッタにより用紙を切断する第の印字制御手段と
具備したことを特徴とするプリンタ。
In a printer provided with a print head for printing on the conveyed paper and a cutter for cutting the paper printed by this print head ,
An image buffer in which image data is drawn based on print data on the paper ;
A margin determining means for determining whether the head portion of the image data drawn in the image buffer has provisions quantitative or margins,
Backfeed amount calculation means for calculating a minimum backfeed amount from the specified amount and the margin amount of the head portion of the image data on the condition that the margin determination means determines that there is no margin equal to or greater than the specified amount ; ,
On the condition that the margin determining unit determines that there is no margin equal to or greater than the specified amount, the print start position is corrected by advancing the minimum back feed amount from the first line of the image buffer and the paper feed amount. First correction means for performing a correction to reduce the predetermined back feed amount by the minimum back feed amount;
On the condition that the margin determination unit determines that there is a margin equal to or greater than the specified amount, the print start position is corrected by the specified amount from the first line of the image buffer, and the paper feed amount is set to the predetermined amount. A second correction means for performing correction to reduce the value by a specified amount;
If the margin determining unit determines that there is no margin equal to or greater than the specified amount, the sheet is back-feeded by the minimum back-feed amount and then printed from the print start position corrected by the first correcting unit. A first print control means for cutting the paper with the cutter when the paper feed amount reaches a value corrected by the first correction means;
When the margin determining means by Ru is determined that there is the prescribed amount or margin, without the sheet of the back feed, it starts printing from the corrected printing start position by the second correction means, paper feeding Second print control means for cutting the paper with the cutter when the amount reaches a value corrected by the second correction means ;
Printer, characterized by comprising a.
JP2004013970A 2004-01-22 2004-01-22 Printer Expired - Fee Related JP4203424B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004013970A JP4203424B2 (en) 2004-01-22 2004-01-22 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004013970A JP4203424B2 (en) 2004-01-22 2004-01-22 Printer

Publications (2)

Publication Number Publication Date
JP2005205709A JP2005205709A (en) 2005-08-04
JP4203424B2 true JP4203424B2 (en) 2009-01-07

Family

ID=34899890

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004013970A Expired - Fee Related JP4203424B2 (en) 2004-01-22 2004-01-22 Printer

Country Status (1)

Country Link
JP (1) JP4203424B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102774149A (en) * 2011-05-12 2012-11-14 山东新北洋信息技术股份有限公司 Double-faced printer and control method as well as control device thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5857700B2 (en) * 2011-12-09 2016-02-10 ブラザー工業株式会社 Label making device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102774149A (en) * 2011-05-12 2012-11-14 山东新北洋信息技术股份有限公司 Double-faced printer and control method as well as control device thereof

Also Published As

Publication number Publication date
JP2005205709A (en) 2005-08-04

Similar Documents

Publication Publication Date Title
JP3715842B2 (en) Printing apparatus and printing medium feeding method in the printing apparatus
JP2012179882A (en) Label writer
US8964225B2 (en) Printing control method, printing control device and printing device with printing data printed according to height of another blank space
JP4203424B2 (en) Printer
JP5146126B2 (en) Printing apparatus, printing apparatus control method, and printing apparatus control program
JP4328194B2 (en) Printing device
JP2750215B2 (en) Label printer
JP4198025B2 (en) Printing device
JP2010023386A (en) Method for cutting recording paper in printer and printer
JPH11138872A (en) Thermal printer
JP4705278B2 (en) Printing device
JP3883821B2 (en) Printer
JP5122595B2 (en) Thermal printer and control method thereof
JPH07309039A (en) Printer
US20210402811A1 (en) Thermal printer
US20200410309A1 (en) Printing device including printing part printing first scale and second scale on printing medium and cutting part cutting printed first scale and printed second scale
JP2002197493A (en) Ticket printer
JP2006035729A (en) Printer, printing method of fixed form printing, and pos terminal device
JP3426802B2 (en) Paper transport control method and control device for printer
JP3806266B2 (en) Printer device
JP5512720B2 (en) Printer
JPH04329168A (en) Label printer
JP2001080620A (en) Thermal printer
JP5282222B2 (en) Printing apparatus and printing method
JP2010017870A (en) Serial printer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060922

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080627

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080701

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080901

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081010

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111017

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111017

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121017

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131017

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees