JPH03214375A - Printer device provided with bar-code read function - Google Patents
Printer device provided with bar-code read functionInfo
- Publication number
- JPH03214375A JPH03214375A JP2010272A JP1027290A JPH03214375A JP H03214375 A JPH03214375 A JP H03214375A JP 2010272 A JP2010272 A JP 2010272A JP 1027290 A JP1027290 A JP 1027290A JP H03214375 A JPH03214375 A JP H03214375A
- Authority
- JP
- Japan
- Prior art keywords
- sensor
- barcode
- reading
- distance
- density
- 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
Links
- 239000000428 dust Substances 0.000 abstract description 3
- 238000011109 contamination Methods 0.000 abstract 1
- 230000007547 defect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 10
- 238000013500 data storage Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 4
- 238000005259 measurement Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Abstract
Description
【発明の詳細な説明】
[概要]
低密度バーコードと高密度バーコードの両方を安定に読
みとることが出来るバーコード読取り機能を備えたプリ
ンタ装置に関し、
高密度用マーク・センサを使用して高密度ハコードばか
りでなく低密度バーコードも安定に読み取り得るように
することを目的とし、高分解能センサで高密度バーコー
ドを読取る際にはセンサとバーコード(紙面)間距離を
センサの高分解能特性を十分に発揮できる最適位置に設
定し、低密度バーコードを読取る際には自動紙厚調整機
構によりセンサとバーコード間距離を最適位置からずら
した所謂ビンぼけ位置に設定したものである。[Detailed Description of the Invention] [Summary] This invention relates to a printer device equipped with a barcode reading function that can stably read both low-density barcodes and high-density barcodes. The purpose is to be able to stably read not only high-density barcodes but also low-density barcodes, and when reading high-density barcodes with a high-resolution sensor, the distance between the sensor and the barcode (paper surface) is determined by the high-resolution characteristics of the sensor. When reading low-density barcodes, an automatic paper thickness adjustment mechanism is used to set the distance between the sensor and the barcode to a so-called blurred position that is shifted from the optimal position.
(産業上の利用分野)
本発明は、低密度バーコードと高密度バーコードの両方
を安定に読みとることが出来るハーコド読取り機能を備
えたプリンタ装置に関するものである。(Industrial Application Field) The present invention relates to a printer device equipped with a hard code reading function that can stably read both low-density barcodes and high-density barcodes.
〔従来の技術]
−I’IQのペン型バーコード・リーグには、低密度用
と高木度用とがある。低密度用リーダによる高審度バー
コードの読取りは不可能であるが、間密度用リーグによ
る低密度バーコードの読取りは可能である。[Prior Art] - I'IQ's pen-type barcode league includes low-density type and high-density type. It is impossible for a low-density reader to read a high-quality barcode, but a low-density league can read a low-density barcode.
高書度用リーダによる低密度ハーコートの読取りは本来
的に容易に行われる筈であるが、高分解能センサを使用
しているため、微小なゴミや汚れハーのカケ等に敏怒に
反応し、読取り率が低下することがある。A high-quality reader should be able to read low-density Harcoat easily, but since it uses a high-resolution sensor, it reacts quickly to minute dust, dirt, and chips. Read rate may decrease.
本発明は、この点に鑑みて創作されたものであって、高
密度用マーク・センサを使用して高密度バーコードばか
りでなく低密度バーコードを安定に読み取ることが出来
るバーコード読取り機能を備えたプリンタ装置を提供す
ることを目的としている。The present invention was created in view of this point, and has a barcode reading function that uses a high-density mark sensor to stably read not only high-density barcodes but also low-density barcodes. The purpose of the present invention is to provide a printer device equipped with the following functions.
〔課題を解決するための手段]
第1図は本発明の原理説明図である。プリンタ制御部1
7は、バーコード読取処理手段18を存している。プリ
ンタ機構部19は、高密度バーコードを読メ取るための
マーク・センサ2と印字ヘッド3を搭載したキャリア1
および印字ヘッド3とプラテン間の距離を調整する自v
J祇厚娼撃橘購20を有している。[Means for Solving the Problems] FIG. 1 is a diagram explaining the principle of the present invention. Printer control unit 1
7 includes barcode reading processing means 18. The printer mechanism section 19 includes a carrier 1 equipped with a mark sensor 2 and a print head 3 for reading high-density barcodes.
and an automatic controller for adjusting the distance between the print head 3 and the platen.
He has 20 J.
バーコード読取処理手段18は、
(a) 自動紙厚調整機構20を制御して、マーク・
センサ2と紙面間距離を最適距離に設定し、(b)バー
コード・スキャンを行い、
(c) バーコードの認識が行われなかった場合には
、紙面上のバーコードが低密度バーコードか否かを調べ
、
(d) 低密度バーコードの場合には、自動紙厚調整
機構20を制11ロシて、マーク・センサ2と紙面間距
離を設定し直、し、
(e) バーコード・スキャンを行うよう構成されて
いる。The barcode reading processing means 18 (a) controls the automatic paper thickness adjustment mechanism 20 to read marks and
Set the distance between sensor 2 and the paper to the optimum distance, (b) scan the barcode, and (c) if the barcode is not recognized, check whether the barcode on the paper is a low-density barcode. (d) In the case of a low-density barcode, control the automatic paper thickness adjustment mechanism 20 and reset the distance between the mark sensor 2 and the paper surface; (e) Check whether the barcode is configured to scan.
高密度バーコードを読取る際にはセンサ2とバーコード
(紙面)間距離をセンサ2の高分解能特性を十分に発揮
できる最適位置に設定し、低密度バーコードを読取る際
には自動紙厚調整機構20によりセンサとバーコード間
距離を最適位置からずらした所謂ピンぼけ位置に設定す
る。これにより、微小なゴミや汚れに対して反応し難く
し、高分解能センサにより低密度バーコードを読取る際
の欠点を解消する。When reading high-density barcodes, set the distance between sensor 2 and the barcode (paper surface) to the optimal position to fully utilize the high-resolution characteristics of sensor 2, and when reading low-density barcodes, automatically adjust the paper thickness. The mechanism 20 sets the distance between the sensor and the barcode to a so-called out-of-focus position that is shifted from the optimum position. This makes it difficult to react to minute dust and dirt, and eliminates the drawbacks when reading low-density barcodes with high-resolution sensors.
第2図はプリンタの電気回路の構成例を示す図である。 FIG. 2 is a diagram showing an example of the configuration of the electric circuit of the printer.
同図において、1はキャリア、2は高密度バーコード用
のマーク・センサ、3は印字ヘッド、4はハンマ・ドラ
イハ、5はセンサ回路、6はモータ、7はモータ・ドラ
イハ、8は操作パ不ル、9は設定データ格納不揮発性メ
モリ、10はプログラムROM、11はデータ格納RA
M、12はインタフェース、l3は本体装置、14はC
PU、15はデータ・ハス、16はアドレス・バスをそ
れぞれ示している。In the figure, 1 is a carrier, 2 is a mark/sensor for high-density barcodes, 3 is a print head, 4 is a hammer dryer, 5 is a sensor circuit, 6 is a motor, 7 is a motor dryer, and 8 is an operation panel. 9 is a setting data storage non-volatile memory, 10 is a program ROM, 11 is a data storage RA
M, 12 is the interface, l3 is the main unit, 14 is C
PU, 15 indicates a data bus, and 16 indicates an address bus, respectively.
キャリア1には、マーク・センサ2や印字ヘンド3が搭
載されている。マーク・センサ2は用紙上に書かれてい
るバーコード等を読み取るものである。ハンマ・ドライ
ハ4は、印字ヘッド3のソレノイドを駆動するものであ
る。センサ回路5は、マーク・センサ2からの読取信号
を増幅したり、波形整形したりするものである。A mark sensor 2 and a print head 3 are mounted on the carrier 1. The mark sensor 2 reads barcodes and the like written on paper. The hammer dryer 4 drives the solenoid of the print head 3. The sensor circuit 5 amplifies the read signal from the mark sensor 2 and shapes its waveform.
モータ6は1個しか示されていないが、モータ6は用紙
送りモータやキャリア移動モータ,自動紙厚調整機構の
ためのパルス・モータ等を表現している。なお、本発明
が適用されるプリンタ装置は、自動紙厚調整機構を有し
ており、印字ヘッドとプラテン間の距離を自由に変更す
ることが出来る。自動紙厚調整機構を有するプリンタ装
置は、例えば特開昭61−199969号公報に開示さ
れている。Although only one motor 6 is shown, the motor 6 represents a paper feed motor, a carrier movement motor, a pulse motor for an automatic paper thickness adjustment mechanism, etc. Note that the printer device to which the present invention is applied has an automatic paper thickness adjustment mechanism, and can freely change the distance between the print head and the platen. A printer device having an automatic paper thickness adjustment mechanism is disclosed in, for example, Japanese Patent Laid-Open No. 199969/1983.
操作パネル8にはあ各種スインチや液晶ディスプレイ等
がある。設定データ格納不揮発性メモリ9の中には、プ
リンタのモードを定めるモード設定データ等が格納され
ている。プログラムROM10には、各種のプログラム
が格納されている。The operation panel 8 includes various switches, a liquid crystal display, and the like. The setting data storage nonvolatile memory 9 stores mode setting data and the like that determine the mode of the printer. The program ROM 10 stores various programs.
データ格納RAMIIO中には、ハノファや各種作業領
域などが存在する。インタフェース12は、本体装置1
3との間のデータ転送を制御するものである。CPU1
4は、プログラムROMIOのプログラムを実行する。Hanofa and various work areas exist in the data storage RAM IIO. The interface 12 is the main unit 1
It controls data transfer between 3 and 3. CPU1
4 executes the program ROMIO.
用紙上のバーコードの読取りを行う場合には、キャリア
移動モータおよび用紙送りモータを制御して、マーク・
センサ2が用紙上のバーコードをスキャンするようにキ
ャリア1を移動させ、マーク・センサ2からのセンサ出
力をデータ格納RAMIIに格納すれば良い。When reading barcodes on paper, control the carrier movement motor and paper feed motor to read the marks and
The carrier 1 may be moved so that the sensor 2 scans the barcode on the paper, and the sensor output from the mark sensor 2 may be stored in the data storage RAM II.
マーク・センサ2と用紙上のバーコード間の距離を調整
するには、自動祇厚調整用のパルス・モタを回転すれば
良い。To adjust the distance between the mark sensor 2 and the barcode on the paper, it is sufficient to rotate the pulse motor for automatic thickness adjustment.
第3図は高密度バーコードと低密度バーコードの例を示
す。バーコードには、高密度バーコードや低密度バーコ
ード等がある。FIG. 3 shows an example of a high-density barcode and a low-density barcode. Barcodes include high-density barcodes and low-density barcodes.
第4図は本発明におけるセンサとバーコード間の距離を
説明する図である。同図において、Sはセンサ・スポッ
トを示している。FIG. 4 is a diagram illustrating the distance between the sensor and the barcode in the present invention. In the figure, S indicates a sensor spot.
高密度バーコードを読み取る際には、第4図(a)に示
すように、センサとバーコード(紙面)間距離をセンサ
の高分解能特性を充分に発揮できる最適位置に設定する
。低密度バーコードを読み取る際には、第4図(b)に
示すように、自動紙厚調整機構によりセンサとバーコー
ド間距離を最適距離→−αに設定し、最適位置からずら
した所謂ピンぼけ位置に設定する。センサとバーコード
間距離が如何なる値のときにセンサの高分解能特性を充
分に発揮できるかは、測定によって求めることが出来る
。求めた値(最適距離)は不揮発性メモリ9等に保存し
ておく。また、上記のαの値も測定によって求め、求め
た値を不揮発性メモリ9等に保存しておく。When reading a high-density barcode, as shown in FIG. 4(a), the distance between the sensor and the barcode (paper surface) is set at an optimal position where the high-resolution characteristics of the sensor can be fully utilized. When reading low-density barcodes, as shown in Figure 4(b), the automatic paper thickness adjustment mechanism sets the distance between the sensor and the barcode to the optimum distance → -α, and the so-called out-of-focus position is shifted from the optimum position. Set to position. The value of the distance between the sensor and the barcode at which the high resolution characteristics of the sensor can be fully demonstrated can be determined by measurement. The obtained value (optimal distance) is stored in the nonvolatile memory 9 or the like. Further, the value of α mentioned above is also determined by measurement, and the determined value is stored in the nonvolatile memory 9 or the like.
第5図は本発明におけるバーコード読取シーケンスを示
す図である。このバーコード読取シーケンスは、プログ
ラムROM10に格納されているバーコード読取プログ
ラムをCPU14で実行することによって行われる。FIG. 5 is a diagram showing a barcode reading sequence in the present invention. This barcode reading sequence is performed by the CPU 14 executing a barcode reading program stored in the program ROM 10.
■ 高密度モード用にセンサと紙面間距離を設定する。■ Set the distance between the sensor and the paper surface for high-density mode.
即ち、センサ・スポントのサイズが最小になるように、
センサと紙面間距離を設定する。That is, so that the size of the sensor spont is minimized,
Set the distance between the sensor and the paper surface.
■ バーコード・スキャンを行う。即ち、紙面上のバー
コードをマーク・センサでスキャンし、マーク・センサ
から出力されるアナログ信号をディジタル信号に変換す
る。■ Perform a barcode scan. That is, a barcode on a paper surface is scanned by a mark sensor, and an analog signal output from the mark sensor is converted into a digital signal.
■ スキャン・データを解析する。即ち、バーコード種
類の識別やコード・データの解析を行う。■ Analyze scan data. That is, the barcode type is identified and the code data is analyzed.
■ 認識OKか否かを調べる。即ち、スキャン・データ
がNW−7やJ A N, Code 3 of 9等
ノバーコード規格に適合しているか否かを調べる。■ Check whether recognition is OK. That is, it is checked whether the scan data conforms to Novacode standards such as NW-7, JAN, Code 3 of 9, etc.
YesのときにはENDとし、NOのときには■に進む
。If the answer is YES, select END, and if the answer is NO, proceed to ■.
■ 白ハー/黒ハーのモジュール幅を検出する。■ Detect the module width of white and black parts.
高密度モードでは黒ハーのモジュール幅は1.0ドット
または1.5ドットであり、低密度モードでは黒ハーの
モジュール幅は2.0ドットまたは3.0ドソトまたは
4,0ドソトである。In the high density mode, the module width of the black area is 1.0 dots or 1.5 dots, and in the low density mode, the module width of the black area is 2.0 dots, 3.0 dots, or 4.0 dots.
■ 低密度バーコードか否かを調べる。Yesのときは
■に進み、NOのときはりトライ・シーケンスを開始す
る。■ Check whether it is a low-density barcode. If YES, proceed to ■; if NO, start the try sequence.
■ 低密度モード用にセンサと紙面間距離を設定変更す
る。即ち、センサ・スポントのサイズが最小よりもピン
ぼけ状態になるように、センサと紙面間距離を設定し直
す。■ Change the setting of the distance between the sensor and the paper surface for low density mode. That is, the distance between the sensor and the paper surface is reset so that the size of the sensor spont is more out of focus than the minimum size.
■ ■と同様にして、バーコード・スキャンを行■ ■
と同様にして、スキャン・データを解析する。■ Scan the barcode in the same way as ■ ■
Analyze the scan data in the same way.
[相] ■と同様にして、認識OKか否かを調べる。[Phase] In the same manner as ■, check whether recognition is OK.
YesのときはENDとし、NOのときはりトライ・シ
ーケンスを開始する。If YES, it is set as END, and if NO, the try sequence is started.
〔発明の効果]
以上の説明から明らかなように、本発明によれば、高e
度バーコード用のマーク・センサを使用して、高密度バ
ーコードと低密度バーコードの両方を安定に読み取る2
とが可能となる。[Effect of the invention] As is clear from the above explanation, according to the present invention, high e
Stable reading of both high-density and low-density barcodes using a high-density barcode mark sensor 2
becomes possible.
第1図は本発明の原理説明図、第2図はプリンタの電気
回路の構成例を示す図、第3回はバーコードの例を示す
図、第4図は本発明におけるセンサとハーコート間の距
離を説明する図、第5図は本発明におけるバーコード読
取シーケンスを示す図である。
■・・・キャリア、2・・・高密度バーコード用のマー
ク・センサ、3・・・印字ヘンド、4・・・ハンマ・ド
ライハ、5・・・センサ回路、6・・・モータ、7・・
・モータ・トライハ、8・・・操作パネル、9・・・設
定データ格納不揮発性メモリ、10・・・プログラムR
OM、11・・・データ格納RAM、12・・・インタ
フェース、1
3・・・木体装置、
1
4・・・CPU、
1
5・・・データ
ハ′ス、
1
6・・・アドレス
・バス。Fig. 1 is a diagram explaining the principle of the present invention, Fig. 2 is a diagram showing an example of the configuration of an electric circuit of a printer, Part 3 is a diagram showing an example of a bar code, and Fig. 4 is a diagram showing the connection between the sensor and Harcourt in the present invention. FIG. 5, which is a diagram for explaining distance, is a diagram showing a barcode reading sequence in the present invention. ■...Carrier, 2...Mark sensor for high-density barcode, 3...Printing hand, 4...Hammer dryer, 5...Sensor circuit, 6...Motor, 7...・
・Motor tricycle, 8...Operation panel, 9...Setting data storage non-volatile memory, 10...Program R
OM, 11...Data storage RAM, 12...Interface, 13...Wooden device, 14...CPU, 15...Data bus, 16...Address bus.
Claims (1)
)と印字ヘッド(3)が取り付けられたキャリア(1)
及び印字ヘッド(3)とプラテン間の距離を調整するた
めの自動紙厚調整機構(20)を有するプリンタ機構部
(19)と、 紙面上のバーコードを読み取るためのバーコード読取処
理手段(18)を有するプリンタ制御部(17)とを具
備するバーコード読取り機能を備えたプリンタ装置であ
って、 バーコード読取処理手段(18)は、 (a)自動紙厚調整機構(20)を制御して、マーク・
センサ(2)と紙面間距離を最適距離に設定し、(b)
バーコード・スキャンを行い、 (c)バーコードの認識が行われなかった場合には、紙
面上のバーコードが低密度バーコードか否かを調べ、 (d)低密度バーコードの場合には、自動紙厚調整機構
(20)を制御して、マーク・センサ(2)と紙面間距
離を設定し直し、 (e)バーコード・スキャンを行う よう構成されている ことを特徴とするバーコード読取り機能を備えたプリン
タ装置。[Claims] Mark sensor (2) for reading high-density barcodes
) and print head (3) attached to the carrier (1)
and a printer mechanism section (19) having an automatic paper thickness adjustment mechanism (20) for adjusting the distance between the print head (3) and the platen, and a barcode reading processing means (18) for reading the barcode on the paper surface. ) and a printer control unit (17), the barcode reading processing means (18) (a) controlling an automatic paper thickness adjustment mechanism (20); Hey, Mark
Set the distance between the sensor (2) and the paper surface to the optimal distance, and (b)
(c) If the barcode is not recognized, check whether the barcode on the paper is a low-density barcode; (d) If it is a low-density barcode, , controlling the automatic paper thickness adjustment mechanism (20) to reset the distance between the mark sensor (2) and the paper surface; and (e) barcode scanning. Printer device with reading function.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010272A JPH03214375A (en) | 1990-01-19 | 1990-01-19 | Printer device provided with bar-code read function |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2010272A JPH03214375A (en) | 1990-01-19 | 1990-01-19 | Printer device provided with bar-code read function |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03214375A true JPH03214375A (en) | 1991-09-19 |
Family
ID=11745682
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2010272A Pending JPH03214375A (en) | 1990-01-19 | 1990-01-19 | Printer device provided with bar-code read function |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03214375A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0533265U (en) * | 1991-10-03 | 1993-04-30 | 沖電気工業株式会社 | Bar code reader for serial printer |
-
1990
- 1990-01-19 JP JP2010272A patent/JPH03214375A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0533265U (en) * | 1991-10-03 | 1993-04-30 | 沖電気工業株式会社 | Bar code reader for serial printer |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8368942B2 (en) | Image processing apparatus and its program and control method | |
| JP5012133B2 (en) | Bar code reader and program | |
| JPH03214375A (en) | Printer device provided with bar-code read function | |
| JP2002114408A (en) | Printing paper sheet detector, and printer | |
| US20090195840A1 (en) | Method of shading correction in image reader and image processing apparatus | |
| KR100260931B1 (en) | Method and apparatus for image error revision of shuttle type scanner | |
| US20080219737A1 (en) | Hand Held Printer Having A Doppler Position Sensor | |
| JPH08244246A (en) | Printer | |
| JPH07101101A (en) | Serial printer | |
| JP2026059154A (en) | Printing system | |
| JPH01218865A (en) | Printer | |
| JPH01173271A (en) | Mark reading system | |
| JP3840943B2 (en) | Braille reader | |
| JP2565008B2 (en) | Plotter device | |
| JP2001138563A (en) | Two-dimensional code printing apparatus and two-dimensional code printing apparatus adjustment method | |
| JPS60208156A (en) | Picture printer | |
| JP2025030974A (en) | Image reader | |
| JPH02278483A (en) | Bar code reader with gap adjusting mechanism | |
| JP2006065527A (en) | barcode | |
| JP3013244U (en) | Optical mark processing device | |
| JPH0220371A (en) | Recording apparatus | |
| KR100265165B1 (en) | Panel control device | |
| JPS59230361A (en) | Printer | |
| JP2704188B2 (en) | Media mark reading and printing device | |
| JPH0348961U (en) |