JP2011096282A - Label preparing method, printer control device, program and recording medium - Google Patents

Label preparing method, printer control device, program and recording medium Download PDF

Info

Publication number
JP2011096282A
JP2011096282A JP2011018178A JP2011018178A JP2011096282A JP 2011096282 A JP2011096282 A JP 2011096282A JP 2011018178 A JP2011018178 A JP 2011018178A JP 2011018178 A JP2011018178 A JP 2011018178A JP 2011096282 A JP2011096282 A JP 2011096282A
Authority
JP
Japan
Prior art keywords
label
data
printed
printing
printer
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.)
Pending
Application number
JP2011018178A
Other languages
Japanese (ja)
Inventor
Takashi Komatsu
隆 小松
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2011018178A priority Critical patent/JP2011096282A/en
Publication of JP2011096282A publication Critical patent/JP2011096282A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prepare a label on which a plurality of pieces of continuous data are printed using a label printer. <P>SOLUTION: When printing data on a label using a label printer, the plurality of pieces of continuous data to be printed on one label on which a cut is made according to a printing format are prepared (step 509), and the label printer is made to recognize the two or more pieces of data as one piece of data to be printed on one label (step 515). Thus, the label printer can be made to print the plurality of pieces of continuous data on one label. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、ラベル作成方法、プリンタ制御装置、プログラム及び記録媒体に係り、更に詳しくは、ラベルプリンタを用いて情報が印刷されたラベルを作成するラベル作成方法、ラベルプリンタを制御するプリンタ制御装置、該プリンタ制御装置に用いられるプログラム及び該プログラムが記録された記録媒体に関する。   The present invention relates to a label creation method, a printer control device, a program, and a recording medium, and more specifically, a label creation method for creating a label on which information is printed using a label printer, a printer control device for controlling the label printer, The present invention relates to a program used for the printer control apparatus and a recording medium on which the program is recorded.

現在、バーコードはいろいろな産業分野で用いられ、商品の管理に欠くことのできないものとなっている。そして、バーコード用の用紙(以下「バーコード用紙」と略述する)が用紙メーカやラベルメーカから市販されるようになった。また、バーコード用紙にバーコードを印刷するためのラベルプリンタも市販されている。   At present, barcodes are used in various industrial fields and are indispensable for the management of products. Then, barcode paper (hereinafter abbreviated as “barcode paper”) is commercially available from paper manufacturers and label manufacturers. Label printers for printing barcodes on barcode paper are also commercially available.

バーコード用紙は、台紙に複数のラベルが貼り付けられたものである。そして、各ラベル間には、一例として図16に示されるように、2〜5mmのギャップが設けられている。   The bar code paper is obtained by attaching a plurality of labels to a mount. As shown in FIG. 16 as an example, a gap of 2 to 5 mm is provided between the labels.

一般のラベルプリンタは、上記ギャップを検知するセンサーなどを備えている(例えば、特許文献1参照)。   A general label printer includes a sensor for detecting the gap (see, for example, Patent Document 1).

ところで、電気製品等に用いられるプリント基板も一つの製品であり、各プリント基板には製品のシリアル番号等を示すバーコードが印刷されたラベルが貼られている。   By the way, a printed circuit board used for an electric product or the like is one product, and a label printed with a barcode indicating a serial number of the product is attached to each printed circuit board.

近年、電気製品等の小型化の要求に応じて、プリント基板は小型化が進んでいる。これに伴って、プリント基板におけるラベルエリアも縮小傾向にある。現在では、サイズが25mm(幅)×4mm(長さ)程度のラベルが要求されている。   In recent years, the size of printed circuit boards has been reduced in accordance with demands for downsizing electrical products and the like. Along with this, the label area on the printed circuit board is also shrinking. At present, labels having a size of about 25 mm (width) × 4 mm (length) are required.

しかしながら、特許文献1に開示されているラベルプリンタでは、ギャップを正しく検知するには、ラベルの最小の長さは6mmが限界であった。従って、バーコードが小さくても、1枚のバーコード用紙に印刷できるバーコードの数を増やすことができず、無駄が多いという不都合があった。   However, in the label printer disclosed in Patent Document 1, the minimum label length is 6 mm to detect the gap correctly. Therefore, even if the barcode is small, the number of barcodes that can be printed on one barcode sheet cannot be increased, and there is a disadvantage that there is a lot of waste.

本発明は、かかる事情の下になされたもので、その第1の目的は、連続する複数のデータが印刷されたラベルを作成することができるラベル作成方法を提供することにある。   The present invention has been made under such circumstances, and a first object thereof is to provide a label producing method capable of producing a label on which a plurality of continuous data is printed.

また、本発明の第2の目的は、ラベルプリンタに対して1つのラベルに連続する複数のデータを印刷させることができるプリンタ制御装置を提供することにある。   A second object of the present invention is to provide a printer control apparatus capable of causing a label printer to print a plurality of continuous data on one label.

また、本発明の第3の目的は、プリンタ制御装置にて実行され、ラベルプリンタに対して1つのラベルに連続する複数のデータを印刷させることを可能とするプログラム及びそのプログラムが記録された記録媒体を提供することにある。   A third object of the present invention is a program that is executed by a printer control apparatus and allows a label printer to print a plurality of continuous data on one label, and a record in which the program is recorded. To provide a medium.

本発明は、第1の観点からすると、印字書式に応じて切り込みが入れられたラベルが複数、ギャップを設けて台紙に貼り付けられている用紙に、ラベルプリンタを用いて情報を印刷するラベル作成方法であって、連続する複数のデータを1つのラベルに印字される1つのデータとして前記ラベルプリンタに認識させる工程と、前記複数のデータを、前記台紙の送り方向を列方向、該列方向に直交する方向を行方向とし、ラベルの一の列で送り方向に向かって番号が連続し、それに続く番号が他の列で送り方向に向かって連続するように印刷させる工程と、を含むラベル作成方法である。   According to the first aspect of the present invention, a label is produced by printing information using a label printer on a plurality of labels that are cut in accordance with a print format, and a paper that is attached to a mount with a gap. A method of causing the label printer to recognize a plurality of continuous data as one data to be printed on one label, and the plurality of data in the row direction, the feed direction of the mount. Creating a label including a step in which the orthogonal direction is a row direction and numbers are continuously printed in one column of the label in the feed direction, and subsequent numbers are printed in the other column in the feed direction. Is the method.

これによれば、ラベルプリンタに対して、連続する複数のデータを1つのラベルに印字される1つのデータとして認識させているため、連続する複数のデータが印刷されたラベルを作成することが可能となる。   According to this, since the label printer recognizes a plurality of continuous data as one data to be printed on one label, it is possible to create a label on which a plurality of continuous data is printed. It becomes.

この場合において、前記複数のデータは、ラベルの送り方向である行方向、及び前記行方向に直交する列方向の少なくともいずれかの方向に配列されることとすることができる。   In this case, the plurality of data may be arranged in at least one of a row direction which is a label feeding direction and a column direction orthogonal to the row direction.

この場合において、前記複数のデータが前記行方向と前記列方向とにそれぞれ配列される場合に、前記複数のデータは、その番号が前記行方向に連続していることとすることができる。   In this case, when the plurality of data are arranged in the row direction and the column direction, the numbers of the plurality of data may be consecutive in the row direction.

本発明は、第2の観点からすると、印字書式に応じて切り込みが入れられたラベルが複数、ギャップを設けて台紙に貼り付けられている用紙に情報を印刷するラベルプリンタを制御するプリンタ制御装置であって、1つのラベルに印字される連続する複数のデータを作成する作成手段と、前記複数のデータを1つのラベルに印字される1つのデータとして前記ラベルプリンタに認識させる認識手段と、前記複数のデータを、前記台紙の送り方向を列方向、該列方向に直交する方向を行方向とし、ラベルの一の列で送り方向に向かって番号が連続し、それに続く番号が他の列で送り方向に向かって連続するように印刷させる印刷制御手段と、を備えるプリンタ制御装置である。   According to a second aspect of the present invention, there is provided a printer control apparatus for controlling a label printer that prints information on a paper that is provided with a plurality of gaps and is provided with a gap and is attached to a mount. A creating means for creating a plurality of continuous data printed on one label, a recognition means for causing the label printer to recognize the plurality of data as one data printed on one label, A plurality of data, in which the mounting direction of the mount is a column direction, a direction orthogonal to the column direction is a row direction, a number is consecutive in one column of the label in the feeding direction, and the subsequent numbers are in other columns And a printing control unit that prints continuously in the feeding direction.

これによれば、作成手段により1つのラベルに印字される連続する複数のデータが作成され、該複数のデータは、認識手段により1つのラベルに印字される1つのデータとしてラベルプリンタに認識される。従って、ラベルプリンタに対して1つのラベルに連続する複数のデータを印刷させることが可能となる。   According to this, a plurality of continuous data to be printed on one label is created by the creating means, and the plurality of data is recognized by the label printer as one data to be printed on one label by the recognition means. . Therefore, it is possible to cause the label printer to print a plurality of continuous data on one label.

この場合において、前記作成手段は、前記複数のデータをラベルの送り方向である行方向、及び前記行方向に直交する列方向の少なくともいずれかの方向に配列することとすることができる。   In this case, the creating means may arrange the plurality of data in at least one of a row direction which is a label feeding direction and a column direction orthogonal to the row direction.

この場合において、前記複数のデータが前記行方向と前記列方向とにそれぞれ配列される場合には、前記複数のデータは、その番号が前記行方向に連続していることとすることができます。   In this case, if the plurality of data are arranged in the row direction and the column direction, the numbers of the plurality of data can be assumed to be continuous in the row direction. .

本発明は、第3の観点からすると、印字書式に応じて切り込みが入れられたラベルが複数、ギャップを設けて台紙に貼り付けられている用紙に情報を印刷するラベルプリンタを制御するプリンタ制御装置で用いられるプログラムあって、連続する複数のデータを1つのラベルに印字される1つのデータとして前記ラベルプリンタに認識させる手順と、前記複数のデータを、前記台紙の送り方向を列方向、該列方向に直交する方向を行方向とし、ラベルの一の列で送り方向に向かって番号が連続し、それに続く番号が他の列で送り方向に向かって連続するように印刷させる手順と、を前記プリンタ制御装置に実行させるプログラムである。   According to a third aspect of the present invention, there is provided a printer control apparatus for controlling a label printer that prints information on a sheet that is provided with a plurality of gaps and is provided with a gap and is attached to a mount. And a procedure for causing the label printer to recognize a plurality of continuous data as one data to be printed on one label, and the plurality of data in the row direction of the mount, A procedure in which the direction orthogonal to the direction is the row direction, and printing is performed so that the number is continuous toward the feeding direction in one column of the label, and the subsequent number is continuous toward the feeding direction in the other column. A program to be executed by a printer control apparatus.

これによれば、本発明のプログラムが所定のメモリにロードされ、その先頭アドレスがプログラムカウンタにセットされると、プリンタ制御装置は、連続する複数のデータを1つのラベルに印字される1つのデータとしてラベルプリンタに認識させる。すなわち、本発明のプログラムによれば、プリンタ制御装置に本発明のラベル作成方法を実行させることができ、これにより、ラベルプリンタに対して1つのラベルに連続する複数のデータを印刷させることが可能となる。   According to this, when the program of the present invention is loaded into a predetermined memory and its head address is set in the program counter, the printer control device can print a plurality of continuous data on one label. As a label printer. That is, according to the program of the present invention, it is possible to cause the printer control apparatus to execute the label producing method of the present invention, thereby allowing the label printer to print a plurality of continuous data on one label. It becomes.

本発明は、第4の観点からすると、本発明のプログラムが記録されたコンピュータ読み取り可能な記録媒体である。   From the fourth viewpoint, the present invention is a computer-readable recording medium on which the program of the present invention is recorded.

これによれば、本発明のプログラムが記録されているために、コンピュータに実行させることにより、ラベルプリンタに対して1つのラベルに連続する複数のデータを印刷させることが可能となる。   According to this, since the program of the present invention is recorded, it is possible to cause the label printer to print a plurality of continuous data on one label by causing the computer to execute the program.

本発明の一実施形態に係るプリンタ制御装置としてのパソコンの概略構成を示すブロック図である。1 is a block diagram illustrating a schematic configuration of a personal computer as a printer control device according to an embodiment of the present invention. FIG. 生産管理情報を説明するための図である。It is a figure for demonstrating production management information. 機種情報を説明するための図である。It is a figure for demonstrating model information. 図3における印字書式を説明するための図である。It is a figure for demonstrating the printing format in FIG. 用紙情報を説明するための図である。It is a figure for demonstrating paper information. 図1のパソコンにおけるバーコード印刷処理を説明するためのフローチャート(その1)である。3 is a flowchart (part 1) for explaining a barcode printing process in the personal computer of FIG. 1; 図1のパソコンにおけるバーコード印刷処理を説明するためのフローチャート(その2)である。FIG. 6 is a flowchart (part 2) for explaining the barcode printing process in the personal computer of FIG. 1. バーコード印刷処理を説明するための図(その1)である。FIG. 6 is a first diagram for explaining a barcode printing process; バーコード印刷処理を説明するための図(その2)である。FIG. 10 is a second diagram illustrating a barcode printing process. バーコード印刷処理を説明するための図(その3)である。FIG. 10 is a third diagram for explaining the barcode printing process; バーコード印刷処理を説明するための図(その4)である。FIG. 10 is a fourth diagram illustrating a barcode printing process. データ格納領域を説明するための図である。It is a figure for demonstrating a data storage area. データ格納領域に格納されたデータを説明するための図である。It is a figure for demonstrating the data stored in the data storage area. 印刷結果を説明するための図である。It is a figure for demonstrating a printing result. バーコード単価の違いを説明するための図である。It is a figure for demonstrating the difference in a barcode unit price. 用紙を説明するための図である。It is a figure for demonstrating a paper.

以下、本発明の一実施形態を図1〜図15に基づいて説明する。図1には、本発明の一実施形態に係るプリンタ制御装置としてのパーソナルコンピュータ(以下「パソコン」という)100の概略構成が示されている。   Hereinafter, an embodiment of the present invention will be described with reference to FIGS. FIG. 1 shows a schematic configuration of a personal computer (hereinafter referred to as “personal computer”) 100 as a printer control apparatus according to an embodiment of the present invention.

この図1に示されるパソコン100は、CPU102、フラッシュROM104、RAM106、入力装置108、表示装置110、及びインターフェース120などを備えている。   A personal computer 100 shown in FIG. 1 includes a CPU 102, a flash ROM 104, a RAM 106, an input device 108, a display device 110, an interface 120, and the like.

前記フラッシュROM104は、プログラム領域とデータ領域とから構成されている。プログラム領域には、CPU102にて解読可能なコードで記述された、本発明に係るプログラムを含む複数のプログラムが格納されている。データ領域には、生産管理情報、機種情報、用紙情報、印字履歴情報などが格納されている。   The flash ROM 104 is composed of a program area and a data area. In the program area, a plurality of programs including a program according to the present invention described in codes readable by the CPU 102 are stored. The data area stores production management information, model information, paper information, print history information, and the like.

生産管理情報としては、一例として図2に示されるように、生産月、該生産月に生産されるロットのロット番号、該ロットで生産される機種の部番、生産台数が含まれている。   As an example, the production management information includes a production month, a lot number of a lot produced in the production month, a part number of a model produced in the lot, and the number of units produced.

機種情報としては、一例として図3に示されるように、部番、印字書式、色、用紙の種類、最終番号が含まれている。なお、印字書式とは、1ラベルに複数のバーコードを印字するときのバーコードの並び方を示している。例えば、5×2とは、一例として図4に示されるように、5行2列に並べることを意味し、降順とは、第1列の1行目から第1列の5行目向かって番号が増加し、次に第2列の1行目から第2列の5行目向かって番号が増加することを意味している。ここでは、列方向はラベルの送り方向であり、行方向は前記列方向に直交する方向である。   As an example, the model information includes a part number, a print format, a color, a paper type, and a final number as shown in FIG. Note that the printing format indicates how to arrange barcodes when printing a plurality of barcodes on one label. For example, 5 × 2 means to arrange in 5 rows and 2 columns as shown in FIG. 4 as an example, and descending order means from the first row of the first column to the fifth row of the first column. This means that the number increases, and then the number increases from the first row in the second column to the fifth row in the second column. Here, the column direction is a label feeding direction, and the row direction is a direction orthogonal to the column direction.

用紙情報としては、一例として図5に示されるように、1ラベルの大きさであるラベルサイズ(幅、長さ)、幅方向のラベル数であるラベル配列が含まれている。なお、ここでは、ロール状の用紙が用いられるものとする。また、各ラベルには、印刷されたバーコードを個別に台紙から剥がせるように、印字書式に応じた切り込みが予め入れられている。   As an example, as shown in FIG. 5, the sheet information includes a label size (width, length) that is the size of one label and a label array that is the number of labels in the width direction. Here, it is assumed that roll-shaped paper is used. Each label is preliminarily provided with a cut according to the print format so that the printed barcode can be peeled off from the mount.

前記表示装置110は、例えば液晶ディスプレイ(LCD)などを用いた表示部(図示省略)を備え、CPU102から指示された各種情報を表示する。   The display device 110 includes a display unit (not shown) using, for example, a liquid crystal display (LCD), and displays various information instructed by the CPU 102.

前記入力装置108は、例えばキーボードなどの入力手段(図示省略)を備え、ユーザから入力された各種情報をCPU102に通知する。   The input device 108 includes input means (not shown) such as a keyboard, for example, and notifies the CPU 102 of various information input by the user.

前記インターフェース120は、印字装置との双方向の通信を行うための通信インターフェースである。   The interface 120 is a communication interface for performing bidirectional communication with the printing apparatus.

前記CPU102は、フラッシュROM104に格納されている上記プログラムに従って前記各部の動作を制御するとともに、制御に必要なデータなどをRAM106に保存する。   The CPU 102 controls the operation of each unit in accordance with the program stored in the flash ROM 104 and stores data necessary for control in the RAM 106.

本実施形態では、一例として、ラベルプリンタとしての3台の印字装置(p1、p2、p3)及びバーコードスキャナbsが、インターフェース120を介してパソコン100に接続されているものとする。   In this embodiment, as an example, it is assumed that three printing apparatuses (p1, p2, p3) as a label printer and a barcode scanner bs are connected to the personal computer 100 via the interface 120.

次に、作業者が入力装置108を介してラベル作成要求を入力したときのパソコン100の動作について、図6及び図7を用いて説明する。図6及び図7のフローチャートは、CPU102によって実行される一連の処理アルゴリズムに対応している。入力装置108からラベル作成要求を受けとると、フラッシュROM104に格納されている図6及び図7のフローチャートに対応するプログラム(以下、「ラベル作成処理プログラム」という)の先頭アドレスがCPU102のプログラムカウンタにセットされ、ラベル作成処理がスタートする。なお、ここでは、一例として、連続する数字付きのバーコードが印刷されるものとする。   Next, the operation of the personal computer 100 when an operator inputs a label creation request via the input device 108 will be described with reference to FIGS. The flowcharts of FIGS. 6 and 7 correspond to a series of processing algorithms executed by the CPU 102. When a label creation request is received from the input device 108, the start address of a program (hereinafter referred to as “label creation processing program”) stored in the flash ROM 104 corresponding to the flowcharts of FIGS. 6 and 7 is set in the program counter of the CPU 102. The label creation process starts. Here, as an example, it is assumed that a bar code with a continuous number is printed.

最初のステップ401では、接続されている印字装置の情報を取得する。具体的には、各印字装置の名称、接続ポートなどを取得する。   In the first step 401, information on the connected printing device is acquired. Specifically, the name and connection port of each printing apparatus are acquired.

次のステップ403では、各印字装置を初期化する。なお、初期化が不要な印字装置については何もしない。   In the next step 403, each printing apparatus is initialized. Note that nothing is done for a printing apparatus that does not require initialization.

次のステップ405では、印字情報などの入力画面を表示装置110を介して表示する。ここでは、一例として図8に示されるように、ロット番号、部番、開始番号、枚数、印字書式が入力できるようになっている。   In the next step 405, an input screen such as print information is displayed via the display device 110. Here, as shown in FIG. 8 as an example, a lot number, a part number, a start number, the number of sheets, and a print format can be input.

次のステップ407では、ロット番号が入力されたか否かを判断する。具体的には、ロット番号の入力欄に所定の桁数の英数字が入力されると、ここでの判断は肯定され、ステップ409に移行する。   In the next step 407, it is determined whether or not a lot number has been input. Specifically, when an alphanumeric character having a predetermined number of digits is input in the lot number input field, the determination here is affirmed and the routine proceeds to step 409.

このステップ409では、入力されたロット番号をキーにして前記生産管理情報(図2参照)を検索し、入力されたロット番号に対応する部番及び生産台数を取得する。ここで取得された部番及び生産台数は、一例として図9に示されるように、表示装置110を介して表示される。なお、生産台数は枚数の欄に表示される。以下では、枚数は、必要とされるバーコードの数を示すものとする。   In this step 409, the production management information (see FIG. 2) is searched by using the inputted lot number as a key, and the part number and the number of production corresponding to the inputted lot number are obtained. The part number and production number acquired here are displayed via the display device 110 as shown in FIG. 9 as an example. The production number is displayed in the number column. In the following, the number of sheets indicates the number of barcodes required.

次のステップ411では、部番をキーにして前記機種情報(図3参照)を検索し、部番に対応する印字書式、色、用紙の種類、及び最終番号を取得する。ここで取得された最終番号は、一例として図10に示されるように、+1されて開始番号として表示装置110を介して表示される。   In the next step 411, the model information (see FIG. 3) is searched using the part number as a key, and the print format, color, paper type, and final number corresponding to the part number are obtained. The final number acquired here is incremented by 1 and displayed as a start number via the display device 110 as shown in FIG. 10 as an example.

次のステップ413では、用紙の種類をキーにして前記用紙情報(図5参照)を検索し、用紙の種類に対応するラベルサイズ、段数及び列数を取得する。   In the next step 413, the paper information (see FIG. 5) is searched using the paper type as a key, and the label size, the number of rows and the number of columns corresponding to the paper type are obtained.

次のステップ415では、「OK」ボタンが押されるのを待機する。なお、開始番号及び枚数は変更することができる。「OK」ボタンが押されると、ここでの判断は肯定され、ステップ417に移行する。   In the next step 415, the process waits for the “OK” button to be pressed. Note that the start number and the number of sheets can be changed. If the “OK” button is pressed, the determination here is affirmed and the routine proceeds to step 417.

このステップ417では、用紙の種類、印字色などに応じて印字装置を決定する。ここでは、3つの印字装置のうち1つの印字装置が選択される。   In step 417, the printing device is determined according to the type of paper, printing color, and the like. Here, one of the three printing devices is selected.

次のステップ419では、一例として図11に示されるように、印字装置への用紙のセットを促す画面を表示装置110を介して表示する。   In the next step 419, as shown in FIG. 11 as an example, a screen that prompts the user to set the paper in the printing device is displayed via the display device 110.

次のステップ421では、「印字開始」ボタンが押されるのを待機する。なお、「印字開始」ボタンよりも先に、「戻る」ボタンが押されると、上記「OK」ボタンが押される前の表示に戻る。「印字開始」ボタンが押されると、ここでの判断は肯定され、ステップ423に移行する。   In the next step 421, the process waits for the “print start” button to be pressed. If the “return” button is pressed before the “print start” button, the display before the “OK” button is pressed is restored. When the “print start” button is pressed, the determination here is affirmed, and the routine proceeds to step 423.

このステップ423では、用紙情報を印字装置に出力する。そして、ステップ501に移行する。   In step 423, the paper information is output to the printing apparatus. Then, the process proceeds to step 501.

このステップ501では、一例として図12に示されるように、印字書式に応じて、2次元配列のデータ格納領域をRAM106に確保する。ここでは、データ格納領域は、iを列、jを段とし、data(i,j)で示されている。   In this step 501, as shown in FIG. 12 as an example, a data storage area of a two-dimensional array is secured in the RAM 106 in accordance with the print format. Here, the data storage area is indicated by data (i, j), where i is a column and j is a stage.

次のステップ503では、印字番号を示す変数mに開始番号をセットする。   In the next step 503, the start number is set in the variable m indicating the print number.

次のステップ505では、印字されたバーコードの数を示すカウンタnに初期値0をセットする。   In the next step 505, an initial value 0 is set in a counter n indicating the number of bar codes printed.

次のステップ507では、2次元配列のデータ格納領域を初期化する。ここでは、各データ格納領域にバーコードに変換されないデータ(例えばヌルデータ)が格納される。   In the next step 507, the data storage area of the two-dimensional array is initialized. Here, data (for example, null data) that is not converted into a barcode is stored in each data storage area.

次のステップ509では、一例として図13に示されるように、2次元配列のデータ格納領域に印字データを格納する。ここでは、data(1,1)にmが格納され、data(1,2)にm+1が格納され、data(1,3)にm+2が格納され、data(1,4)にm+3が格納され、data(1,5)にm+4が格納され、data(2,1)にm+5が格納され、data(2,2)にm+6が格納され、data(2,3)にm+7が格納され、data(2,4)にm+8が格納され、data(2,5)にm+9が格納される。   In the next step 509, as shown in FIG. 13 as an example, print data is stored in a data storage area of a two-dimensional array. Here, m is stored in data (1,1), m + 1 is stored in data (1,2), m + 2 is stored in data (1,3), and m + 3 is stored in data (1,4). , Data (1,5) stores m + 4, data (2,1) stores m + 5, data (2,2) stores m + 6, data (2,3) stores m + 7, data M + 8 is stored in (2,4), and m + 9 is stored in data (2,5).

次のステップ513では、選択された印字装置の特性、ラベルサイズ及びラベル配列などに基づいて、印字データが印刷されるラベルの基準位置に対する位置情報を取得する。   In the next step 513, position information with respect to the reference position of the label on which the print data is printed is acquired based on the characteristics of the selected printing device, the label size, the label arrangement, and the like.

次のステップ514では、印字データ及び上記位置情報を含む印字情報を生成する。   In the next step 514, print information including print data and the position information is generated.

次のステップ515では、上記印字情報を選択された印字装置に出力する。このとき、データ格納領域に格納されている各印字データは接続されている印字装置のコマンドに合わせ、専用用語で1ワード単位で出力される。すなわち、データ格納領域に格納されている各印字データは、1つのラベルに印字される印字データとして印字装置に認識される。これにより、一例として図14に示されるように、1つのラベルに複数のバーコードが印刷される。   In the next step 515, the print information is output to the selected printing device. At this time, each print data stored in the data storage area is output in units of one word in a dedicated term in accordance with a command of the connected printing apparatus. That is, each print data stored in the data storage area is recognized by the printing device as print data printed on one label. Thereby, as shown in FIG. 14 as an example, a plurality of barcodes are printed on one label.

次のステップ517では、mに印字されたバーコードの数である印字枚数を加算する。   In the next step 517, the number of printed sheets which is the number of barcodes printed on m is added.

次のステップ519では、nに印字枚数を加算する。   In the next step 519, the number of printed sheets is added to n.

次のステップ521では、nの値が指定された枚数未満であるか否かを判断する。nの値が指定された枚数未満であれば、ここでの判断は肯定され、前記ステップ507に戻る。一方、nの値が指定された枚数未満でなければ、ここでの判断は否定され、ステップ523に移行する。   In the next step 521, it is determined whether or not the value of n is less than the designated number. If the value of n is less than the designated number, the determination here is affirmed and the processing returns to step 507. On the other hand, if the value of n is not less than the designated number, the determination here is denied and the routine proceeds to step 523.

このステップ523では、印字データにバーコードが含まれているか否かを判断する。印字データにバーコードが含まれていれば、ここでの判断は肯定され、ステップ525に移行する。   In step 523, it is determined whether or not a bar code is included in the print data. If the print data includes a bar code, the determination here is affirmed, and the routine proceeds to step 525.

このステップ525では、作業者に、バーコードスキャナbsを用いて最初のバーコードと最後のバーコードを読み取るよう指示する。   In this step 525, the operator is instructed to read the first barcode and the last barcode using the barcode scanner bs.

次のステップ527では、最初のバーコードと最後のバーコードとを照合し、正常に読み取られたか、及び番号とびや番号重複がないか否かを判断する。正常に読み取られ、かつ番号とびや番号重複がなければ、ここでの判断は肯定され、ステップ529に移行する。   In the next step 527, the first bar code and the last bar code are collated, and it is determined whether the data has been read normally and whether there is no number skip or number overlap. If it is read normally and there is no skipping or number duplication, the determination here is affirmed and the routine proceeds to step 529.

このステップ529では、前記機種情報における最終番号を現在のmの値に更新する。   In this step 529, the final number in the model information is updated to the current value of m.

次のステップ533では、前記印字履歴情報に、ロット番号、部番、枚数、最終番号、印字状態、印字日、及び作業者名などを追加する。そして、ラベル作成処理を終了する。   In the next step 533, a lot number, a part number, the number of sheets, a final number, a printing state, a printing date, an operator name, and the like are added to the printing history information. Then, the label creation process ends.

なお、上記ステップ527において、バーコードが正常に読み取られなかったり、番号とびや番号重複があれば、ここでの判断は否定され、ステップ531に移行する。このステップ531では、例えば表示装置110に「このラベルは使用できません。破棄して下さい」というメッセージを表示し、作業者にそのラベルの廃棄を通知する。そして、上記ステップ533に移行する。   In step 527, if the barcode is not read normally, or if there is a skipped number or an overlapping number, the determination here is denied, and the process proceeds to step 531. In step 531, for example, a message “This label cannot be used. Please discard” is displayed on the display device 110, and the operator is notified of the disposal of the label. Then, the process proceeds to step 533.

また、上記ステップ523において、印字データにバーコードが含まれていなければ、ここでの判断は否定され、上記ステップ529に移行する。   In step 523, if the print data does not include a barcode, the determination here is denied and the routine proceeds to step 529.

以上の説明から明らかなように、本実施形態に係るパソコン100では、CPU102及び該CPU102にて実行されるプログラムとによって、作成手段及び認識手段がそれぞれ実現されている。なお、CPU102によるプログラムに従う処理によって実現した各手段の少なくとも一部をハードウェアによって構成することとしても良いし、あるいは全てをハードウェアによって構成することとしても良い。   As is clear from the above description, in the personal computer 100 according to the present embodiment, the creation unit and the recognition unit are realized by the CPU 102 and the program executed by the CPU 102, respectively. It should be noted that at least a part of each means realized by processing according to the program by the CPU 102 may be configured by hardware, or all may be configured by hardware.

また、本実施形態では、記録媒体としてのフラッシュROM104のプログラム領域に記録されているプログラムのうち、図7に対応するプログラムによって、本発明に係るプログラムが実行されている。   In the present embodiment, the program according to the present invention is executed by the program corresponding to FIG. 7 among the programs recorded in the program area of the flash ROM 104 as the recording medium.

そして、上記ラベル作成処理にて、本発明に係るラベル作成が実施されている。   And the label production which concerns on this invention is implemented by the said label production process.

以上説明したように、本実施形態に係るパソコン100によると、印字装置を用いてラベルにバーコードを印刷する際に、1つのラベルに印字される連続する複数の印字データが作成され、該複数の印字データは、1つのラベルに印字される1つの印字データとして印字装置に認識される。従って、印字装置に対して1つのラベルに連続する複数のバーコードを印刷させることが可能となる。   As described above, according to the personal computer 100 according to the present embodiment, when a barcode is printed on a label using the printing apparatus, a plurality of continuous print data to be printed on one label is created. Is recognized by the printer as one piece of print data printed on one label. Therefore, it is possible to print a plurality of continuous barcodes on one label on the printing apparatus.

そして、一例として図15に示されるように、バーコード単価を従来(印字書式が1×1)よりも大きく下げることができる。   As an example, as shown in FIG. 15, the barcode unit price can be greatly reduced as compared with the conventional case (printing format is 1 × 1).

また、本実施形態によると、複数のバーコードは、その番号が列方向に連続しているため、バーコードを製品に貼り付ける際に、ピンセット等で列方向に5〜6枚を一度に台紙から剥がし、上から順に製品に貼っていくことが可能となる。これにより、バーコードを製品に貼る際にバーコード番号をチェックする工程や、予めバーコード番号を連続させる工程が不要となり、作業工程を簡素化することができる。   Further, according to the present embodiment, since the numbers of the plurality of barcodes are continuous in the column direction, when the barcode is attached to the product, 5 to 6 sheets in the column direction are mounted at once with tweezers or the like. It can be peeled off and attached to the product in order from the top. Thereby, the process of checking the barcode number when attaching the barcode to the product and the process of making the barcode number continuous in advance become unnecessary, and the work process can be simplified.

なお、上記実施形態では、プリンタ制御装置がパソコンの場合について説明したが、これに限らず、プリンタの制御に特化した装置であっても良い。   In the above-described embodiment, the case where the printer control device is a personal computer has been described. However, the present invention is not limited to this and may be a device specialized for printer control.

また、上記実施形態では、プリンタ制御装置とプリンタとが個別の場合について説明したが、これに限らず、プリンタ制御装置とプリンタとが一体化されていても良い。   In the above embodiment, the case where the printer control device and the printer are separate has been described. However, the present invention is not limited to this, and the printer control device and the printer may be integrated.

また、上記実施形態では、バーコードが行方向及び列方向の両方向に配置される場合について説明したが、これに限らず、バーコードが行方向及び列方向のいずれかの方向に配置されても良い。   In the above-described embodiment, the case where the barcode is arranged in both the row direction and the column direction has been described. However, the present invention is not limited thereto, and the barcode may be arranged in either the row direction or the column direction. good.

また、上記実施形態では、バーコードと数字とが印刷される場合について説明したが、これに限らず、例えば、バーコード及び数字の一方であっても良い。   Moreover, although the said embodiment demonstrated the case where a barcode and a number were printed, it is not restricted to this, For example, one of a barcode and a number may be sufficient.

また、上記実施形態では、本発明に係るプログラムは、フラッシュROM104に記録されているが、他の記録媒体(CD、光磁気ディスク、DVD、メモリカード、USBメモリ、フレキシブルディスク等)に記録されていても良い。この場合には、各記録媒体に対応する再生装置(又は専用インターフェース)を介して本発明に係るプログラムをフラッシュROM104にロードすることとなる。また、ネットワーク(LAN、イントラネット、インターネットなど)を介して本発明に係るプログラムをフラッシュROM104に転送しても良い。要するに、本発明に係るプログラムがフラッシュROM104にロードされれば良い。   In the above embodiment, the program according to the present invention is recorded in the flash ROM 104, but is recorded in another recording medium (CD, magneto-optical disk, DVD, memory card, USB memory, flexible disk, etc.). May be. In this case, the program according to the present invention is loaded into the flash ROM 104 via the playback device (or dedicated interface) corresponding to each recording medium. Further, the program according to the present invention may be transferred to the flash ROM 104 via a network (LAN, intranet, Internet, etc.). In short, the program according to the present invention may be loaded into the flash ROM 104.

以上説明したように、本発明のラベル作成方法によれば、連続する複数のデータが印刷されたラベルを作成するのに適している。また、本発明のプリンタ制御装置によれば、ラベルプリンタに対して1つのラベルに連続する複数のデータを印刷させるのに適している。また、本発明のプログラム及び記録媒体によれば、プリンタ制御装置に、ラベルプリンタに対して1つのラベルに連続する複数のデータを印刷させるのに適している。   As described above, the label producing method of the present invention is suitable for producing a label on which a plurality of continuous data is printed. The printer control apparatus according to the present invention is suitable for printing a plurality of continuous data on one label with respect to a label printer. In addition, the program and the recording medium of the present invention are suitable for causing the printer control device to print a plurality of pieces of data continuous on one label to the label printer.

100…パソコン(プリンタ制御装置)、102…CPU(作成手段、認識手段)、104…フラッシュROM(記録媒体)、p1…印字装置(ラベルプリンタ)、p2…印字装置(ラベルプリンタ)、p3…印字装置(ラベルプリンタ)。   DESCRIPTION OF SYMBOLS 100 ... Personal computer (printer control apparatus), 102 ... CPU (preparation means, recognition means), 104 ... Flash ROM (recording medium), p1 ... Printing apparatus (label printer), p2 ... Printing apparatus (label printer), p3 ... Printing Device (label printer).

特開平9−267523号公報JP-A-9-267523

Claims (8)

印字書式に応じて切り込みが入れられたラベルが複数、ギャップを設けて台紙に貼り付けられている用紙に、ラベルプリンタを用いて情報を印刷するラベル作成方法であって、
連続する複数のデータを1つのラベルに印字される1つのデータとして前記ラベルプリンタに認識させる工程と、
前記複数のデータを、前記台紙の送り方向を列方向、該列方向に直交する方向を行方向とし、ラベルの一の列で送り方向に向かって番号が連続し、それに続く番号が他の列で送り方向に向かって連続するように印刷させる工程と、を含むラベル作成方法。
A label producing method for printing information using a label printer on a plurality of labels that are cut in accordance with a printing format, a paper that is pasted on a mount with a gap,
A step of causing the label printer to recognize a plurality of continuous data as one data to be printed on one label;
In the plurality of data, the feed direction of the mount is the column direction, the direction orthogonal to the row direction is the row direction, numbers are consecutive in the feed direction in one column of labels, and the subsequent numbers are other columns. And a step of printing so as to be continuous in the feed direction.
前記ラベルプリンタに認識させる工程では、作業者が部番を入力すると、該部番に対応したラベルサイズと前記印字書式を検索して表示することを特徴とする請求項1に記載のラベル作成方法。   2. The label producing method according to claim 1, wherein, in the step of causing the label printer to recognize, when an operator inputs a part number, the label size corresponding to the part number and the print format are retrieved and displayed. . 前記印字書式で複数のバーコードが印刷され、最初に印刷されたバーコードと最後に印刷されたバーコードを、バーコードスキャナで読み取るように作業者に指示する工程と、
前記バーコードスキャナで読み取られたバーコード情報が正常か否かを判断し、その判断結果を作業者に通知する工程と、を更に含むことを特徴とする請求項1又は2に記載のラベル作成方法。
A plurality of barcodes are printed in the printing format, and instructing an operator to read the first printed barcode and the last printed barcode with a barcode scanner;
The label production according to claim 1, further comprising: determining whether or not the barcode information read by the barcode scanner is normal and notifying an operator of the determination result. Method.
印字書式に応じて切り込みが入れられたラベルが複数、ギャップを設けて台紙に貼り付けられている用紙に情報を印刷するラベルプリンタを制御するプリンタ制御装置であって、
1つのラベルに印字される連続する複数のデータを作成する作成手段と、
前記複数のデータを1つのラベルに印字される1つのデータとして前記ラベルプリンタに認識させる認識手段と、
前記複数のデータを、前記台紙の送り方向を列方向、該列方向に直交する方向を行方向とし、ラベルの一の列で送り方向に向かって番号が連続し、それに続く番号が他の列で送り方向に向かって連続するように印刷させる印刷制御手段と、を備えるプリンタ制御装置。
A printer control device that controls a label printer that prints information on a sheet that is affixed to a mount with a plurality of labels that are cut in accordance with a print format,
Creating means for creating a plurality of continuous data printed on one label;
Recognition means for causing the label printer to recognize the plurality of data as one data to be printed on one label;
In the plurality of data, the feed direction of the mount is the column direction, the direction orthogonal to the row direction is the row direction, numbers are consecutive in the feed direction in one column of labels, and the subsequent numbers are other columns. And a printing control means for printing continuously in the feed direction.
前記認識手段は、作業者が部番を入力すると、該部番に対応したラベルサイズと前記印字書式を検索して表示することを特徴とする請求項4に記載のプリンタ制御装置。   5. The printer control apparatus according to claim 4, wherein when the operator inputs a part number, the recognizing unit searches and displays the label size and the print format corresponding to the part number. 前記印字書式で複数のバーコードが印刷され、最初に印刷されたバーコードと最後に印刷されたバーコードを、バーコードスキャナで読み取るように作業者に指示する指示手段と、
前記バーコードスキャナで読み取られたバーコード情報が正常か否かを判断し、その判断結果を作業者に通知する通知手段と、を更に備えることを特徴とする請求項4又は5に記載のプリンタ制御装置。
A plurality of barcodes are printed in the printing format, the instruction means for instructing the operator to read the first printed barcode and the last printed barcode with a barcode scanner;
6. The printer according to claim 4, further comprising notification means for determining whether or not the barcode information read by the barcode scanner is normal and notifying an operator of the determination result. Control device.
印字書式に応じて切り込みが入れられたラベルが複数、ギャップを設けて台紙に貼り付けられている用紙に情報を印刷するラベルプリンタを制御するプリンタ制御装置で用いられるプログラムあって、
連続する複数のデータを1つのラベルに印字される1つのデータとして前記ラベルプリンタに認識させる手順と、
前記複数のデータを、前記台紙の送り方向を列方向、該列方向に直交する方向を行方向とし、ラベルの一の列で送り方向に向かって番号が連続し、それに続く番号が他の列で送り方向に向かって連続するように印刷させる手順と、を前記プリンタ制御装置に実行させるプログラム。
A program used in a printer control device that controls a label printer that prints information on a sheet that is provided with a gap and is attached to a mount with a plurality of labels that are cut according to a printing format,
A procedure for causing the label printer to recognize a plurality of continuous data as one data to be printed on one label;
In the plurality of data, the feed direction of the mount is the column direction, the direction orthogonal to the row direction is the row direction, numbers are consecutive in the feed direction in one column of labels, and the subsequent numbers are other columns. And a program for causing the printer control device to execute a procedure for continuously printing in the feed direction.
請求項7に記載のプログラムが記録されたコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the program according to claim 7 is recorded.
JP2011018178A 2011-01-31 2011-01-31 Label preparing method, printer control device, program and recording medium Pending JP2011096282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011018178A JP2011096282A (en) 2011-01-31 2011-01-31 Label preparing method, printer control device, program and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011018178A JP2011096282A (en) 2011-01-31 2011-01-31 Label preparing method, printer control device, program and recording medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2005062245A Division JP2006240226A (en) 2005-03-07 2005-03-07 Label preparing method, printer controlling equipment, program and recording medium

Publications (1)

Publication Number Publication Date
JP2011096282A true JP2011096282A (en) 2011-05-12

Family

ID=44113045

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011018178A Pending JP2011096282A (en) 2011-01-31 2011-01-31 Label preparing method, printer control device, program and recording medium

Country Status (1)

Country Link
JP (1) JP2011096282A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09267523A (en) * 1996-03-30 1997-10-14 Suzuka Fuji Xerox Kk Method for controlling label printer, the label printer and bar code printer
JP2001154586A (en) * 1999-11-26 2001-06-08 Ee R C Kk Continuous body of irregular label

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09267523A (en) * 1996-03-30 1997-10-14 Suzuka Fuji Xerox Kk Method for controlling label printer, the label printer and bar code printer
JP2001154586A (en) * 1999-11-26 2001-06-08 Ee R C Kk Continuous body of irregular label

Similar Documents

Publication Publication Date Title
US9292768B2 (en) Method of generating label data for printing images that are larger than a tape width of a tape-shaped member, recording medium, label data generating apparatus, and label creating system
JP2014085856A (en) Printing system, printing method, and program
CN101620520B (en) Printing control device, control method for a printing device, and a control program
US10338868B2 (en) Apparatus, method and non-transitory computer readable medium for displaying omission information to print serial number
JP2011143648A (en) Tape printing device, label forming method, and storage medium storing program for forming label
JP2006240226A (en) Label preparing method, printer controlling equipment, program and recording medium
JP2008176446A (en) Print data processor and print data processing program
JP5942663B2 (en) Printing system and template editing method
JP2011096282A (en) Label preparing method, printer control device, program and recording medium
JP5326119B2 (en) Order separator for photo order execution
US8873088B2 (en) Printing control device extracting data for constituting duplication objects, printing control method extracting data for constituting duplication objects, and non-transitory computer readable medium
US20180170069A1 (en) Recording medium, label image preparing method, and label image preparing apparatus
JP6686746B2 (en) Program, label image creating method, and label image creating apparatus
US20240086127A1 (en) Printer
JP2007007871A (en) Image forming apparatus and control program
JP5907386B2 (en) Printing apparatus, printing method and program by printing apparatus
JP2011180741A (en) Printing apparatus, printing method, program, and printing system
US10708453B2 (en) Display apparatus, non-transitory storage medium storing instructions readable by the display apparatus, method of displaying print image on display of the display apparatus
JP2005144827A (en) Print data creating device, print data creating method and print data creating program
JP6406294B2 (en) Printing apparatus and printing program
JP2005215966A (en) System, method and program for generating barcode data
JP2011062852A (en) Printer, print data generation method and print data generation program
JP6057116B2 (en) Tape printer and control method of tape printer
JP6011113B2 (en) Print control apparatus and print control program
JP4851378B2 (en) Page data creation method and printing system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120613

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120615

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120810

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120904