JP2005212373A - Identification code verifying machine and identification code verifying method of printing device - Google Patents

Identification code verifying machine and identification code verifying method of printing device Download PDF

Info

Publication number
JP2005212373A
JP2005212373A JP2004023801A JP2004023801A JP2005212373A JP 2005212373 A JP2005212373 A JP 2005212373A JP 2004023801 A JP2004023801 A JP 2004023801A JP 2004023801 A JP2004023801 A JP 2004023801A JP 2005212373 A JP2005212373 A JP 2005212373A
Authority
JP
Japan
Prior art keywords
identification code
reading
printing
readout
barcode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2004023801A
Other languages
Japanese (ja)
Other versions
JP4522102B2 (en
Inventor
Yasuhiro Misu
康博 三栖
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.)
Sato Corp
Original Assignee
Sato 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 Sato Corp filed Critical Sato Corp
Priority to JP2004023801A priority Critical patent/JP4522102B2/en
Publication of JP2005212373A publication Critical patent/JP2005212373A/en
Application granted granted Critical
Publication of JP4522102B2 publication Critical patent/JP4522102B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an identification code verifying machine of a printing device having a reduced load in the verifying control of an identification code by providing a readout start time to the specific identification code which performs scanning and readout by a readout means and to provide an identification code verifying method of the printing device. <P>SOLUTION: The identification code verifying machine of the printing device includes a printing means 5 which prints at least one predetermined identification code according to a predetermined command, a readout means 2 to read the information expressed by the identification code by scanning a predetermined time the identification code printed by the printing means 5, a readout management means 23 by which the readout start time is set to the specific identification code performing scanning and reading by the readout means 2 among the identification codes, a collation means 22 to scan and read by the readout means 2 for the predetermined time from the start time set by the readout management means 23 and to collate the identification code printed according to the command with the information of the readout specific identification code, and an output means 27 to output the collation result by the collation means 22. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、印刷装置に関し、特に、バーコード等の識別コードを印刷し、印刷された識別コードを読取り、照合して検証する印刷装置の識別コード検証機および識別コード検証方法に関する。   The present invention relates to a printing apparatus, and more particularly, to an identification code verifier and an identification code verification method for a printing apparatus that prints an identification code such as a barcode, reads the collated identification code, and verifies it.

従来、識別コードとしてのバーコードをラベル等に印刷し、ラベルに印刷されたバーコードをスキャナ等の読取り部により読取り、正常に印刷されたかどうか確認する検証機付きの印刷装置が知られている(例えば、特許文献1参照)。
この検証機は、印刷装置にてラベルに対する印刷が開始された時点からスキャナ等を作動して走査(スキャニング)するとともに検証を行い、印刷終了とともに検証機のスキャナを停止し、読取ったバーコードデータの検証を行うものであった。
しかしながら、従来の印刷装置におけるバーコード等の検証機は、前述したように、ラベルに対する印字開始から印字終了に至るまで読取り部(スキャナ)による走査(スキャニング)を行うため、読取り制御が遅延するという問題があった。すなわち、印刷装置によりラベルに複数の識別コード(バーコード)が印刷されているような場合であって、実際に検証を行いたい識別コード(バーコード)がレイアウトの中間部より搬送方向の下流側に位置する場合などは、印字開始よりスキャナを作動させて検証を行う必要がないにも拘らず読取るため、読取り制御に遅延が発生する要因となっていた。
2. Description of the Related Art Conventionally, there is known a printing apparatus with a verification device that prints a barcode as an identification code on a label and the like, reads the barcode printed on the label by a reading unit such as a scanner, and confirms whether or not the printing has been performed normally. (For example, refer to Patent Document 1).
This verifier operates and scans (scans) the scanner and the like from the point when printing on the label is started in the printing apparatus, stops the verifier's scanner when printing is completed, and reads the barcode data It was to verify.
However, since a verifier such as a barcode in a conventional printing apparatus performs scanning (scanning) by a reading unit (scanner) from the start of printing to the end of printing on a label as described above, reading control is delayed. There was a problem. That is, when a plurality of identification codes (barcodes) are printed on the label by the printing device, the identification code (barcode) to be actually verified is downstream in the transport direction from the intermediate portion of the layout. In such a case, since reading is not necessary even when the scanner is operated from the start of printing, it is a cause of delay in reading control.

また、読取り部の一例示であるスキャナは、対象とする識別コードに対応した種類があり、一つのラベルに複数種類の識別コードを印刷したような場合、印刷終了直後のラベル12に対する識別コード検証のため複数のスキャナを設けることはスペース的に困難であり、かつ、複数種類の読取れない識別コードが存在するにも拘らず、ラベルに対する印刷が開始された時点から全ての識別コードに対しスキャナの走査による読取りを実施するため、読取り制御に遅延が発生するという問題があった。
特開2000−238390号公報
The scanner, which is an example of the reading unit, has a type corresponding to a target identification code. When a plurality of types of identification codes are printed on one label, verification of the identification code for the label 12 immediately after printing is completed. Therefore, it is difficult to provide a plurality of scanners in terms of space, and even though there are a plurality of types of identification codes that cannot be read, the scanners for all the identification codes from the point when printing on the label is started. Since reading by scanning is performed, there is a problem that a delay occurs in reading control.
JP 2000-238390 A

本発明は上記のような問題点に着目してなされたものであり、読取り手段による走査・読取りを実施する特定の識別コードに対する読取り開始時間を設けることにより、識別コードの検証制御における負荷を低減した印刷装置の識別コード検証機および識別コード検証方法を提供することを課題とする。
The present invention has been made paying attention to the above problems, and by providing a reading start time for a specific identification code to be scanned and read by the reading means, the load in verification control of the identification code is reduced. It is an object of the present invention to provide an identification code verifier and an identification code verification method for a printing apparatus.

請求項1に係る印刷装置の識別コード検証機は、所定のコマンドに従って所定の識別コードを少なくとも1つ印刷する印刷手段と、前記印刷手段によって印刷された前記識別コードを所定時間走査し、前記識別コードによって表される情報を読取る読取り手段と、前記識別コードのうち、前記読取り手段による走査・読取りを実施する特定の識別コードに対する読取り開始時間が設定された読取り管理手段と、前記読取り管理手段にて設定された開始時間より前記所定時間、読取り手段による走査・読取りを行うとともに、読取られた前記特定の識別コードの情報と、前記コマンドに従って印刷された識別コードとを照合する照合手段と、前記照合手段による照合結果を出力する出力手段と、を備えることを特徴する。
また、読取り管理手段には、前記識別コードの種類、前記特定の識別コードに付加された識別コードの読取りID、並びに読取り終了時間が設けられるともに、前記読取りIDが設けられた識別コードのみ前記読取り手段による走査を行うようにできる。
また、請求項3に係る印刷装置の識別コード検証方法は、所定のコマンドに従って少なくとも1つ所定の識別コードを印刷ステップにて印刷するとともに、前記印刷ステップによって印刷された前記識別コードを所定時間走査し、前記識別コードによって表される情報を読取りステップにて読取り、前記識別コードのうち、前記読取りステップによる走査・読取りを必要とする特定の識別コードに対する読取り開始時間を読取り管理ステップにて設定し、前記読取り管理ステップにて設定された前記開始時間より前記所定時間、読取りステップによる走査・読取りを行うとともに、読取られた前記特定の識別コードの情報と、前記コマンドに従って印刷された識別コードとを照合ステップにて照合し、前記照合ステップによる照合結果を出力ステップにて出力することを特徴する。
An identification code verifier of a printing apparatus according to claim 1 prints at least one predetermined identification code in accordance with a predetermined command, scans the identification code printed by the printing unit for a predetermined time, and performs the identification A reading means for reading information represented by a code; a reading management means in which a reading start time is set for a specific identification code to be scanned and read by the reading means among the identification codes; and the reading management means Scanning and reading by the reading means for the predetermined time from the set start time, and collation means for collating the read information of the specific identification code with the identification code printed according to the command, And an output means for outputting a collation result by the collation means.
The reading management means is provided with a type of the identification code, a reading ID of the identification code added to the specific identification code, and a reading end time, and only the identification code provided with the reading ID is read. Scanning by means can be performed.
According to a third aspect of the present invention, there is provided a printing apparatus identification code verification method that prints at least one predetermined identification code in a printing step according to a predetermined command and scans the identification code printed in the printing step for a predetermined time. The information represented by the identification code is read in the reading step, and the reading start time for the specific identification code that requires scanning / reading in the reading step is set in the reading management step. Scanning and reading in the reading step for the predetermined time from the start time set in the reading management step, and information on the specific identification code read and an identification code printed in accordance with the command Verify at the verification step and output the verification result from the verification step Be characterized in that the output in step.

本発明によれば、読取り手段により走査・読取りを実施する特定の識別コードの読取り開始時間を設定し、設定された特定の識別コードに対してのみ開始時間より所定時間、走査・読取りを行うようにしたので、識別コードの検証制御における負荷を低減することができるという効果がある。
According to the present invention, the reading start time of a specific identification code to be scanned / read by the reading means is set, and only the set specific identification code is scanned / read for a predetermined time from the start time. Therefore, there is an effect that the load in the verification control of the identification code can be reduced.

図1は、本発明の識別コード検証機付きの印刷装置の一実施の形態の構成例を示す図であり、識別コードとしてのバーコードの印刷装置を応用したラベルプリンタの内部構造を示している。同図に示すように、印刷装置としてのプラベルリンタは、プリンタ本体1と、識別コード検証機としてのスキャナ2とを備える。
プリンタ本体1は、各部を制御する制御部3と、台紙11にラベル12が等間隔で仮着されたラベル連続体4に印字を行う印刷手段としてのサーマルヘッド(以下では、適宜単にヘッドと記載する)5と、制御部3の制御により駆動されるステッピングモータ(以下では、適宜単にモータと記載する)6と、タイミングベルト(以下では、適宜単にベルトと記載する)7を介して伝達されるモータ7の回転駆動力によって回転し、後述する供給軸8に装着されたラベル連続体4を搬送するとともに、ラベル連続体4をヘッド5に押圧するプラテンローラ(以下では、適宜単にプラテンと記載する)9と、ラベル連続体4を回転自在に支持する供給軸8と、所定の光を出射する発光部と、発光部から出射された光のラベル連続体4からの反射光を受光し、受光した光の強度(単位時間当たりの受光量)に対応する電気信号を出力する受光部とからなり、ラベル連続体4の裏面に発光部と受光部を配し、ラベル連続体4の裏面に印刷等によって形成された図示省略の識別マーク(黒の矩形のマーク)を、受光部の受光量に基づいて検出する位置検出センサ(以下、適宜単にセンサと記載する)10とを備えている。
また、読取り手段としてのスキャナ2は、ヘッド5の下流側近傍に設けられ、ヘッド5により印字された後述する識別コードとしてのバーコードを読取り可能なようになっている。
FIG. 1 is a diagram showing a configuration example of an embodiment of a printing apparatus with an identification code verifier according to the present invention, and shows an internal structure of a label printer to which a barcode printing apparatus as an identification code is applied. . As shown in the figure, a plaberita as a printing apparatus includes a printer main body 1 and a scanner 2 as an identification code verifier.
The printer main body 1 includes a control unit 3 that controls each unit, and a thermal head (hereinafter simply referred to as a head as appropriate) as a printing unit that performs printing on a label continuous body 4 in which labels 12 are temporarily attached to a mount 11 at regular intervals. 5), a stepping motor (hereinafter simply described as a motor) 6 driven by the control of the control unit 3, and a timing belt (hereinafter simply described as a belt as appropriate) 7 are transmitted. A platen roller that rotates by the rotational driving force of the motor 7 and conveys the label continuum 4 mounted on a supply shaft 8 to be described later and presses the label continuum 4 against the head 5 (hereinafter simply referred to as a platen as appropriate). ) 9, a supply shaft 8 that rotatably supports the label continuous body 4, a light emitting unit that emits predetermined light, and reflected light from the label continuous body 4 of the light emitted from the light emitting unit It comprises a light receiving section that receives and outputs an electrical signal corresponding to the intensity of the received light (the amount of light received per unit time). A light emitting section and a light receiving section are arranged on the back surface of the label continuous body 4, and the label continuous body 4 And a position detection sensor (hereinafter simply referred to as a sensor as appropriate) 10 for detecting an identification mark (black rectangular mark) (not shown) formed on the back surface of the light receiving portion based on the amount of light received by the light receiving portion. ing.
The scanner 2 as a reading unit is provided in the vicinity of the downstream side of the head 5 and can read a barcode as an identification code described later printed by the head 5.

図2は、図1の実施の形態の電気的な構成例を示すブロック図である。同図に示すように、制御部3は、所定の制御プログラムを記憶するROM(read only memory)21と、ROM21に記憶されている制御プログラムに従って動作し、各部を制御するCPU(central processing unit)22と、CPU22が動作する上で必要となる各種データを記憶するRAM(random access memory)23と、印字すべきバーコード等のフォーマットなどを記憶するカード24と、作動状況や停止状態などを色で認識可能とするLED(Light emitting diode)25と、テンキーやキーボードなどにより各種操作の入力を行う入力部26と、前記入力部26より入力された各種情報などの表記を行うLCD(Liquid crystal display)などの出力手段としての表示部27と、外部に接続された機器、例えば、ホストコンピュータ(図示省略)との間で各種データやコマンドの送受信を行うことができるようになっているインタフェース部28と、識別コード検証機としてのスキャナ2と、を備えている。また、前記ヘッド5、モータ6、センサ10もCPU22に接続されている。   FIG. 2 is a block diagram showing an example of the electrical configuration of the embodiment of FIG. As shown in the figure, the control unit 3 includes a ROM (read only memory) 21 that stores a predetermined control program, and a CPU (central processing unit) that operates according to the control program stored in the ROM 21 and controls each unit. 22, a RAM (random access memory) 23 for storing various data necessary for the operation of the CPU 22, a card 24 for storing a format such as a barcode to be printed, and an operating state and a stopped state. A light emitting diode (LED) 25, an input unit 26 for inputting various operations using a numeric keypad, a keyboard, and the like, and an LCD (Liquid crystal) for displaying various information input from the input unit 26 An interface unit capable of transmitting and receiving various data and commands between the display unit 27 as an output means such as a display and an externally connected device such as a host computer (not shown). 28 and a scanner 2 as an identification code verifier. The head 5, motor 6, and sensor 10 are also connected to the CPU 22.

図3は、上記プリンタ本体1でラベル連続体4のラベル12に印刷したバーコードの例を示す。
同図に示すラベル12は、3つのバーコードB1、B2、B3が印刷された例を示しており、バーコードB1はIDとしての製造番号、バーコードB2は供給者企業コード、バーコードB3は発注番号を各々印刷したものとする。
FIG. 3 shows an example of a barcode printed on the label 12 of the label continuous body 4 by the printer main body 1.
The label 12 shown in the figure shows an example in which three barcodes B1, B2, and B3 are printed. The barcode B1 is a serial number as an ID, the barcode B2 is a supplier company code, and the barcode B3 is Each order number is printed.

図4は、ラベル12に印刷を行う際の印刷データの例を示す。この印刷データは、前記インタフェース部28を介して図示省略のホストコンピュータより送信されたものであって、RAM23に記憶された状態を示している。同図に示すように、読取り管理手段としてのRAM23に記憶した印刷データは、印刷データID31、バーコード種類32、検証フラグ33、データ34、データ開始位置35aおよびデータ終了位置35bよりなるデータ印刷位置35、並びに、印刷の開始時間36aおよび終了時間36bよりなる印刷制御36の各項目となっている。
印刷データID31の項目は、バーコードか通常の文字データかなどを示すIDであり、本実施の形態では、前記ラベル12に印刷するバーコードB1、B2、B3の印刷データIDが記憶されている。
バーコード種類32は、JAN、code128、あるいはNW−7などのバーコードの種類を設定する項目であり、本実施の形態では、それぞれ異なった種類のバーコードが設定・記憶されている。
検証フラグ33は、印刷データがバーコードのときのみに設定され、スキャナ2により後述の検証を行うか否かの項目であり、本実施の形態では、印刷データID31のバーコードB1とB3のフラグがON(検証する)で、バーコードB2はOFF(検証せず)となっている。同フラグ33は、スキャナ2の種類によっては読めないバーコードの種類があるために設けられたものであり、また、バーコードのデータがバーコード以外から参照できる場合には、同フラグ33をOFFとして検証を選択しないで省略することにより、ラベル12に対する印字速度を優先することができるようになっている。
データ34には、前記ラベル12に印刷するデータが記憶されており、本実施の形態では、バーコードB1には、製造番号を示す「200401098」が、また、バーコードB2には、供給者企業コードを示す「123456789」が、更に、バーコードB3には、発注番号を示す「R040122」が、各々記憶されている。
データ印刷位置35は、印刷データの開始位置35aおよび終了位置35bよりなる印刷位置の設定項目であり、基点Oよりの搬送方向(y軸方向)および幅方向(x方向)の位置で各々表されている。すなわち、バーコードB1は、x軸方向「x1S」およびy軸方向「y1S」の開始位置35aよりx軸方向「x1E」およびy軸方向「y1E」の終了位置35bまで印刷されるものであり、また、バーコードB2は、開始位置「x2S、y2S」より終了位置「x2E、y2E」まで、さらに、バーコードB3は、開始位置「x3S、y3S」より終了位置「x3E、y3E」まで、各々データが印刷されるように設定されている。
印刷制御36の項目は、後述のスキャナ2による検証を行う際のラベル搬送方向におけるスキャナ2の照射時間を表す項目であり、本実施の形態では、基点Oより1.5秒後からバーコードB1に対する照射を開始し、開始から0.25秒経過した1.75秒には照射を終了する例を示している。そして、バーコードB2は、印刷制御36の開始時間36aおよび終了時間36bが設定されていないため、スキャナ2は作動せず、2.25秒経過したバーコードB3の位置で照射を開始し、0.25秒経過した2.50秒には照射を終了するよう設定されている。
前記開始時間36aおよび終了時間36bは、データ印刷位置35およびステッピングモータ6の回転数から換算された時間となっている。すなわち、バーコードB1の搬送方向における開始位置y1Sおよび終了位置y1Eと、ステッピングモータ6の1秒間の回転数nより時間換算するものであり、開始時間36aは、y軸(搬送方向)の開始位置(y1S)と基点Oとの差をステッピングモータ6の1秒間の回転数nで除した(y1S−0)/nで表される。同様に、終了時間36bは、y軸(搬送方向)の終了位置(y1E)と基点Oとの差をステッピングモータ6の1秒間の回転数nで除した(y1E−0)/nで表される。
FIG. 4 shows an example of print data when printing on the label 12. This print data is transmitted from a host computer (not shown) via the interface unit 28 and indicates the state stored in the RAM 23. As shown in the figure, the print data stored in the RAM 23 as the read management means is a data print position comprising a print data ID 31, a barcode type 32, a verification flag 33, data 34, a data start position 35a and a data end position 35b. 35, and items of the print control 36 including a print start time 36a and an end time 36b.
The item of the print data ID 31 is an ID indicating whether it is a bar code or normal character data. In this embodiment, the print data ID of the bar codes B1, B2, and B3 to be printed on the label 12 is stored. .
The bar code type 32 is an item for setting a bar code type such as JAN, code 128, or NW-7. In this embodiment, different types of bar codes are set and stored.
The verification flag 33 is set only when the print data is a barcode, and is an item indicating whether or not to perform later-described verification by the scanner 2. In the present embodiment, the flags B1 and B3 of the print data ID 31 are set. Is ON (verify) and the bar code B2 is OFF (not verified). The flag 33 is provided because there is a barcode type that cannot be read depending on the type of the scanner 2, and when the barcode data can be referred from other than the barcode, the flag 33 is set to OFF. By omitting without selecting verification, the printing speed for the label 12 can be prioritized.
The data 34 stores data to be printed on the label 12. In the present embodiment, the barcode B1 is “200401098” indicating the manufacturing number, and the barcode B2 is the supplier company. “123456789” indicating the code is stored, and “R040122” indicating the order number is stored in the barcode B3.
The data print position 35 is a print position setting item composed of a print data start position 35a and an end position 35b, and is represented by a position in the transport direction (y-axis direction) and the width direction (x direction) from the base point O, respectively. ing. That is, the barcode B1 is printed from the start position 35a in the x-axis direction “x1S” and the y-axis direction “y1S” to the end position 35b in the x-axis direction “x1E” and the y-axis direction “y1E”. Further, the barcode B2 has data from the start position “x2S, y2S” to the end position “x2E, y2E”, and the barcode B3 has data from the start position “x3S, y3S” to the end position “x3E, y3E”. Is set to be printed.
The item of the print control 36 is an item representing the irradiation time of the scanner 2 in the label transport direction when verification by the scanner 2 described later is performed. In the present embodiment, the barcode B1 is 1.5 seconds after the base point O. An example is shown in which the irradiation is started and the irradiation is terminated at 1.75 seconds after 0.25 seconds from the start. Since the start time 36a and the end time 36b of the print control 36 are not set for the barcode B2, the scanner 2 does not operate, and irradiation starts at the position of the barcode B3 after 2.25 seconds. The irradiation is set to end at 2.50 seconds after 25 seconds have elapsed.
The start time 36 a and the end time 36 b are times converted from the data printing position 35 and the rotation speed of the stepping motor 6. That is, time conversion is performed from the start position y1S and end position y1E in the conveyance direction of the barcode B1 and the rotation speed n per second of the stepping motor 6, and the start time 36a is the start position of the y axis (conveyance direction). The difference between (y1S) and the base point O is expressed by (y1S-0) / n obtained by dividing the stepping motor 6 by the rotation speed n per second n. Similarly, the end time 36b is expressed by (y1E-0) / n obtained by dividing the difference between the end position (y1E) in the y-axis (conveying direction) and the base point O by the rotation speed n of the stepping motor 6 per second. The

次に、主に、図5および図6を用い、本発明に係る印刷装置の使用状態を説明する。
図5は、バーコードに対するスキャナ2による検証照射時間の設定モードを示すフローチャートである。
ステップS01において、入力部26より印刷制御36の開始時間36aおよび終了時間36aを入力するとともに、図示省略の実行キーが押下されたか判定する。時間入力されるまでステップS01を繰り返し、入力された場合、次ステップS02にて前記入力された時間をRAM23の印刷制御36の開始時間36aおよび終了時間36bに記憶する。このとき、時間入力があったということで、検証フラグ33には、ONを設定する。
ステップS03において、設定終了か判定し、まだ設定すべきバーコード検証時間がある場合は、ステップS01に戻って、ステップS01およびS02を繰り返す。
一方ステップS03において、設定終了と判定された場合は、処理を終了する。
Next, the use state of the printing apparatus according to the present invention will be described mainly with reference to FIGS. 5 and 6.
FIG. 5 is a flowchart showing a setting mode of the verification irradiation time by the scanner 2 for the barcode.
In step S01, a start time 36a and an end time 36a of the print control 36 are input from the input unit 26, and it is determined whether an execution key (not shown) is pressed. Step S01 is repeated until the time is input. If the time is input, the input time is stored in the start time 36a and the end time 36b of the print control 36 of the RAM 23 in the next step S02. At this time, since the time is input, the verification flag 33 is set to ON.
In step S03, it is determined whether the setting is completed. If there is still a barcode verification time to be set, the process returns to step S01, and steps S01 and S02 are repeated.
On the other hand, if it is determined in step S03 that the setting has been completed, the process ends.

図6は、ラベルの発行・検証処理を示すフローチャートである。
ステップS11にて、ヘッド5を介してラベル12に1ライン印字を行い、ステップS12においてモータ6を1ステップ駆動する。
ステップS13において、バーコード検証開始時間36aかどうか判定し、開始時間36aであればステップS14にてスキャナ2の照射を行ってバーコードを読取り、読取ったバーコードデータをRAM23のワークエリア(図示省略)に記憶する。
そして、ステップS15にて、バーコード検証終了時間36bかどうか判定し、終了と判定された場合はステップS11に戻り、また、終了でないと判定された場合は、ステップS14に戻って終了時間36bまでスキャナ2の照射による読取りを行う。
一方、ステップS13にて、バーコード検証開始時間36aでないと判定された場合、ステップS16進む。
ステップS16にて、次のバーコード読取りデータがあるかどうか判定し、ないと判定された場合は、ステップS19に進む。一方、次のバーコード読取りデータがあると判定された場合は、ステップS17にて印字バーコードのデータ34と読取った前記データ(図示省略)との検証を照合手段としてのCPU22にて行い、ステップS18にて検証結果がOKかどうかを判定する。ステップS18にて、印刷すべきデータ34と読取った前記データ(図示省略)との検証結果がNGの場合は、ステップS20にて、NG処理を行う。すなわち、印刷を止めたり、あるいは、該当ラベルが不良ラベルである旨を表示部27に表示するとともに、図示省略のブザーなどの警報手段により知らせて処理を終了する。
一方、ステップS18における検証結果がOKと判定された場合は、ステップS19にて、印字・発行が終了したかどうか判定し、終了していない場合は、ステップS11に戻り、終了したと判定された場合は、発行・検証処理を終了する。
FIG. 6 is a flowchart showing label issuance / verification processing.
In step S11, one line is printed on the label 12 via the head 5, and the motor 6 is driven one step in step S12.
In step S13, it is determined whether or not the barcode verification start time 36a is reached. If the start time 36a is reached, the scanner 2 is irradiated in step S14 to read the barcode, and the read barcode data is stored in the work area of the RAM 23 (not shown). ).
Then, in step S15, it is determined whether or not the barcode verification end time 36b is reached. If it is determined that the process is finished, the process returns to step S11. If it is determined that the process is not finished, the process returns to step S14 and reaches the end time 36b. Reading by irradiation of the scanner 2 is performed.
On the other hand, if it is determined in step S13 that the barcode verification start time 36a is not reached, the process proceeds to step S16.
In step S16, it is determined whether there is next barcode read data. If it is determined that there is no next barcode read data, the process proceeds to step S19. On the other hand, if it is determined that there is the next barcode reading data, the CPU 22 as a collating means verifies the printing barcode data 34 and the read data (not shown) in step S17. In S18, it is determined whether the verification result is OK. If the verification result between the data 34 to be printed and the read data (not shown) is NG in step S18, NG processing is performed in step S20. That is, printing is stopped, or the fact that the corresponding label is a defective label is displayed on the display unit 27, and an alarm means such as a buzzer (not shown) is informed to end the processing.
On the other hand, if the verification result in step S18 is determined to be OK, it is determined in step S19 whether printing / issuance has been completed. If not, the process returns to step S11, where it is determined that the printing has been completed. If so, the issuance / verification process is terminated.

上述したように、識別コードとしてのバーコードB1、B2、B3のうち、読取り手段としてのスキャナ2によりレーザ照射による走査を行って読取りを実施するバーコードを検証フラグ33により特定し、しかも、レーザ照射時間を、印刷制御36に設定した開始時間36aから終了時間36bまでとしたので、従来のように基点Oより印刷終了するまで常時レーザ照射による読取りを行っていたときに比し、負荷が低減されて印字速度が速くなるとともに、スキャナ2も長持ちするものである。 As described above, of the barcodes B1, B2, and B3 as identification codes, the barcode that is scanned by the laser irradiation by the scanner 2 as the reading means and specified for reading is specified by the verification flag 33, and the laser is scanned. Since the irradiation time is set from the start time 36a to the end time 36b set in the printing control 36, the load is reduced compared with the case where reading is always performed by laser irradiation from the base point O until the printing is completed as in the prior art. As a result, the printing speed increases and the scanner 2 also lasts longer.

図7は、RAM23に記憶された図4相当の印刷データの他の実施の形態を説明する説明図である。
なお、以下において、先の実施の形態と同様の部分は同一符号を付すに止め、詳説を省略する。
RAM23に記憶された印刷データは、印刷データID31、バーコード種類32、データ34、データ開始位置35aおよびデータ終了位置35bよりなるデータ印刷位置35、並びに、印刷の開始時間40aが設定された印刷制御40の各項目となっている。
先の実施の形態に比べ、検証フラグ33がない点、印刷制御40の設定が開始時間40aのみとなっていること、および印刷データID31が、図3のラベル12に対応させた場合、搬送方向に対し、逆の順番になっていることが特徴である。
検証フラグ33を設けなくても、開始時間40aが設定されていればスキャナ2による照射を開始できるので、検証フラグ33を判定するソフトウエアのステップが省略できる。
また、先の実施の形態による終了時間36bを省略したが、終了時間36bが搬送方向におけるバーコードのデータ終了位置35bより換算されていたため、バーコードがμ(マイクロ)秒単位の短い所定時間の照射で読取れる場合でも、終了時間36bまで読む必要があったためであり、スキャナ2の読取りOKを検出することにより、先の実施の形態に比し、照射時間は、より短くて済む。
搬送方向におけるラベル12の長さが短い場合、図1におけるヘッド5位置と検証機としてのスキャナ2の間の距離(長さ)がラベル12長より長くなることが考えられる。その場合、次のラベルの印刷を優先し、ヘッド5の位置への搬送逆方向への位置決め時に、先に印刷したラベルのバーコードを検証しようとするものであり、そのため、印刷データID31が、搬送方向の印刷順であるバーコードB1、B2,B3とは逆の、B3、B2、B1となっているものである。
上述したように、印刷データID31のバーコードB1、B2、B3に対する検証を、印刷制御40の開始時間40aとしたので、本実施の形態のように、搬送逆方向時に検証するような場合でも面倒なステップ換算の制御が不要となり、しかも、次のラベルに対する印刷を優先させることができるため制御が簡単であり、印字処理時間も早くなるものである。
他の構成、作用、効果は、先の実施の形態とほぼ同様につき、詳説を省略する。
FIG. 7 is an explanatory diagram for explaining another embodiment of print data corresponding to FIG. 4 stored in the RAM 23.
In the following description, the same parts as those in the previous embodiment are designated by the same reference numerals, and detailed description thereof is omitted.
The print data stored in the RAM 23 is a print control in which a print data ID 31, a barcode type 32, data 34, a data print position 35 including a data start position 35a and a data end position 35b, and a print start time 40a are set. There are 40 items.
Compared to the previous embodiment, there is no verification flag 33, the setting of the print control 40 is only the start time 40a, and when the print data ID 31 corresponds to the label 12 in FIG. On the other hand, the reverse order is characteristic.
Even if the verification flag 33 is not provided, the irradiation by the scanner 2 can be started if the start time 40a is set, so that the software step for determining the verification flag 33 can be omitted.
Although the end time 36b according to the previous embodiment is omitted, since the end time 36b is converted from the data end position 35b of the barcode in the transport direction, the barcode is a short predetermined time in units of μ (micro) seconds. This is because even when reading is performed by irradiation, it is necessary to read until the end time 36b. By detecting the reading OK of the scanner 2, the irradiation time can be shorter than that of the previous embodiment.
When the length of the label 12 in the transport direction is short, the distance (length) between the position of the head 5 in FIG. 1 and the scanner 2 as the verification machine may be longer than the length of the label 12. In this case, priority is given to the printing of the next label, and the barcode of the label printed earlier is to be verified at the time of positioning in the transport reverse direction to the head 5 position. B3, B2, and B1 are opposite to the barcodes B1, B2, and B3, which are printing orders in the transport direction.
As described above, since the verification for the barcodes B1, B2, and B3 of the print data ID 31 is the start time 40a of the print control 40, it is troublesome even when verification is performed in the reverse direction of conveyance as in the present embodiment. Therefore, step-converting control is unnecessary, and printing can be prioritized for the next label, so that the control is simple and the printing processing time is shortened.
Other configurations, operations, and effects are substantially the same as those of the previous embodiment, and detailed description thereof is omitted.

なお、上記実施の形態の構成及び動作は例であって、本発明の趣旨を逸脱しない範囲で
適宜変更することができることは言うまでもない。
It should be noted that the configuration and operation of the above-described embodiment are examples, and it goes without saying that they can be changed as appropriate without departing from the spirit of the present invention.

例えば、識別コードとしてバーコードを例に説明したがこれに限定されないことは勿論であり、2次元コードでも検証可能である。
For example, a barcode has been described as an example of the identification code, but the present invention is not limited to this, and verification can also be performed using a two-dimensional code.

本発明の識別コード検証機付きの印刷装置の一実施の形態の構成例を示す図である。It is a figure which shows the structural example of one Embodiment of the printing apparatus with an identification code verification machine of this invention. 図1の実施の形態の電気的な構成例を示すブロック図である。It is a block diagram which shows the electrical structural example of embodiment of FIG. バーコードを印刷したラベルの説明図である。It is explanatory drawing of the label which printed the barcode. ラベルに印刷を行う印刷データのRAMにおける記憶例を示す説明図である。It is explanatory drawing which shows the example of memory | storage in RAM of the print data which prints on a label. 検証機の照射時間の設定モードを示すフローチャートである。It is a flowchart which shows the setting mode of the irradiation time of a verification machine. ラベルの発行・検証処理を示すフローチャートである。It is a flowchart which shows the issuing / verification process of a label. RAMに記憶された印刷データの他の実施の形態を説明する説明図である。It is explanatory drawing explaining other embodiment of the print data memorize | stored in RAM.

符号の説明Explanation of symbols

B1、B2,B3 バーコード
1 プリンタ本体
2 スキャナ(識別コード検証機)
3 制御部
4 ラベル連続体
5 サーマルヘッド(ヘッド)
6 ステッピングモータ(モータ)
7 タイミングベルト(ベルト)
8 供給軸
9 プラテンローラ(プラテン)
10 位置検出センサ(センサ)
11 台紙
12 ラベル
13〜20 欠
21 ROM
22 CPU
23 RAM
24 カード
25 LED
26 入力部
27 表示部
28 インタフェース部
31 印刷データID
32 バーコード種類
33 検証フラグ
34 データ
35 データ印刷位置
35a 開始位置
35b 終了位置
36 印刷制御
36a 開始時間
36b 終了時間
40 印刷制御
40a 開始時間

B1, B2, B3 Bar code 1 Printer body 2 Scanner (identification code verifier)
3 Control unit 4 Label continuum 5 Thermal head (head)
6 Stepping motor (motor)
7 Timing belt (belt)
8 Supply shaft 9 Platen roller (platen)
10 Position detection sensor (sensor)
11 Mount 12 Label 13-20 Missing 21 ROM
22 CPU
23 RAM
24 Card 25 LED
26 Input unit 27 Display unit 28 Interface unit 31 Print data ID
32 Barcode type 33 Verification flag 34 Data 35 Data printing position 35a Start position 35b End position 36 Print control 36a Start time 36b End time 40 Print control 40a Start time

Claims (3)

所定のコマンドに従って所定の識別コードを少なくとも1つ印刷する印刷手段と、
前記印刷手段によって印刷された前記識別コードを所定時間走査し、前記識別コードによって表される情報を読取る読取り手段と、
前記識別コードのうち、前記読取り手段による走査・読取りを実施する特定の識別コードに対する読取り開始時間が設定された読取り管理手段と、
前記読取り管理手段にて設定された開始時間より前記所定時間、読取り手段による走査・読取りを行うとともに、読取られた前記特定の識別コードの情報と、前記コマンドに従って印刷された識別コードとを照合する照合手段と、
前記照合手段による照合結果を出力する出力手段と、
を備えることを特徴する印刷装置の識別コード検証機。
Printing means for printing at least one predetermined identification code in accordance with a predetermined command;
Scanning means for scanning the identification code printed by the printing means for a predetermined time and reading information represented by the identification code;
Reading management means in which a reading start time is set for a specific identification code that is scanned and read by the reading means among the identification codes;
Scanning / reading by the reading means is performed for the predetermined time from the start time set by the reading management means, and the information of the specific identification code read and the identification code printed in accordance with the command are collated. Matching means;
Output means for outputting a collation result by the collation means;
An identification code verification machine for a printing apparatus, comprising:
前記読取り管理手段には、前記識別コードの種類、前記特定の識別コードに付加された識別コードの読取りID、並びに読取り終了時間が設けられるともに、前記読取りIDが設けられた識別コードのみ前記読取り手段による走査を行うことを特徴とする請求項1に記載の印刷装置の識別コード検証機。   The reading management means is provided with a type of the identification code, a reading ID of the identification code added to the specific identification code, and a reading end time, and only the identification code provided with the reading ID is the reading means. The identification code verifier of the printing apparatus according to claim 1, wherein scanning is performed according to the above. 所定のコマンドに従って少なくとも1つ所定の識別コードを印刷ステップにて印刷するとともに、前記印刷ステップによって印刷された前記識別コードを所定時間走査し、前記識別コードによって表される情報を読取りステップにて読取り、
前記識別コードのうち、前記読取りステップによる走査・読取りを必要とする特定の識別コードに対する読取り開始時間を読取り管理ステップにて設定し、
前記読取り管理ステップにて設定された前記開始時間より前記所定時間、読取りステップによる走査・読取りを行うとともに、読取られた前記特定の識別コードの情報と、前記コマンドに従って印刷された識別コードとを照合ステップにて照合し、
前記照合ステップによる照合結果を出力ステップにて出力することを特徴する印刷装置の識別コード検証方法。

In accordance with a predetermined command, at least one predetermined identification code is printed in the printing step, the identification code printed in the printing step is scanned for a predetermined time, and the information represented by the identification code is read in the reading step. ,
Among the identification codes, a reading start time for a specific identification code that requires scanning / reading by the reading step is set in the reading management step,
Scanning and reading by the reading step is performed for the predetermined time from the start time set in the reading management step, and the information of the specific identification code read is compared with the identification code printed according to the command Match in steps,
An identification code verification method for a printing apparatus, characterized in that the collation result in the collation step is output in an output step.

JP2004023801A 2004-01-30 2004-01-30 Printing apparatus with identification code verifier and identification code verification method Expired - Fee Related JP4522102B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004023801A JP4522102B2 (en) 2004-01-30 2004-01-30 Printing apparatus with identification code verifier and identification code verification method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004023801A JP4522102B2 (en) 2004-01-30 2004-01-30 Printing apparatus with identification code verifier and identification code verification method

Publications (2)

Publication Number Publication Date
JP2005212373A true JP2005212373A (en) 2005-08-11
JP4522102B2 JP4522102B2 (en) 2010-08-11

Family

ID=34906698

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004023801A Expired - Fee Related JP4522102B2 (en) 2004-01-30 2004-01-30 Printing apparatus with identification code verifier and identification code verification method

Country Status (1)

Country Link
JP (1) JP4522102B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012208587A (en) * 2011-03-29 2012-10-25 Kayaba Ind Co Ltd Label check apparatus

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104008410B (en) * 2014-06-05 2017-07-07 广州鑫宝软件科技有限公司 Label information detection method and device
JP7285588B2 (en) 2020-10-06 2023-06-02 株式会社エース電研 Amusement island structure

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6427970A (en) * 1987-07-24 1989-01-30 Tokyo Electric Co Ltd Label-issuing device
JPH09131951A (en) * 1995-11-08 1997-05-20 Dainippon Printing Co Ltd Printing quality judging device
JPH09156161A (en) * 1995-12-06 1997-06-17 Hitachi Ltd Bar code printer
JPH09254501A (en) * 1996-03-22 1997-09-30 Nec Corp Printer
JPH10269359A (en) * 1997-03-25 1998-10-09 Toppan Printing Co Ltd Method and device for inspecting printed matter
JP2001150648A (en) * 1999-11-30 2001-06-05 Dainippon Printing Co Ltd Method and system for inspecting printed matter

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6427970A (en) * 1987-07-24 1989-01-30 Tokyo Electric Co Ltd Label-issuing device
JPH09131951A (en) * 1995-11-08 1997-05-20 Dainippon Printing Co Ltd Printing quality judging device
JPH09156161A (en) * 1995-12-06 1997-06-17 Hitachi Ltd Bar code printer
JPH09254501A (en) * 1996-03-22 1997-09-30 Nec Corp Printer
JPH10269359A (en) * 1997-03-25 1998-10-09 Toppan Printing Co Ltd Method and device for inspecting printed matter
JP2001150648A (en) * 1999-11-30 2001-06-05 Dainippon Printing Co Ltd Method and system for inspecting printed matter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012208587A (en) * 2011-03-29 2012-10-25 Kayaba Ind Co Ltd Label check apparatus

Also Published As

Publication number Publication date
JP4522102B2 (en) 2010-08-11

Similar Documents

Publication Publication Date Title
US11521000B2 (en) Industrial printer
EP3336772A1 (en) Rfid reader/writer and control program
JP2007144955A (en) Label with release paper and label printer
WO2007064035A1 (en) Peel-off paper-attached label and label printer
EP3859590A1 (en) Thermal printer with reduced inlay pitch singulation
JP2006116886A (en) Printer
JP2012143986A (en) Bar code printer and bar code reading and verifying method for bar code printer
JP5023476B2 (en) Label with release paper and label printer
JP4522102B2 (en) Printing apparatus with identification code verifier and identification code verification method
JP4142897B2 (en) Printing device and printing system
JP5757743B2 (en) Verification device
JP2007233451A (en) Information processor
JP4537746B2 (en) Print issuing device and print issuing method
JP2011173278A (en) Bar code printer
JP2007144956A (en) Label with release paper and label printer
JP4907066B2 (en) RFID label printer
JP5619564B2 (en) Verification device
JP2002273992A (en) Printer, printer host for controlling the same, and operation program of printer host
JP5734021B2 (en) Verification device
JP2015109653A (en) Verification device
JP2012175444A (en) Verification apparatus
JP2005313333A (en) Printer and method for issuing mailing label
JP2007144954A (en) Label with release paper and label printer
JP2001291122A (en) Traffic ticket issuing machine and portable terminal device
JP2007102327A (en) Identification code processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091116

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100113

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

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

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130604

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20130604

Year of fee payment: 3

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

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

Free format text: PAYMENT UNTIL: 20130604

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130604

Year of fee payment: 3

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20130604

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees