JPH0644222B2 - Bar code reading control method in serial printer - Google Patents

Bar code reading control method in serial printer

Info

Publication number
JPH0644222B2
JPH0644222B2 JP1015900A JP1590089A JPH0644222B2 JP H0644222 B2 JPH0644222 B2 JP H0644222B2 JP 1015900 A JP1015900 A JP 1015900A JP 1590089 A JP1590089 A JP 1590089A JP H0644222 B2 JPH0644222 B2 JP H0644222B2
Authority
JP
Japan
Prior art keywords
bar code
reading
carrier
white level
mark sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP1015900A
Other languages
Japanese (ja)
Other versions
JPH02196323A (en
Inventor
人志 浅井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP1015900A priority Critical patent/JPH0644222B2/en
Publication of JPH02196323A publication Critical patent/JPH02196323A/en
Publication of JPH0644222B2 publication Critical patent/JPH0644222B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 バーコード読取り機能をもつシリアルプリンタにおける
バーコードエンド検出によるバーコード読取り制御方法
に関し, 有効なバーコード印刷エリア以外について,バーコード
幅を計算あるいは測定することなく,無駄な読取り動作
を行わず,読取りデータを必要最小限に抑制してバーコ
ード読取りの高速化を図ることを目的とし, 印字ヘッドキャリアにマークセンサを搭載したシリアル
プリンタにおいて,マークセンサの出力信号からバーコ
ードエンドを検出するバーコードエンド検出機能を設
け, 上記印字ヘッドキャリアを移動してマークセンサにより
プリンタ用紙上のバーコードを読み取る動作を行ってい
る際に,上記バーコードエンド検出機能がバーコードエ
ンドを検出したとき直ちに印字キャリアの移動を停止
し,バーコードの読取り動作を終了するように制御す
る。
DETAILED DESCRIPTION OF THE INVENTION [Outline] The present invention relates to a bar code reading control method by bar code end detection in a serial printer having a bar code reading function, without calculating or measuring the bar code width other than the effective bar code printing area. The output signal of the mark sensor in a serial printer equipped with a mark sensor on the print head carrier is aimed at speeding up the barcode reading by suppressing the read data to the minimum necessary without performing unnecessary reading operation. A bar code end detection function that detects the bar code end from the bar code end detection function is provided when the print head carrier is moved and the bar code on the printer paper is read by the mark sensor. Immediately when the code end is detected To stop the movement of controls to end the reading operation of the bar code.

〔産業上の利用分野〕[Industrial application field]

本発明は,バーコード読取り機能をもつシリアルプリン
タにおけるバーコードエンド検出によるバーコード読取
り制御方法に関する。
The present invention relates to a bar code reading control method by bar code end detection in a serial printer having a bar code reading function.

最近,シリアルプリンタにバーコード読取り機能をもた
せ,プリンタ用紙に印刷されているバーコードの読取り
を可能にして,プリンタ用紙から用紙種別や印刷項目種
別などの印刷制御情報を入力できるようにしたものが開
発されている。本発明は,このようなシリアルプリンタ
において,バーコード幅を計算あるいは測定することな
く,バーコード読取りに要する時間を短縮するためのバ
ーコード読取り制御方法を提供する。
Recently, a serial printer has a bar code reading function that allows the bar code printed on the printer paper to be read, and print control information such as the paper type and print item type can be input from the printer paper. Being developed. The present invention provides a bar code reading control method for reducing the time required for bar code reading in such a serial printer without calculating or measuring the bar code width.

〔従来の技術〕[Conventional technology]

第4図に,従来のプリンタにおけるバーコード読取り制
御方法の概要を示す。
FIG. 4 shows an outline of a bar code reading control method in a conventional printer.

第4図において,1はプリンタ用紙,2はバーコード印
刷エリア,3は印字ヘッドのキャリア,4は印字ヘッド
キャリア3に搭載されているマークセンサである。
In FIG. 4, 1 is printer paper, 2 is a bar code print area, 3 is a print head carrier, and 4 is a mark sensor mounted on the print head carrier 3.

キャリア3は,図の左端の起動位置から右端の停止位置
まで,図示されていないキャリアモータによって連続送
りされる。マークセンサ4の読取り範囲は,キャリア3
の移動範囲の中で予め一定の大きさに設定されている。
The carrier 3 is continuously fed from a starting position at the left end of the drawing to a stopping position at the right end by a carrier motor (not shown). The reading range of the mark sensor 4 is the carrier 3
It is preset to a certain size within the moving range of.

第5図は,このような従来のプリンタにおけるバーコー
ド読取り制御の1例をフローで示したものである。
FIG. 5 is a flow chart showing an example of bar code reading control in such a conventional printer.

簡単に説明すると,では第5図の読取り範囲およびキ
ャリアの停止位置を設定する。
In brief, the reading range and carrier stop position shown in FIG. 5 are set.

ではキャリアの移動を開始し,で読取り範囲の開始
位置に達するのを監視し,開始位置に達するとでマー
クセンサの読取りモードをセットする。
Then, the movement of the carrier is started, and it is monitored that the start position of the reading range is reached by, and when the start position is reached, the reading mode of the mark sensor is set.

読取りモードがセットされると,バーコードの読取り状
態となり,のキャリア割込み処理によって,キャリア
アドレスが更新されるたびにマークセンサ出力の読取り
データを取り込み,順次バッファにセットする。キャリ
ア割込みは、キャリア移動中一定のタイミングで発生す
るので,バッファには,一定の区間ごとにサンプリング
されたバーコードデータが読み込まれる。
When the reading mode is set, the reading state of the bar code is entered, and by the carrier interrupt processing of, each time the carrier address is updated, the read data of the mark sensor output is fetched and sequentially set in the buffer. Since the carrier interrupt is generated at a constant timing during the movement of the carrier, the bar code data sampled for each constant section is read into the buffer.

次に,でキャリアが停止位置に達したことを検出する
と,マークセンサの読取りモードをリセットし,でバ
ッファに読み込んだバーコードデータを解析して処理可
能な内部コード形式のデータに変換し,終了する。
Next, when it is detected that the carrier has reached the stop position, the reading mode of the mark sensor is reset, the barcode data read in the buffer is analyzed and converted into processable internal code format data, and the processing ends. To do.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

従来のプリンタにおけるバーコード読取り制御方式で
は,マークセンサ4によるバーコード読取りがバーコー
ドの実際の長さに関係なく一定の範囲について行われて
いたため,第4図の例のようにバーコード印刷エリア2
がマークセンサ4の読取り範囲の一部に局限されていて
も,バーコード印刷エリア2を越えて読取りを続け,無
駄な読取り動作を行っていた。このため読取り時間が長
くなるとともに読取りデータ量が増大し,また読取りデ
ータの解析処理時間も長くなるという問題があった。
In the conventional bar code reading control method in the printer, the bar code is read by the mark sensor 4 within a certain range regardless of the actual length of the bar code. Two
However, even if the area is limited to a part of the reading range of the mark sensor 4, the reading is continued beyond the bar code printing area 2 and a useless reading operation is performed. For this reason, there has been a problem that the read time becomes long, the read data amount increases, and the read data analysis processing time also becomes long.

またバーコード印刷エリアでのみの読取りを行おうとす
る場合は,バーコード幅を計算あるいは測定してホスト
から指定する必要があった。
Also, when trying to read only in the barcode printing area, it was necessary to calculate or measure the barcode width and specify it from the host.

本発明は,有効なバーコード印刷エリア以外についてバ
ーコード幅を計算あるいは測定することなく,無駄な読
取り動作を行わず,読取りデータを必要最小限に抑制し
てバーコード読取りの高速化を図ることを目的とする。
The present invention aims at speeding up bar code reading without calculating or measuring the bar code width in areas other than the effective bar code printing area, performing no unnecessary reading operation, and suppressing the read data to the necessary minimum. With the goal.

〔課題を解決するための手段〕[Means for Solving the Problems]

本発明は,マークセンサから出力される読取りデータか
らバーコードのエンド検出を行い,バーコードのエンド
が検出された場合キャリアの移動を直ちに停止し,バー
コードの読取り動作を終了させるようにして課題を解決
した。
An object of the present invention is to detect the end of a bar code from the read data output from the mark sensor, immediately stop the movement of the carrier when the end of the bar code is detected, and end the bar code reading operation. Solved.

第1図は,本発明の原理的構成図である。FIG. 1 is a principle block diagram of the present invention.

第1図において, 1は,プリンタ用紙である。In FIG. 1, 1 is a printer sheet.

2は,バーコード印刷エリアである。Reference numeral 2 is a bar code print area.

3は,印字ヘッドのキャリアである。3 is a carrier of the print head.

4は,バーコードを読取るマークセンサであり,キャリ
ア3上に搭載されている。
Reference numeral 4 is a mark sensor for reading a bar code, which is mounted on the carrier 3.

5は,バーコード読取り制御部であり,ソフトウエアに
よって実現されている。
A bar code reading control unit 5 is realized by software.

6は,マークセンサ4の読取りモードを設定する読取り
モードフラグである。
A reading mode flag 6 sets the reading mode of the mark sensor 4.

7は,バーコード読取り開始前にプリンタ用紙1の地色
の白を読取り,白レベルを決定する白レベル決定機能で
ある。
Reference numeral 7 is a white level determination function for determining the white level by reading the white background color of the printer paper 1 before the bar code reading is started.

8は,白レベル決定機能が設定した白レベルデータであ
る。
Reference numeral 8 is white level data set by the white level determination function.

9は,バーコードエンド検出機能であり,バーコード中
に存在する白レベル区間の最大値よりも十分に大きい予
め定められた幅以上の白レベル区間を検出したときバー
コードエンドと判定する。バーコードエンドを検出する
と,キャリア3の停止制御を行う。
Reference numeral 9 denotes a bar code end detection function, which determines the bar code end when a white level section having a predetermined width or more, which is sufficiently larger than the maximum value of the white level section existing in the bar code, is detected. When the bar code end is detected, the carrier 3 is stopped and controlled.

10は,バーコードデータ読取り機能である。Reference numeral 10 is a bar code data reading function.

11は,バーコード読取りデータを格納するバッファで
ある。
Reference numeral 11 is a buffer for storing the barcode reading data.

12は,バーコードデータを内部コード形式のデータに
変換するバーコード解析部である。
Reference numeral 12 is a bar code analysis unit that converts the bar code data into data in the internal code format.

またプリンタ用紙1において,sはマークセンサ4の読
取り開始位置,eはキャリア停止位置の初期値であり,
e′は本発明によるバーコードエンド検出により変更さ
れたキャリア停止位置である。またaは白レベル検出,
bはバーコード検出,cはバーコードエンド検出の各区
間を表す。位置sとeは,それぞれバーコード読取り制
御の開始時に初期設定される。
In the printer paper 1, s is the reading start position of the mark sensor 4, and e is the initial value of the carrier stop position,
e'is the carrier stop position changed by the barcode end detection according to the present invention. Also, a is the white level detection,
Reference symbol b indicates bar code detection, and reference symbol c indicates bar code end detection. Positions s and e are respectively initialized at the start of bar code reading control.

〔作用〕 第1図に示された原理的構成において,キャリア3が左
端から右方に移動されるとき,読取り開始位置sに達す
ると,読取りモードフラグ6に読取りモードを設定し,
バーコード読取り制御部5の白レベル決定機能7により
区間aで白レベルを検出して,白レベルデータ8を設定
する。
[Operation] In the principle configuration shown in FIG. 1, when the carrier 3 is moved from the left end to the right and reaches the reading start position s, the reading mode flag 6 is set to the reading mode,
The white level determination function 7 of the bar code reading control unit 5 detects the white level in the section a and sets the white level data 8.

続いてバーコードデータ読込み機能10は,区間bでバ
ーコードを読取りそのデータをバッファ11に読込む。
またこの間バーコードエンド検出機能9は,白レベルが
予め定められた幅以上続くかどうかを監視し,白レベル
が予め定められた幅以上続く区間cでバーコードエンド
を検出する。
Subsequently, the barcode data reading function 10 reads the barcode in the section b and reads the data into the buffer 11.
Further, during this period, the bar code end detection function 9 monitors whether the white level continues for a predetermined width or more, and detects the bar code end in the section c in which the white level continues for a predetermined width or more.

バーコードエンド検出機能9は,バーコードエンドを検
出すると,キャリア停止位置をeからe′に変更し,直
ちに停止させるとともに,読取りモードフラグをリセッ
トする。
When the bar code end detection function 9 detects the bar code end, the bar code end detection function 9 changes the carrier stop position from e to e ', and immediately stops and resets the reading mode flag.

この結果,バーコード読込み機能10によるバッファ1
1へのバーコードデータ読込みが停止され,バッファ1
1には,バーコード検出区間bとバーコードエンド検出
区間cにおいて,読取られたデータのみが格納される。
As a result, the buffer 1 by the barcode reading function 10
Reading of barcode data to 1 is stopped, and buffer 1
1 stores only the data read in the bar code detection section b and the bar code end detection section c.

したがってバーコード解析部12は,バーコード印刷エ
リア2内のほぼ有効なデータのみを対象に解析すればよ
く,バーコード印刷エリア2が比較的小さい場合には,
処理時間が大幅に短縮できる。
Therefore, the barcode analysis unit 12 only needs to analyze almost valid data in the barcode printing area 2, and when the barcode printing area 2 is relatively small,
Processing time can be greatly reduced.

〔実施例〕〔Example〕

第2図は本発明の1実施例によるプリンタ制御回路の構
成図であり,第3図はそのバーコード読取り制御のフロ
ー図である。
FIG. 2 is a block diagram of a printer control circuit according to one embodiment of the present invention, and FIG. 3 is a flow chart of its bar code reading control.

第2図において, 20は,システムバスである。In FIG. 2, 20 is a system bus.

21は,CPUである。21 is a CPU.

22は,プリンタ制御用の各種プログラムや制御データ
が格納されているROMである。特に本発明に関連する
バーコード読取り制御ルーチンとキャリア割込み処理ル
ーチンとをそなえている。(詳細は第3図のフローによ
り後述)。
A ROM 22 stores various programs and control data for controlling the printer. In particular, it has a bar code reading control routine and a carrier interrupt processing routine related to the present invention. (Details will be described later according to the flow of FIG. 3).

23は,RAMでありバーコード読取りデータを読込む
バッファや,キャリアアドレスカウンタ,読取り開始位
置レジスタ,キャリア停止位置レジスタ,白レベルレジ
スタ,読取りモードフラグ等の作業領域が設けられてい
る。
A RAM 23 is provided with a buffer for reading bar code read data, a work area such as a carrier address counter, a read start position register, a carrier stop position register, a white level register, and a read mode flag.

24は,バーコードを読取るためのマークセンサであ
る。
Reference numeral 24 is a mark sensor for reading a bar code.

25は,マークセンサ24の出力のアナログ信号を増幅
するアンプである。
An amplifier 25 amplifies the analog signal output from the mark sensor 24.

26は,アナログ信号をデジタル信号に変換するA/D
コンバータである。
26 is an A / D that converts an analog signal into a digital signal
It is a converter.

27は,キャリアの送り制御を行うキャリアモータであ
る。
Reference numeral 27 is a carrier motor that controls the feeding of the carrier.

28は,モータドライバである。28 is a motor driver.

29は,モータドライバ28に駆動データを転送するた
めのI/Oポートである。
Reference numeral 29 is an I / O port for transferring drive data to the motor driver 28.

動作において,プリンタがプリンタ用紙上のバーコード
読取りを行うとき,CPU21は,ROM22のバーコ
ード読取り制御ルーチンやキャリア割込み処理ルーチン
等を実行しキャリアモータ27の駆動制御,読取りモー
ドフラグのセット/クリア,マークセンサ24の出力か
らの白レベルの検出と白レベルデータレジスタへの設
定,バーコード読取りデータのバッファへの格納,バー
コードエンドの検出とキャリアモータ27に対する停止
制御などを行う。以下,第3図のフローを用いて第2図
の回路の詳細な動作を説明する。
In operation, when the printer reads the bar code on the printer paper, the CPU 21 executes the bar code reading control routine of the ROM 22, the carrier interrupt processing routine, etc. to drive the carrier motor 27, set / clear the reading mode flag, It detects the white level from the output of the mark sensor 24, sets it in the white level data register, stores the bar code read data in the buffer, detects the bar code end and stops the carrier motor 27. The detailed operation of the circuit of FIG. 2 will be described below with reference to the flow of FIG.

第3図において,(a)はバーコード読取り制御ルーチ
ンのフロー,そして破線ブロック内の(b)はキャリア
割り込み処理ルーチンのフローである。
In FIG. 3, (a) is the flow of the bar code reading control routine, and (b) in the broken line block is the flow of the carrier interrupt processing routine.

バーコード読取りを行う場合,(a)のバーコード読取
り制御ルーチンが起動される。
When reading a bar code, the bar code reading control routine of (a) is started.

まずで読取り範囲とキャリア停止位置とを初期設定す
る。読取り範囲は読取り開始位置とキャリア停止位置と
によって規定され,それぞれRAM23内の該当するレ
ジスタに設定される。この場合,キャリア停止位置の初
期値としては最大の値がデフォルト値として設定され,
後にバーコードエンドが検出されたとき,その検出位置
に応じた小さい値に変更される。
First, the reading range and the carrier stop position are initialized. The reading range is defined by the reading start position and the carrier stop position, and is set in the corresponding registers in the RAM 23. In this case, the maximum value of the carrier stop position is set as the default value,
When the barcode end is detected later, the value is changed to a smaller value according to the detected position.

次にでキャリア移動を開始する。キャリア移動制御は
図示されていない他のルーチンによって行われ,制御デ
ータがI/Oポート29を介してモータドライバ28に
設定され,キャリアモータ27が駆動される。
Then, the carrier transfer is started. The carrier movement control is performed by another routine (not shown), control data is set in the motor driver 28 via the I / O port 29, and the carrier motor 27 is driven.

では読取り開始位置を監視し,読取り開始位置に達し
たときでRAM23内の読取りモードフラグに読取り
モードをセットする。キャリア移動開始から,読取りモ
ードをセットするまでのキャリア割込み処理はキャリア
アドレスを更新するだけであり,読取りモードがセット
されると,(b)のキャリア割込み処理ルーチンが実行
可能となり,キャリア割込み(モータドライバ28を制
御するタイミングで生じる)があると,まずでRAM
23内のキャリアアドレスカウンタを更新し,′でア
ドレスエンドを検出してエンドでなければで白レベル
が決定されているかどうかをチェックする。またエンド
であれば割込み処理を終了する。白レベルが未決定,つ
まりRAM23内の白レベルレジスタに白レベルデータ
が設定されていない場合には,で白レベル決定処理を
行う。
Then, the reading start position is monitored, and when the reading start position is reached, the reading mode is set in the reading mode flag in the RAM 23. The carrier interrupt processing from the start of carrier movement to the setting of the read mode only updates the carrier address. When the read mode is set, the carrier interrupt processing routine of (b) becomes executable and the carrier interrupt (motor (Occurs at the timing of controlling the driver 28), first the RAM
The carrier address counter in 23 is updated, the address end is detected by ′, and if it is not the end, it is checked whether the white level is determined. If it is the end, the interrupt processing is ended. When the white level is not determined, that is, when the white level data is not set in the white level register in the RAM 23, the white level determination process is performed with.

この白レベル決定処理では,マークセンサ24でバーコ
ード開始前の白領域を読み,その読取りデータ出力の連
続する数回分の値を平均して,その結果値を白レベルと
する。
In this white level determination processing, the mark sensor 24 reads the white area before the start of the bar code, averages several consecutive values of the read data output, and sets the resulting value as the white level.

一方,で白レベルが決定済であった場合には,さらに
でバーコードの読取りを開始しているかどうかをチェ
クし,まだ開始していない場合には,マークセンサ24
の出力データ値を監視し,白レベルよりも大きい値を検
出したときにバーコードの読取りが開始されたものと認
識して,読取りデータをでRAM23のバッファに格
納する。
On the other hand, if the white level has already been determined in step 1, it is checked whether or not the reading of the bar code has been started. If it has not started, the mark sensor 24
Of the output data is monitored, and when a value larger than the white level is detected, it is recognized that the reading of the barcode has started, and the read data is stored in the buffer of the RAM 23.

またでバーコードの読取りが開始されていた場合に
は,でバーコードエンドが認識されいたかどうかをチ
ェックし,認識されていた場合には割込みを終了する
が,未認識の場合にはマークセンサ24の出力データ値
が,0.3インチ幅以上白レベルが連続していたかどうか
をチェックし,白レベルが0.3インチ幅以上連続してい
なければ,バーコードの途中と判定してで読取りデー
タをバッファに格納し,そして白レベルが0.3インチ幅
以上連続していた場合には,バーコードエンドと判定し
て,でキャリア停止位置を変更するため,RAM23
内のキャリア停止位置レジスタの内容を所定の値に更新
し,割込みを終了し,(a)のルーチンに制御を戻す。
If the reading of the bar code is started at, the barcode end is checked to see if it is recognized. If it is recognized, the interrupt ends, but if it is not recognized, the mark sensor is detected. It is checked whether the output data value of 24 has a continuous white level of 0.3 inch width or more. If the white level is not continuous of 0.3 inch width or more, it is determined that the barcode is in the middle and the read data is buffered. If the white level is stored continuously for 0.3 inch width or more, it is judged as the bar code end, and the carrier stop position is changed by the RAM 23.
The content of the carrier stop position register in is updated to a predetermined value, the interrupt is ended, and the control is returned to the routine of (a).

(a)のでは,更新されたキャリア停止位置に基づき
キャリア移動を監視し,キャリア停止位置にきたとき,
で読取りモードフラグをリセットし,でバッファに
格納されている読取りデータを解析して終了する。
In (a), the carrier movement is monitored based on the updated carrier stop position, and when the carrier stop position is reached,
Resets the read mode flag with, and analyzes the read data stored in the buffer with and ends.

〔発明の効果〕〔The invention's effect〕

本発明は,シリアルプリンタがバーコード読取り動作を
行うとき,プリンタ用紙上でバーコードが実際に存在し
ている領域を検出して読取りを行い,バーコードが終わ
った直後にキャリアを停止させてバーコード読取りを終
了するため,バーコード印刷エリア,すなわちバーコー
ド幅を意識しないで有効なバーコード印刷エリアのみを
読取ることができる。また読取りデータ量が少なくて済
み,効率的にバーコードの解析処理を行うことができ,
動作時間を短縮することができる。
According to the present invention, when the serial printer performs the barcode reading operation, it detects the area where the barcode actually exists on the printer paper and reads it, and immediately after the barcode is finished, the carrier is stopped and the barcode is stopped. Since the code reading is completed, it is possible to read only the effective bar code printing area without paying attention to the bar code width. Also, the amount of read data is small, and the barcode analysis process can be performed efficiently.
The operating time can be shortened.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明の原理的構成図,第2図は本発明の1実
施例によるプリンタ制御回路の構成図,第3図は本発明
の1実施例によるバーコード読取り制御のフロー図,第
4図は従来のプリンタにおけるバーコード読取り制御方
式の概要図,第5図は従来のプリンタにおけるバーコー
ド読取り制御のフロー図である。 第1図中, 1:プリンタ用紙 2:バーコード印刷エリア 3:印字ヘッドのキャリア 4:マークセンサ 5:バーコード読取り制御部 11:バッファ 12:バーコード解析部
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram of a printer control circuit according to one embodiment of the present invention, and FIG. 3 is a flow chart of bar code reading control according to one embodiment of the present invention. FIG. 4 is a schematic diagram of a bar code reading control system in a conventional printer, and FIG. 5 is a flow chart of bar code reading control in a conventional printer. In FIG. 1, 1: Printer paper 2: Bar code printing area 3: Print head carrier 4: Mark sensor 5: Bar code reading control section 11: Buffer 12: Bar code analysis section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】印字ヘッドキャリアにマークセンサを搭載
したシリアルプリンタにおいて,印字ヘッドキャリア移
動中のマークセンサの出力信号からバーコードの読取り
開始後に所定幅以上の連続白レベル区間を検出してバー
コードエンドを判定するバーコードエンド検出機能(9)
を用い, 上記印字ヘッドキャリアを移動してマークセンサにより
プリンタ用紙上のバーコードを読取る動作を行っている
際に,上記バーコードエンド検出機能(9)がハーコード
エンドを検出したとき直ちに印字ヘッドキャリアの移動
を停止し,バーコードの読取り動作を終了することを特
徴とするシリアルプリンタにおけるバーコード読取り制
御方法。
1. A serial printer having a mark sensor mounted on a print head carrier, wherein a continuous white level section of a predetermined width or more is detected from the output signal of the mark sensor while the print head carrier is moving to detect a continuous white level section. Bar code end detection function to judge the end (9)
When the bar code end detection function (9) detects the harcode end while moving the print head carrier and reading the bar code on the printer paper using the mark sensor, the print head is immediately A bar code reading control method in a serial printer, characterized in that the movement of the carrier is stopped and the bar code reading operation is ended.
JP1015900A 1989-01-25 1989-01-25 Bar code reading control method in serial printer Expired - Lifetime JPH0644222B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1015900A JPH0644222B2 (en) 1989-01-25 1989-01-25 Bar code reading control method in serial printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1015900A JPH0644222B2 (en) 1989-01-25 1989-01-25 Bar code reading control method in serial printer

Publications (2)

Publication Number Publication Date
JPH02196323A JPH02196323A (en) 1990-08-02
JPH0644222B2 true JPH0644222B2 (en) 1994-06-08

Family

ID=11901655

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1015900A Expired - Lifetime JPH0644222B2 (en) 1989-01-25 1989-01-25 Bar code reading control method in serial printer

Country Status (1)

Country Link
JP (1) JPH0644222B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4661717B2 (en) * 2006-07-25 2011-03-30 セイコーエプソン株式会社 Printing apparatus and dot formation determination method
KR100941415B1 (en) * 2007-10-23 2010-02-10 삼성전자주식회사 Liquid barcode and liquid barcode reader

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5999748U (en) * 1982-12-23 1984-07-05 アルプス電気株式会社 Printer by code input
JPS6194940U (en) * 1984-11-28 1986-06-19
JPS62271192A (en) * 1986-05-20 1987-11-25 Pfu Ltd Serial printer with bar code reading function

Also Published As

Publication number Publication date
JPH02196323A (en) 1990-08-02

Similar Documents

Publication Publication Date Title
US6592198B2 (en) Recording apparatus with control of a recording medium conveying mechanism
JPH0644222B2 (en) Bar code reading control method in serial printer
US5169249A (en) Printer control device and method thereof
US5128858A (en) Paper feed control device for a printer and method for controlling same
JPH0421482A (en) Printer with paper width detector
JPH0422668A (en) Printer fitted with paper width detector
JPH05210470A (en) Printer and method for processing its type selection
JPH0825764A (en) Printer
JP2000006483A (en) Printer, print command generation apparatus and printing system
JPS61286182A (en) Printing-controlling system
JP2784858B2 (en) Serial printer
JPH05147322A (en) Control method of space of serial printer
JP4529324B2 (en) Continuous paper printer
JP3029747B2 (en) Printer
JPH02190372A (en) Data prefetching control system for printer
JP2690759B2 (en) Recording device
JPH0422667A (en) Printer fitted with paper width detector
JPH0557884A (en) Ink jet printer
JPS62196167A (en) Printer
JPH0357484Y2 (en)
JPS59135180A (en) Printer
JPH0313989B2 (en)
JPH04325272A (en) Printing control apparatus in printer
JPH05270115A (en) Printer with automatic reduction function
JPH08338791A (en) Work instruction sheet issuing unit