Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0772902B2 - Bar code printing control method - Google Patents
[go: Go Back, main page]

JPH0772902B2 - Bar code printing control method - Google Patents

Bar code printing control method

Info

Publication number
JPH0772902B2
JPH0772902B2 JP2021750A JP2175090A JPH0772902B2 JP H0772902 B2 JPH0772902 B2 JP H0772902B2 JP 2021750 A JP2021750 A JP 2021750A JP 2175090 A JP2175090 A JP 2175090A JP H0772902 B2 JPH0772902 B2 JP H0772902B2
Authority
JP
Japan
Prior art keywords
black
dot
printing
bar code
bar
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2021750A
Other languages
Japanese (ja)
Other versions
JPH03226885A (en
Inventor
正剛 牧
彰彦 稲本
康一 南
Original Assignee
株式会社ピーエフユー
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 株式会社ピーエフユー filed Critical 株式会社ピーエフユー
Priority to JP2021750A priority Critical patent/JPH0772902B2/en
Publication of JPH03226885A publication Critical patent/JPH03226885A/en
Publication of JPH0772902B2 publication Critical patent/JPH0772902B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Printers Characterized By Their Purpose (AREA)

Description

【発明の詳細な説明】 〔概要〕 ドット・マトリックス方式のプリンタ装置によるバーコ
ード印刷制御方法の改良に関し、 バーコード印刷時の黒白比を正確にすることが出来るバ
ーコード印刷制御方法を提供することを目的とし、 ドット・マトリックス方式のプリンタ装置を使用し、バ
ーコードを2回に分けて印字するバーコード印刷制御方
法であって、 1回目の印字においては、正規の黒白比になる黒バー幅
より補正分だけ細く黒バーを印字し、 次に、用紙上に印字されたバーコードをバーコード・セ
ンサでスキャンし、バーコード・センサの検出波形より
黒バー幅を求め、 2回目の印字においては、バーコード・センサの検出波
形より求めた黒バー幅と正規の黒白比になる黒バー幅と
の差を求め、求めた差を参照して残りの黒バー部分の印
字を行う ことを構成とするものである。
DETAILED DESCRIPTION OF THE INVENTION [Outline] The present invention relates to improvement of a barcode printing control method by a dot-matrix printer device, and to provide a barcode printing control method capable of making an accurate black-white ratio during barcode printing. A bar code printing control method for printing a bar code in two steps by using a dot matrix type printer device for the purpose of: a black bar width that provides a regular black-white ratio in the first printing. Print a black bar thinner than the correction, then scan the bar code printed on the paper with a bar code sensor, find the black bar width from the waveform detected by the bar code sensor, and then in the second printing Is the difference between the black bar width obtained from the waveform detected by the bar code sensor and the black bar width that makes the regular black-white ratio. Is configured to be printed.

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

本発明は、ドット・マトリックス方式のプリンタ装置に
よるバーコード印刷制御方法の改良に関するものであ
る。
The present invention relates to an improvement of a barcode printing control method by a dot matrix type printer device.

〔従来の技術〕[Conventional technology]

第8図はドット・マトリックス方式のプリンタ装置によ
る従来のバーコード印刷を説明する図である。従来の技
術においては、正規の黒バー幅はドット・ピッチ(例え
ば180分の1インチ)のn倍(nは整数)とされてい
る。印字すべきバーコードのドット・パターンはパター
ン・バッファに格納されており、例えば第1番目のドッ
ト・パルスが立ち上がると、パターン・バッファの第1
番目のドット列が印字され、第2番目のドット・パルス
が立ち上がると、パターン・バッファの第2番目のドッ
ト列が印字される。以下、同様な処理が行われる。
FIG. 8 is a diagram for explaining conventional bar code printing by a dot matrix type printer device. In the prior art, the regular black bar width is n times the dot pitch (for example, 1/180 inch) (n is an integer). The dot pattern of the barcode to be printed is stored in the pattern buffer. For example, when the first dot pulse rises, the first pattern in the pattern buffer
The second dot row is printed, and when the second dot pulse rises, the second dot row in the pattern buffer is printed. Hereinafter, similar processing is performed.

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

従来のバーコード印刷方式においては、印字タイミング
間隔は一定であるので、1個の黒バーを構成するn個の
黒ドット列を印字すると、印字ピンのピン径やインク・
リボンのインクのにじみ等により、用紙上に実際に印字
された黒バーは正規の黒バー幅より広くなってしまう。
また、黒バーの正規のバー幅が例えば1.7ドットと言う
ようなものもあるが、従来のバーコード印字方式ではバ
ー幅が1.7ドットと言うような黒バーを印字することが
できない。
In the conventional bar code printing method, the print timing interval is constant, so when printing n black dot rows that make up one black bar, the pin diameter of the printing pin and the ink
Due to ink bleeding on the ribbon, the black bar actually printed on the paper becomes wider than the regular black bar width.
Further, there is a black bar having a regular bar width of 1.7 dots, for example, but the conventional bar code printing method cannot print a black bar having a bar width of 1.7 dots.

本発明は、この点に鑑みで創作されたものであって、バ
ーコード印刷時の黒白比を正確にすることが出来るバー
コード印刷制御方法を提供することを目的としている。
The present invention was created in view of this point, and an object of the present invention is to provide a barcode printing control method that can make the black-white ratio at the time of barcode printing accurate.

〔課題を解決するための方法〕[Methods for solving problems]

第1図は本発明の原理説明図である。本発明において
は、ドット・マトリックス方式のプリンタ装置を使用
し、バーコードを2回に分けて印字する。
FIG. 1 is an explanatory view of the principle of the present invention. In the present invention, a dot-matrix printer is used to print a barcode in two steps.

1回目の印字においては、正規の黒白比になる黒バー幅
より補正分(例えば1ドット分)だけ細く黒バーを印字
する。第1回目のバーコード印字を行った後、用紙上に
印字されたバーコードをバーコード・センサでスキャン
し、バーコード・センサの検出波形より黒バー幅を求め
る。2回目の印字においては、バーコード・センサの検
出波形より求めた黒バー幅と正規の黒白比になる黒バー
幅との差を求め、求めた差を参照して残りの黒バー部分
の印字を行う。
In the first printing, the black bar is printed with a correction amount (for example, one dot) smaller than the black bar width that provides the regular black-white ratio. After the first bar code printing, the bar code printed on the paper is scanned by the bar code sensor, and the black bar width is obtained from the waveform detected by the bar code sensor. In the second printing, the difference between the black bar width obtained from the detection waveform of the bar code sensor and the black bar width with the normal black-white ratio is obtained, and the remaining black bar portion is printed by referring to the obtained difference. I do.

〔実施例〕〔Example〕

第2図はドット・パルスの立上りから実際の印字までの
時間を説明する図である。同図において、1は印字処理
開始の契機を与えるドット・パルス、2は印字位置をそ
れぞれ示す。
FIG. 2 is a diagram for explaining the time from the rise of the dot pulse to the actual printing. In the figure, 1 is a dot pulse that gives a trigger for the start of printing processing, and 2 is a printing position.

ドット・パルスの立上りによって印字処理開始の契機が
与えられ、或る時間Tが経過した後に実際の印字がなさ
れることになる。時間Tは、調整時間T1,ピン(ハンマ
ー・マグネット)通電時間T2およびピンが印字するため
の機械的な遅れ時間T3から成る。プリンタ制御部は調整
時間T1をコントロールすることが出来る。ピン通電時間
T2および機械的な遅れ時間T3は、印字ヘッドの仕様によ
って固定的に定められる。調整時間T1は、印字タイミン
グ微調整用タイマの値によって定められ、この値は可変
である。
The rising of the dot pulse gives an opportunity to start the printing process, and the actual printing is performed after a certain time T has elapsed. The time T is composed of an adjustment time T1, a pin (hammer magnet) energization time T2, and a mechanical delay time T3 for the pin to print. The printer controller can control the adjustment time T1. Pin energization time
T2 and mechanical delay time T3 are fixedly determined by the specifications of the print head. The adjustment time T1 is determined by the value of the print timing fine adjustment timer, and this value is variable.

第3図は編集データ格納エリアのドット・パターンの印
字を説明する図である。同図において、3は編集された
ドット・パターンが格納される編集データ格納エリア、
DPはデータ・ポインタをそれぞれ示す。
FIG. 3 is a diagram for explaining the printing of dot patterns in the edit data storage area. In the figure, 3 is an edit data storage area in which the edited dot pattern is stored,
DP indicates a data pointer, respectively.

編集データ格納エリア3内のデータは、1列ごとに出力
されるようにされ、例えばP2の列については、P21,P22,
…,P27の各ドットのデータについて同時にピン駆動され
るようにされる。ドット・パルス1の立上りごとに、正
方向印字であれば順次にP1列,P2列,…,P7列と出力さ
れ、逆方向印字であれはP7列,P6列,…,P1列と出力され
ることになる。データ・ポインタDPは読み出すべきドッ
ト列を指定するものであり、読み出されたドット列の印
字が行われると、データ・ポインタDPの値は+1され
る。
The data in the edit data storage area 3 is output for each column. For example, for the column P2, P21, P22,
The pin data is driven at the same time for each dot data of P27. Each time the dot pulse 1 rises, if it is forward printing, it will be output as P1 row, P2 row, ..., P7 row sequentially, and if it is backward printing, it will be output as P7 row, P6 row, ... Will be. The data pointer DP designates the dot row to be read, and when the read dot row is printed, the value of the data pointer DP is incremented by one.

第4図はプリンタの電気回路の例の示すブロック図であ
る。同図において、5はCPU、6はアドレス・バス、7
はデータ・バス、8はパターン・バッファ、9はプログ
ラム格納ROM、10はデータ格納RAM、11はコンソール・パ
ネル、12はインタフェース、13は本体装置、14はモータ
・ドライバ、15はハンマ・ドライバ、16はセンサ・ドラ
イバ、17は改行用モータ、18はキャリア移動用モータ、
19はセンサ、20はキャリア、21はバーコード・センサ、
23は印字ヘッド、24はインク・リボン・カセットをそれ
ぞれ示している。
FIG. 4 is a block diagram showing an example of an electric circuit of the printer. In the figure, 5 is a CPU, 6 is an address bus, and 7
Is a data bus, 8 is a pattern buffer, 9 is a program storage ROM, 10 is a data storage RAM, 11 is a console panel, 12 is an interface, 13 is a main unit, 14 is a motor driver, 15 is a hammer driver, 16 is a sensor driver, 17 is a line feed motor, 18 is a carrier movement motor,
19 is a sensor, 20 is a carrier, 21 is a bar code sensor,
Reference numeral 23 is a print head, and 24 is an ink ribbon cassette.

CPU5は、プログラム格納ROM9に格納されているプログラ
ムを実行する。CPU5は、アドレス・バス6およびデータ
・バス7を介してレジスタやメモリにデータを書き込ん
だり、レジスタやメモリのデータを読み込んだりする。
図示しないが、CPU5は内部にタイマを有しており、この
タイマが印字タイミング微調整用タイマとして使用され
る。
The CPU 5 executes the program stored in the program storage ROM 9. The CPU 5 writes data to a register or memory or reads data from a register or memory via the address bus 6 and the data bus 7.
Although not shown, the CPU 5 has a timer inside, and this timer is used as a print timing fine adjustment timer.

パターン・バッファ8は編集データ格納エリア3と同一
物を示し、この中には印字ヘッド23に送るべき1行分の
ドット・マトリックス・データが格納されている。プロ
グラム格納ROM9の中には、各種のプログラムが格納され
ている。データ格納RAM10の中には、各種のバッファや
作業領域等が存在する。コンソール・パネル11上には各
種のスイッチが液晶ディスプレイ等が存在する。なお、
図示しないが、文字のドット・パターンやバーコードの
ドット・パターンを格納するCG用メモリが存在すること
は当然である。
The pattern buffer 8 is the same as the edit data storage area 3, and one row of dot matrix data to be sent to the print head 23 is stored therein. Various programs are stored in the program storage ROM 9. The data storage RAM 10 has various buffers, work areas, and the like. Various switches are provided on the console panel 11 such as a liquid crystal display. In addition,
Although not shown, it goes without saying that there is a CG memory for storing character dot patterns and barcode dot patterns.

インタフェース12は本体装置13との通信を行う部分であ
る。本体装置13から印刷コマンドが送られてくると、イ
ンタフェース12は印刷コマンドをデータ格納RAM10のバ
ッファに格納し、CPU5に割込みをかける。この割込みを
受け取ると、CPU5は印刷コマンドに基づく文字や記号,
図形等を印刷するための処理を行う。
The interface 12 is a part that communicates with the main body device 13. When the print command is sent from the main body device 13, the interface 12 stores the print command in the buffer of the data storage RAM 10 and interrupts the CPU 5. When this interrupt is received, the CPU5 causes the characters and symbols based on the print command,
Performs processing for printing graphics and the like.

モータ・ドライバ14は、改行用モータ17やキャリア移動
用モータ18に送るべき信号を増幅するものである。ハン
マ・ドライバ15は、印字ヘッド24に送るべきハンマ駆動
電流を増幅するものである。センサ・ドライバ16は、セ
ンサ19から送られてくる信号を増幅したり、波形整形し
たりするものである。バーコード・センサ21から出力さ
れる信号もセンサ・ドライバ16に入力される。
The motor driver 14 amplifies a signal to be sent to the line feed motor 17 and the carrier moving motor 18. The hammer driver 15 amplifies a hammer driving current to be sent to the print head 24. The sensor driver 16 amplifies the signal sent from the sensor 19 and shapes the waveform. The signal output from the barcode sensor 21 is also input to the sensor driver 16.

キャリア20には、印字ヘッド23とバーコード・センサ21
が固着され、またインク・リボン・カセット24が着脱自
在に取り付けられている。キャリア移動用モータ18が回
転すると、キャリア20は左右に走行する。
The carrier 20 includes a print head 23 and a bar code sensor 21.
Is fixed, and the ink ribbon cassette 24 is detachably attached. When the carrier moving motor 18 rotates, the carrier 20 runs left and right.

第5図は本発明における1回目印字と2回目印字を説明
する図である。パターン・バッファ8の中に4個の黒ド
ット列よりなる黒バーが格納されていると仮定する。1
回目の印字では、第1番目の黒ドット列,第2番目の黒
ドット列,第3番目の黒ドット列が印字される。即ち、
第1番目のドット・パルスが立ち上がるとパターン・バ
ッファの第1番目の黒ドット列が読み出され第1番目の
黒ドット列が第1番目のドット・パルスの立上りからT
時間後に印字ピンにより印字され、第2番目のドット・
パルスが立ち上がるとパターン・バッファの第2番目の
黒ドット列が読み出され第2番目の黒ドット列が第2番
目のドット・パルスの立上りからT時間後に印字ピンに
より印字され、第3番目のドット・パルスが立ち上がる
とパターン・バッファの第3番目の黒ドット列が読み出
され第3番目の黒ドット列が第3番目のドット・パルス
の立上りからT時間後に印字ピンにより印字される。
FIG. 5 is a diagram for explaining the first printing and the second printing in the present invention. It is assumed that the pattern buffer 8 stores a black bar made up of four black dot rows. 1
In the second printing, the first black dot row, the second black dot row, and the third black dot row are printed. That is,
When the first dot pulse rises, the first black dot row of the pattern buffer is read out, and the first black dot row is T after the rising edge of the first dot pulse.
The second dot is printed after the time and is printed by the print pin.
When the pulse rises, the second black dot row in the pattern buffer is read out, the second black dot row is printed by the print pin T time after the rising of the second dot pulse, and the third black dot row is printed. When the dot pulse rises, the third black dot row in the pattern buffer is read out, and the third black dot row is printed by the print pin after T time from the rising edge of the third dot pulse.

用紙上に3個の黒ドット列よりなる黒バーを印刷した
後、用紙上の黒バーをバーコード・センサ21でスキャン
し、このセンサ21の検出出力から用紙上の黒バーの幅x
を算出する。
After printing a black bar consisting of three black dot rows on the paper, scan the black bar on the paper with the barcode sensor 21, and from the detection output of this sensor 21, the width x of the black bar on the paper
To calculate.

正規の黒白比による黒バーの幅をWnとすると、残りバー
幅Bは、 B=Wn−x となる。
If the width of the black bar according to the regular black-white ratio is Wn, the remaining bar width B is B = Wn-x.

第2回目の印字は下記のようにしておこなわれる。第4
番目のドット列の印字は、第3番目のドット・パルスが
立ち上がったタイミングからBだけ移動するのにかかる
時間だけおくれるように印字タイミング微調整用タイマ
の値を調整する。そして、第3番目のドット・パルスの
立上りで第4番目の黒ドット列を読み出し、第3番目の
ドット・パルスの立上りからT時間後に、第4番目の黒
ドット列を印字ピンで印字する。
The second printing is performed as follows. Fourth
The printing of the second dot row is adjusted by adjusting the value of the print timing fine adjustment timer so that the time required for moving the third dot pulse by B is delayed from the rising timing of the third dot pulse. Then, at the rising edge of the third dot pulse, the fourth black dot row is read out, and at time T after the rising edge of the third dot pulse, the fourth black dot row is printed by the print pin.

第6図はバーコード印刷処理のフローチャートである。
バーコード印刷処理はプログラム格納ROM内のバーコー
ド印刷処理ルーチンによって実行される。バーコード印
刷処理を行う場合、先ず高解像度か低解像度かの別,バ
ーコードの高さ,バーコードの種類およびバーコード・
データ(数字を表す)等が本体装置から送られ、その後
で印刷コマンドが送られて来る。印刷コマンドを受信す
ると、バーコード印刷処理ルーチンが実行され、下記の
ような処理が行われる。
FIG. 6 is a flowchart of the barcode printing process.
The bar code printing process is executed by a bar code printing process routine in the program storage ROM. When performing the barcode printing process, first determine whether the resolution is high resolution or low resolution, the barcode height, the barcode type, and the barcode
Data (representing numbers) and the like are sent from the main body device, and then a print command is sent. When the print command is received, the barcode print processing routine is executed, and the following processing is performed.

バーコード・ドット・パターンの編集を行う。編集
されたバーコード・ドット・パターンは、データ格納RA
M10に格納される。
Edit barcode dot pattern. The edited barcode dot pattern is the data storage RA
Stored in M10.

印字ヘッドを印字開始位置へ移動する。 Move the print head to the print start position.

各バー(黒バー)に対して1ドット残してバーコー
ドを印字する。すなわち、で編集したバーコード・ド
ット・パターンの中から黒バーの右端の黒ドット列をク
リアし、クリアしたバーコード・ドット・パターンをパ
ターン・バッファ8に移し、第7図にルーチンをCALLす
る。
A bar code is printed with one dot left for each bar (black bar). That is, the black dot row at the right end of the black bar is cleared from the bar code dot pattern edited in, the cleared bar code dot pattern is transferred to the pattern buffer 8, and the routine is called in FIG. .

1回目の印字が終了したならば、バーコード・セ
ンサ21を開始位置へ移動する。
When the first printing is completed, the bar code sensor 21 is moved to the start position.

バーコード・センサ21をスキャンさせ、用紙上に印
刷された黒バーの幅を検出する。
The bar code sensor 21 is scanned to detect the width of the black bar printed on the paper.

検出結果と正確な黒バー幅とを比較する。 The detection result is compared with the accurate black bar width.

残りのバー幅を検出する。 Detect remaining bar width.

印字タイミング微調整用タイマの値を調整する。 Adjust the value of the print timing fine adjustment timer.

残り1ドットを印字タイミング微調整用タイマに基
づいて2回目の印字を行う。すなわち、で編集したバ
ーコード・ドット・パターンの中から黒バーの右端の黒
ドット列以外をクリアし、クリアしたバーコード・ドッ
ト・パターンのi列がパターン・バッファ8のi−1列
になるように、クリアしたバーコード・ドット・パター
ンをパターン・バッファ8に移し、第7図のルーチンを
CALLする。
The remaining 1 dot is printed a second time based on the print timing fine adjustment timer. That is, all but the rightmost black dot row of the black bar is cleared from the barcode dot pattern edited in step 4, and the i row of the cleared barcode dot pattern becomes the i-1 row of the pattern buffer 8. Move the cleared barcode dot pattern to the pattern buffer 8 as shown in FIG.
CALL

第7図は編集データ格納エリアのドット・パターン印字
処理のフローチャートである。
FIG. 7 is a flowchart of the dot pattern printing process in the edit data storage area.

データ・ポインタDPを初期値にセットする。 The data pointer DP is set to the initial value.

キャリア動作指示を出す。なお、正方向印字の場合
には、最初はキャリアは左端に位置している。
Give a carrier operation instruction. In the case of forward printing, the carrier is initially located at the left end.

ドット・パルスがオンしたか否かを調べる。Yesの
ときはに進む。
Check to see if dot pulse is on. If Yes, go to.

印字タイミング微調整用タイマのカウント値で指定
された調整時間分だけウエイト(Wait)する。
Wait for the adjustment time specified by the count value of the print timing fine adjustment timer.

データ・ポインタDPの指すデータ(ドット列)をラ
ッチ回路(ハンマ・ドライバ15の中に存在する)にセッ
トする。
The data (dot string) pointed to by the data pointer DP is set in the latch circuit (existing in the hammer driver 15).

ピン駆動電流をオンする。なお、ピン駆動電流のオ
フは一定時間経過後、ハードウェア回路で自動的に行わ
れる。
Turn on pin drive current. Note that the pin drive current is automatically turned off by the hardware circuit after a certain time has elapsed.

データ・ポインタDPを1つ先に進める。 Advance the data pointer DP by one.

印字終了か否かを調べ、Yesのときはに進み、No
のときはに戻る。
Check if printing is completed.If Yes, go to and No
When returns to.

キャリア停止指示を出す。なお、正方向印字の場合
は、キャリアは左端で停止する。
Give a carrier stop instruction. When printing in the forward direction, the carrier stops at the left end.

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

以上の説明から明らかなように、本発明によれば、第2
回目の印字においては、バーコード・センサの検出波形
より求めた黒バー幅と正規の黒白比になる黒バー幅との
差を参照して残り黒バー部分の印字を行っているので、
インキの滲み量が紙の質やインク・リボンの状態により
変化しても、常に正確なバーコードを印字することが出
来る。なお、上述の実施例では、第1回目の印字におい
て各黒バーの右側の1ドット列を残して印字している
が、残すドット列は1ドット列ではなく、数ドット列を
残しても良い。また、第1回目の印字において、各黒バ
ーの左側の1ドット列または数ドット列を残すようにし
ても良い。
As is clear from the above description, according to the present invention, the second
In the second printing, since the remaining black bar portion is printed by referring to the difference between the black bar width obtained from the detection waveform of the bar code sensor and the black bar width that is the regular black-white ratio,
Even if the amount of ink bleeding changes depending on the quality of the paper and the state of the ink ribbon, it is possible to always print an accurate barcode. In the above-described embodiment, the first dot is printed by leaving one dot row on the right side of each black bar, but the dot row to be left may be several dot rows instead of one dot row. . Further, in the first printing, one dot row or several dot rows on the left side of each black bar may be left.

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

第1図は本発明の原理説明図、第2図はドット・パルス
の立上りから実際の印字までの時間を説明する図、第3
図は編集データ格納エリアのドット・パターンの印字を
説明する図、第4図はプリンタの電気回路の例を示す
図、第5図は本発明における1回目印字と2回目印字を
説明する図、第6図は本発明のバーコード印刷処理を示
す図、第7図はドット・パターンの印字処理のフローチ
ャートを示す図、第8図は従来のバーコード印刷を説明
する図である。 1……ドット・パルス、2……印字位置、3……編集デ
ータ格納エリア、5……CPU、6……アドレス・バス、
7……データ・バス、8……パターン・バッファ、9…
…プログラム格納ROM、10……データ格納RAM、11……コ
ンソール・パネル、12……インタフェース、13……本体
装置、14……モータ・ドライバ、15……ハンマ・ドライ
バ、16……センサ・ドライバ、17……改行用モータ、18
……キャリア移動用モータ、19……センサ、20……キャ
リア、21……バーコード・センサ、23……印字ヘッド、
24……インク・リボン・カセット、DP……データ・ポイ
ンタ。
FIG. 1 is a diagram for explaining the principle of the present invention, FIG. 2 is a diagram for explaining the time from the rise of the dot pulse to the actual printing, and FIG.
FIG. 4 is a diagram for explaining the dot pattern printing in the edit data storage area, FIG. 4 is a diagram showing an example of the electric circuit of the printer, FIG. 5 is a diagram for explaining the first printing and the second printing in the present invention, FIG. 6 is a diagram showing a barcode printing process of the present invention, FIG. 7 is a diagram showing a flow chart of a dot pattern printing process, and FIG. 8 is a diagram illustrating conventional barcode printing. 1 ... Dot pulse, 2 ... Print position, 3 ... Edit data storage area, 5 ... CPU, 6 ... Address bus,
7 ... Data bus, 8 ... Pattern buffer, 9 ...
… Program storage ROM, 10 …… Data storage RAM, 11 …… Console panel, 12 …… Interface, 13 …… Main unit, 14 …… Motor driver, 15 …… Hammer driver, 16 …… Sensor driver , 17 …… Motor for line feed, 18
...... Carrier moving motor, 19 …… Sensor, 20 …… Carrier, 21 …… Bar code sensor, 23 …… Print head,
24 ... Ink ribbon cassette, DP ... Data pointer.

フロントページの続き (56)参考文献 特開 平1−304967(JP,A) 特開 昭63−7955(JP,A)Continuation of front page (56) References JP-A-1-304967 (JP, A) JP-A-63-7955 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ドット・マトリックス方式のプリンタ装置
を使用し、バーコードを2回に分けて印字するバーコー
ド印刷制御方法であって、 1回目の印字においては、正規の黒白比になる黒バー幅
より補正分だけ細く黒バーを印字し、 次に、用紙上に印字されたバーコードをバーコード・セ
ンサでスキャンし、バーコード・センサの検出波形より
黒バー幅を求め、 2回目の印字においては、バーコード・センサの検出波
形より求めた黒バー幅と正規の黒白比になる黒バー幅と
の差を求め、求めた差を参照して残りの黒バー部分の印
字を行う ことを特徴とするバーコード印刷制御方法。
1. A bar code printing control method for printing a bar code in two steps using a dot-matrix type printer device, wherein a black bar having a regular black-white ratio in the first printing. Print a black bar thinner than the width by the correction amount, then scan the bar code printed on the paper with a bar code sensor, obtain the black bar width from the waveform detected by the bar code sensor, and then print for the second time. In this case, the difference between the black bar width obtained from the detection waveform of the bar code sensor and the black bar width that makes the regular black-white ratio is obtained, and the remaining black bar portion is printed by referring to the obtained difference. Characteristic barcode printing control method.
JP2021750A 1990-01-31 1990-01-31 Bar code printing control method Expired - Fee Related JPH0772902B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021750A JPH0772902B2 (en) 1990-01-31 1990-01-31 Bar code printing control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021750A JPH0772902B2 (en) 1990-01-31 1990-01-31 Bar code printing control method

Publications (2)

Publication Number Publication Date
JPH03226885A JPH03226885A (en) 1991-10-07
JPH0772902B2 true JPH0772902B2 (en) 1995-08-02

Family

ID=12063743

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021750A Expired - Fee Related JPH0772902B2 (en) 1990-01-31 1990-01-31 Bar code printing control method

Country Status (1)

Country Link
JP (1) JPH0772902B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2776197B2 (en) * 1993-05-28 1998-07-16 東レ株式会社 Barcode recording method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0755566B2 (en) * 1988-06-01 1995-06-14 株式会社ピーエフユー Serial printer with bar code printing function

Also Published As

Publication number Publication date
JPH03226885A (en) 1991-10-07

Similar Documents

Publication Publication Date Title
US4818125A (en) Electronic typewriter with word correction function including pitch changing means
US5263994A (en) Printer having a plurality of printing modes
JPH0772902B2 (en) Bar code printing control method
JPH0755566B2 (en) Serial printer with bar code printing function
JPH0356549B2 (en)
JPH0698789B2 (en) Serial dot printer
JPH0326655B2 (en)
KR920007216B1 (en) Method for decreasing the noise in a dot matrix printer
US4710043A (en) Impact printer with variable delay for print cycle based on different print-hammer energy levels
JP3021863B2 (en) Dot matrix printer
JP2872136B2 (en) Serial dot printer
JPH05330118A (en) Thermal printer
JP2000103135A (en) Image forming method and apparatus
JPH06115169A (en) Method and apparatus for printing dot matrix pattern
JP2756046B2 (en) Thermal transfer printer
JPS63306052A (en) Impact type dot printer
JP2856558B2 (en) Printer
JPH0226777A (en) recording device
JPH06979A (en) Printer device
JPS60187555A (en) Printing method
JP3189835B2 (en) Electronic printing apparatus, electronic printing method, and recording medium
JPH0588675B2 (en)
JPH07285231A (en) Drive control of printing head in serial printer
JPH0725069A (en) Serial printer
JPH0393564A (en) Printing device

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees