JPH03226885A - Barcode printing control method - Google Patents
Barcode printing control methodInfo
- Publication number
- JPH03226885A JPH03226885A JP2175090A JP2175090A JPH03226885A JP H03226885 A JPH03226885 A JP H03226885A JP 2175090 A JP2175090 A JP 2175090A JP 2175090 A JP2175090 A JP 2175090A JP H03226885 A JPH03226885 A JP H03226885A
- Authority
- JP
- Japan
- Prior art keywords
- barcode
- dot
- printing
- black
- 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
Links
- 238000000034 method Methods 0.000 title claims description 18
- 239000011159 matrix material Substances 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 5
- 239000000872 buffer Substances 0.000 description 15
- 238000010586 diagram Methods 0.000 description 13
- 238000013500 data storage Methods 0.000 description 12
- 230000000630 rising effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 230000000740 bleeding effect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Landscapes
- Printers Characterized By Their Purpose (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔概要〕
ドット・マトリックス方式のプリンタ装置によるバーコ
ード印刷制御方法の改良に関し、バーコード印刷時の黒
白比を正確にすることが出来るバーコード印刷制御方法
を提供することを目的とし、
ドット・マトリックス方式のプリンタ装置を使用し、バ
ーコードを2回に分けて印字するバーコード印刷制御方
法であって、
1回目の印字においては、正規の黒白比になる黒バー幅
より補正分だけ細く黒バーを印字し、次に、用紙上に印
字されたバーコードをバーコード・センサでスキャンし
、バーコード・センサの検出波形より黒バー幅を求め、
2回目の印字においては、バーコード・センサの検出波
形より求めた黒バー幅と正規の黒白比になる黒バー幅と
の差を求め、求めた差を参照して残りの黒バー部分の印
字を行う
ことを構成とするものである。[Detailed Description of the Invention] [Summary] Regarding the improvement of a barcode printing control method using a dot matrix type printer device, it is an object of the present invention to provide a barcode printing control method that can make the black-white ratio accurate when printing a barcode. This is a barcode printing control method that uses a dot-matrix printer to print a barcode twice, and in the first printing, the black bar width is set to the normal black-white ratio. Print a black bar thinner by the amount of correction, then scan the barcode printed on the paper with a barcode sensor, find the black bar width from the detection waveform of the barcode sensor, and then print it for the second time. The system calculates the difference between the black bar width determined from the detected waveform of the barcode sensor and the black bar width that corresponds to the normal black-white ratio, and prints the remaining black bar portion by referring to the calculated difference. That is.
本発明は、ドット・マトリックス方式のプリンタ装置に
よるバーコード印刷制御方法の改良に関するものである
。The present invention relates to an improvement in a barcode printing control method using a dot matrix printer.
第8図はドット・マトリックス方式のプリンタ装置によ
る従来のバーコード印刷を説明する図である。従来の技
術においては、正規の黒バー幅はドツト・ピッチ(例え
ば180分の1インチ)のn倍(nは整数)とされてい
る。印字すべきバーコードのドツト・パターンはパター
ン・バッファに格納されており、例えば第1番目のドツ
ト・パルスが立ち上がると、パターン・バッファの第1
番目のドツト列が印字され、第2番目のドツト・パルス
が立ち上がると、パターン・バッファの第2番目のドツ
ト列が印字される。以下、同様な処理が行われる。FIG. 8 is a diagram illustrating conventional barcode printing using a dot matrix printer. In the conventional technology, the regular black bar width is set to be n times (n is an integer) the dot pitch (for example, 1/180 inch). The dot pattern of the bar code to be printed is stored in a pattern buffer. For example, when the first dot pulse rises, the first dot pattern in the pattern buffer is
When the second dot row is printed and the second dot pulse rises, the second dot row in the pattern buffer is printed. Similar processing is performed thereafter.
従来のバーコード印刷方式においては、印字タイミング
間隔は一定であるので、1個の黒バーを構成するn個の
黒ドツト列を印字すると、印字ピンのピン径やインク・
リボンのインクのにじみ等により、用紙上に実際に印字
された黒バーは正規の黒バー幅より広くなってしまう。In the conventional barcode printing method, the printing timing interval is constant, so when printing n rows of black dots that make up one black bar, the pin diameter of the printing pin and the ink
Due to ink bleeding on the ribbon, etc., the black bar actually printed on the paper becomes wider than the regular black bar width.
また、黒バーの正規のバー幅が例えば1.7ドツトと言
うようなものもあるが、従来のバーコード印字方式では
バー幅が1.7ドツトと言うような黒バーを印字するこ
とができない。Also, the standard width of a black bar is, for example, 1.7 dots, but conventional barcode printing methods cannot print black bars with 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 accurate when printing barcodes.
第1図は本発明の原理説明図である。本発明においては
、ドット・マトリックス方式のプリンタ装置を使用し、
バーコードを2回に分けて印字する。FIG. 1 is a diagram explaining the principle of the present invention. In the present invention, a dot matrix type printer device is used,
Print the barcode twice.
1回目の印字においては、正規の黒白比になる黒バー幅
より補正骨(例えば1ドツト分)だけ細く黒バーを印字
する。第1回目のバーコード印字を行った後、用紙上に
印字されたバーコードをバーコード・センサでスキャン
し、バーコード・センサの検出波形より黒バー幅を求め
る。2回目の印字においては、バーコード・センサの検
出波形より求めた黒バー幅と正規の黒白比になる黒バー
幅との差を求め、求めた差を参照して残りの黒バー部分
の印字を行う。In the first printing, a black bar is printed that is thinner by a correction width (for example, one dot) than the black bar width that corresponds to the normal black-white ratio. After the first barcode is printed, the barcode printed on the paper is scanned by a barcode sensor, and the black bar width is determined from the detected waveform of the barcode sensor. In the second printing, the difference between the black bar width determined from the detection waveform of the barcode sensor and the black bar width that corresponds to the regular black-white ratio is determined, and the remaining black bar portion is printed by referring to the determined difference. I do.
第2図はドツト・パルスの立上りから実際の印字までの
時間を説明する図である。同図において、1は印字処理
開始の契機を与えるドツト・パルス、2は印字位置をそ
れぞれ示す。FIG. 2 is a diagram illustrating the time from the rise of the dot pulse to actual printing. In the figure, 1 indicates a dot pulse that triggers the start of the printing process, and 2 indicates the printing position.
ドツト・パルスの立上りによって印字処理開始の契機が
与えられ、成る時間Tが経過した後に実際の印字がなさ
れることになる。時間Tは、調整時間T1. ピン(ハ
ンマー・マグネット)通電時間T2およびピンが印字す
るための機械的な遅れ時間T3から成る。プリンタ制御
部は調整時間T1をコントロールすることが出来る。ピ
ン通電時間T2および機械的な遅れ時間T3は、印字ヘ
ラドの仕様によって固定的に定められる。調整時間T1
は、印字タイミング微調整用タイマの値によって定めら
れ、この値は可変である。The rising edge of the dot pulse provides an opportunity to start the printing process, and actual printing is performed after a period of time T has elapsed. The time T is the adjustment time T1. It consists of a pin (hammer magnet) energization time T2 and a mechanical delay time T3 for the pin to print. The printer control unit can control the adjustment time T1. The pin energization time T2 and the mechanical delay time T3 are fixedly determined by the specifications of the printing head. Adjustment time T1
is determined by the value of a print timing fine adjustment timer, and this value is variable.
第3図は編集データ格納エリアのドツト・パターンの印
字を説明する図である。同図において、3は編集された
ドツト・パターンが格納される編集データ格納エリア、
DPはデータ・ポインタをそれぞれ示す。FIG. 3 is a diagram illustrating printing of a dot pattern in the editing data storage area. In the figure, 3 is an edited data storage area where the edited dot pattern is stored;
DP each indicates a data pointer.
編集データ格納エリア3内のデータは、1列ごとに出力
されるようにされ、例えばP2の列については、P21
.P22.・・・、P27の各ドツトのデータについて
同時にピン駆動されるようにされる。ドツト・パルス1
の立上りごとに、正方向印字であれば順次に21列、P
2列、・・・、PT列と出力され、逆方向印字であれば
P7列、P6列。The data in the edited data storage area 3 is output column by column. For example, for column P2, P21 is output.
.. P22. . . , the data of each dot of P27 is driven by pins at the same time. dot pulse 1
21 columns, P
2 columns, ..., PT column are output, and if printing in the reverse direction, P7 column and P6 column are output.
・・・、21列と出力されることになる。データ・ポイ
ンタDPは読み出すべきドツト列を指定するものであり
、読み出されたドツト列の印字が行われると、データ・
ポインタDPのイ直は+1される。..., 21 columns will be output. The data pointer DP specifies the dot string to be read out, and when the read dot string is printed, the data pointer DP specifies the dot string to be read out.
The correctness of pointer DP is increased by +1.
第4図はプリンタの電気回路の例を示すプロッり図であ
る。同図において、5はCPU、6はアドレス・バス、
7はデータ・バス、8はパターン・バッファ、9はプロ
グラム格納ROM、10はデータ格納RAM、11はコ
ンソール・パネル、12はインタフェース、13は本体
装置、14はモータ・ドライバ、15はハンマ・ドライ
バ、16はセンサ・ドライバ、17は改行用モータ、1
8はキャリア移動用モータ、19はセンサ、20はキャ
リア、21はバーコード・センサ、23は印字ヘッド、
24はインク・リボン・カセットをそれぞれ示している
。FIG. 4 is a plot diagram showing an example of the electric circuit of the printer. In the figure, 5 is a CPU, 6 is an address bus,
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, and 15 is a hammer driver. , 16 is a sensor driver, 17 is a line feed motor, 1
8 is a motor for moving the carrier, 19 is a sensor, 20 is a carrier, 21 is a barcode sensor, 23 is a print head,
24 indicates an ink ribbon cassette, respectively.
CPU5は、プログラム格納ROM9に格納されている
プログラムを実行する。CPU5は、アドレス・バス6
およびデータ・バス7を介してレジスタやメモリにデー
タを書き込んだり、レジスタやメモリのデータを読み込
んだりする。図示しないが、CPU5は内部にタイマを
有しており、このタイマが印字タイミング微調整用タイ
マとして使用される。The CPU 5 executes programs stored in the program storage ROM 9. CPU 5 uses address bus 6
and writes data to registers and memory via the data bus 7, and reads data from registers and memory. Although not shown, the CPU 5 has an internal timer, and this timer is used as a timer for fine-tuning print timing.
パターン・バッファ8は編集データ格納エリア3と同一
物を示し、この中には印字ヘッド23に送るべき1行分
のドット・マトリックス・データが格納されている。プ
ログラム格納ROM9の中には、各種のプログラムが格
納されている。データ格納RAMl0の中には、各種の
バッファや作業領域等が存在する。コンソール・パネル
11上には、各種のスイッチや液晶デイスプレィ等が存
在する。なお、図示しないが、文字のドツト・パターン
やバーコードのドツト・パターンを格納するCG用メモ
リが存在することは当然である。The pattern buffer 8 is the same as the edit data storage area 3, and stores one line of dot matrix data to be sent to the print head 23. Various programs are stored in the program storage ROM 9. Various buffers, work areas, etc. exist in the data storage RAM 10. Various switches, a liquid crystal display, etc. are present on the console panel 11. 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は印刷コマンドをデータ格納R
AMl0のバッファに格納し、CPU5に割込みをかけ
る。この割込みを受は取ると、CPU5は印刷コマンド
に基づく文字や記号1図形等を印刷するための処理を行
う。The interface 12 is a part that communicates with the main device 13. When a print command is sent from the main device 13, the interface 12 stores the print command in data storage R.
It is stored in the buffer of AMl0 and interrupts the CPU5. When this interrupt is accepted, the CPU 5 performs processing for printing characters, symbols, figures, etc. based on the print command.
モータ・ドライバ14は、改行用モータ17やキャリア
移動用モータ18に送るべき信号を増幅するものである
。ハンマ・ドライバ15は、印字8
ヘッド24に送るべきハンマ駆動電流を増幅するもので
ある。センサ・ドライバ16は、センサ19から送られ
てくる信号を増幅したり、波形整形したりするものであ
る。バーコード・センサ21から出力される信号もセン
サ・ドライバ16に入力される。The motor driver 14 amplifies signals to be sent to the line feed motor 17 and the carrier movement motor 18. The hammer driver 15 amplifies the hammer drive 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. A signal output from barcode sensor 21 is also input to sensor driver 16 .
キャリア20には、印字ヘッド23とバーコード・セン
サ21が固着され、またインク・リボン・カセット24
が着脱自在に取り付けられている。A print head 23 and a barcode sensor 21 are fixed to the carrier 20, and an ink ribbon cassette 24 is also fixed to the carrier 20.
is attached removably.
キャリア移動用モータ18が回転すると、キャリア20
は左右に走行する。When the carrier moving motor 18 rotates, the carrier 20
runs left and right.
第5図は本発明における1回目印字と2回U印字を説明
する図である。パターン・バッファ8の中に4個の黒ド
ツト列よりなる黒バーが格納されていると仮定する。1
回目の印字では、第1番目の黒ドツト列、第2番目の黒
ドツト列、第3番目の黒ドツト列が印字される。即ち、
第1番目のドツト・パルスが立ち上がるとパターン・バ
ッファの第1番目の黒ドツト列が読み出され第1番目の
黒ドツト列が第1番目のドツト・パルスの立上り9−
からT時間後に印字ピンにより印字され、第2番目のド
ツト・パルスが立ち上がるとパターン・バッファの第2
番目の黒ドツト列が読み出され第2番目の黒ドツト列が
第2番目のドツト・パルスの立上りからT時間後に印字
ピンにより印字され、第3番目のドツト・パルスが立ち
上がるとパターン・バッファの第3番目の黒ドツト列が
読み出され第3番目の黒ドツト列が第3番目のドツト・
パルスの立上りからT時間後に印字ピンにより印字され
る。FIG. 5 is a diagram illustrating first printing and second U printing in the present invention. Assume that a black bar consisting of four rows of black dots is stored in the pattern buffer 8. 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 in the pattern buffer is read out, and the first black dot row is read out from the print pin after T time from the rising edge of the first dot pulse. When the second dot pulse rises, the second dot pulse in the pattern buffer is printed.
The second black dot row is read out, the second black dot row is printed by the print pin T hours after the rise of the second dot pulse, and when the third dot pulse rises, the pattern buffer is read out. The third black dot row is read out and the third black dot row is read out.
Printing is performed by the printing pin after T time from the rise of the pulse.
用紙上に3個の黒ドツト列よりなる黒パーを印刷した後
、用紙上の黒バーをバーコード・センサ21でスキャン
し、このセンサ21の検出出力から用紙上の黒バーの幅
Xを算出する。After printing a black bar consisting of three rows of black dots on a sheet of paper, the black bar on the sheet is scanned by a barcode sensor 21, and the width X of the black bar on the sheet is calculated from the detection output of this sensor 21. do.
正規の黒白比による黒バーの幅をWnとすると、残りバ
ー幅Bは、
B=Wn −x
となる。Assuming that the width of the black bar according to the normal black-white ratio is Wn, the remaining bar width B is as follows: B=Wn-x.
第2回目の印字は下記のようにしておこなわれる。第4
番目のドツト列の印字は、第3番目のド 10−
ット・パルスが立ち上がったタイミングからBだけ移動
するのにかかる時間だけおくれるように印字タイミング
微調整用タイマの値を調整する。そして、第3番目のド
ツト・パルスの立上りで第4番目の黒ドツト列を読み出
し、第3番目のドツト・パルスの立上りからT時間後に
、第4番目の黒ドツト列を印字ピンで印字する。The second printing is performed as follows. Fourth
The value of the print timing fine adjustment timer is adjusted so that the printing of the 10-th dot row is delayed by the time required to move by B from the timing at which the 3rd dot pulse rises. Then, the fourth black dot string is read out at the rising edge of the third dot pulse, and the fourth black dot string is printed by the printing pin after T time from the rising edge of the third dot pulse.
第6図はバーコード印刷処理のフローチャートである。FIG. 6 is a flowchart of barcode printing processing.
バーコード印刷処理はプログラム格納ROM内のバーコ
ード印刷処理ルーチンによって実行される。バーコード
印刷処理を行う場合、先ず高解像度か低解像度かの別、
バーコードの高さ。The barcode printing process is executed by a barcode printing process routine in the program storage ROM. When performing barcode printing processing, first determine whether it is high resolution or low resolution.
Barcode height.
バーコードの種類およびバーコード・データ(数字を表
す)等が本体装置から送られ、その後で印刷コマンドが
送られて来る。印刷コマンドを受信すると、バーコード
印刷処理ルーチンが実行され、下記のような処理が行わ
れる。The type of barcode, barcode data (representing numbers), etc. are sent from the main unit, and then a print command is sent. When a print command is received, a barcode printing processing routine is executed, and the following processing is performed.
■ バーコード・ドツト・パターンの編集を行う。■ Edit the barcode/dot pattern.
編集されたバーコード・ドツト・パターンは、データ格
納RAMl0に格納される。The edited barcode dot pattern is stored in data storage RAM10.
■ 印字ヘッドを印字開始位置へ移動する。■ Move the print head to the print start position.
■ 各バー(黒バー)に対して1ドツト残してバーコー
ドを印字する。すなわち、■で編集したバーコード・ド
ツト・パターンの中から黒バーの右端の黒ドツト列をク
リアし、クリアしたバーコード・ドツト・パターンをパ
ターン・バッファ8に移し、第7図のルーチンをCAL
Lする。■ Print the barcode leaving one dot for each bar (black bar). In other words, clear the black dot row at the right end of the black bar from the barcode dot pattern edited in step (■), move the cleared barcode dot pattern to pattern buffer 8, and execute the routine in Figure 7 by CAL.
L.
■■ 1回目の印字が終了したならば、バーコード・セ
ンサ21を開始位置へ移動する。■■ When the first printing is completed, move the barcode sensor 21 to the starting position.
■ バーコード・センサ21をスキャンさせ、用紙上に
印刷された黒バーの幅を検出する。■ Scan the barcode sensor 21 to detect the width of the black bar printed on the paper.
■ 検出結果と正確な黒バー幅とを比較する。■ Compare the detection results and the exact black bar width.
■ 残りのバー幅を検出する。■ Detect remaining bar width.
■ 印字タイミング微調整用タイマの値を調整する。■ Adjust the value of the timer for fine adjustment of print timing.
[相] 残り1ドツトを印字タイミング微調整用タイマ
に基づいて2回目の印字を行う。すなわち、■で編集し
たバーコード・ドツト・パターンの中から黒バーの右端
の黒ドツト列以外をクリアし、クリアしたバーコード・
ドツト・パターンのi列がパターン・バッファ8のi−
1列になるように、クリアしたバーコード・ドツト・パ
ターンをパターン・バッファ8に移し、第7図のルーチ
ンをCALLする。[Phase] The remaining 1 dot is printed for the second time based on the print timing fine adjustment timer. In other words, from the barcode dot pattern edited in ■, clear all but the row of black dots at the right end of the black bar, and use the cleared barcode dot pattern.
The i column of the dot pattern is i- in the pattern buffer 8.
The cleared barcode dot pattern is transferred to the pattern buffer 8 so that it forms one column, and the routine of FIG. 7 is called.
第7図は編集データ格納エリアのドツト・パターン印字
処理のフローチャートである。FIG. 7 is a flowchart of the dot pattern printing process in the edited data storage area.
■ データ・ポインタDPを初期値にセットする。■ Set the data pointer DP to its initial value.
■ キャリア動作指示を出す。なお、正方向印字の場合
には、最初はキャリアは左端に位置している。■ Issue carrier operation instructions. Note that in the case of forward printing, the carrier is initially located at the left end.
■ ドツト・パルスがオンしたか否かを調べる。■ Check whether the dot pulse is turned on.
Yesのときは■に進む。If Yes, proceed to ■.
■ 印字タイミング微調整用タイマのカウント値で指定
された調整時間分だけウェイト(Wait)する。■ Wait for the adjustment time specified by the count value of the print timing fine adjustment timer.
■ データ・ポインタDPの指すデータ(ドツト列)を
ラッチ回路(ハンマ・ドライバ15の中に存在する)に
セットする。(2) Set the data (dot string) pointed to by the data pointer DP in the latch circuit (present in the hammer driver 15).
■ ピン駆動電流をオンする。なお、ピン駆動電3
流のオフは一定時間経過後、ハードウェア回路で自動的
に行われる。■ Turn on pin drive current. Note that the pin drive current 3 is automatically turned off by the hardware circuit after a certain period of time has elapsed.
■ データ・ポインタDPを1つ先に進める。■ Advance the data pointer DP by one.
■ 印字終了か否かを調べ、Yesのときは■に進み、
Noのときは■に戻る。■ Check whether printing is finished or not, and if Yes, proceed to ■.
If No, return to ■.
■ キャリア停止指示を出す。なお、正方向印字の場合
は、キャリアは左端で停止する。■ Issue a carrier stop instruction. Note that in the case of forward printing, the carrier stops at the left end.
以上の説明から明らかなように、本発明によれば、正規
のバーコードの黒白比で印刷することが可能となり、バ
ーコードの読み取りミスや誤読を無くすことができる。As is clear from the above description, according to the present invention, it is possible to print a barcode with the black-and-white ratio of a regular barcode, and it is possible to eliminate misreading and misreading of barcodes.
なお、上述の実施例では、第1回目の印字において各黒
バーの右側の1ドツト列を残して印字しているが、残す
ドツト列は1列でなく、数ドツト列を残しても良い。ま
た、第1回目の印字において、各黒バーの左側の1ドツ
ト列ないし数ドツト列残すようにしても良い。In the above-described embodiment, one dot row on the right side of each black bar is printed in the first printing, but instead of just one dot row, several dot rows may be left. Furthermore, in the first printing, one or several dot rows may be left on the left side of each black bar.
第1図は本発明の原理説明図、第2図はドツト4
・パルスの立上りから実際の印字までの時間を説明する
図、第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・・・データ・ポインタ。Figure 1 is a diagram explaining the principle of the present invention, Figure 2 is a diagram explaining the time from the rise of the dot 4 pulse to actual printing, and Figure 3 is a diagram explaining the printing of the dot pattern in the editing data storage area. 4 is a diagram showing an example of the electric circuit of the printer, FIG. 5 is a diagram explaining the first printing and second printing in the present invention, and FIG. 6 is a diagram showing the barcode printing process of the present invention. FIG. 7 is a flowchart 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 device, 14
...Motor driver, 15...Hammer driver, 16...Sensor driver, 17...Line feed motor, 18...Carrier movement motor, 19...Sensor, 20... Carrier, 21... Barcode sensor, 23... Print head, 24... Ink ribbon cassette, DP... Data pointer.
Claims (1)
ーコードを2回に分けて印字するバーコード印刷制御方
法であって、 1回目の印字においては、正規の黒白比になる黒バー幅
より補正分だけ細く黒バーを印字し、次に、用紙上に印
字されたバーコードをバーコード・センサでスキャンし
、バーコード・センサの検出波形より黒バー幅を求め、 2回目の印字においては、バーコード・センサの検出波
形より求めた黒バー幅と正規の黒白比になる黒バー幅と
の差を求め、求めた差を参照して残りの黒バー部分の印
字を行う ことを特徴とするバーコード印刷制御方法。[Claims] A barcode printing control method that uses a dot matrix printer to print a barcode twice; Print a black bar that is thinner than the bar width by the correction amount, then scan the barcode printed on the paper with a barcode sensor, find the black bar width from the detection waveform of the barcode sensor, and then print the black bar width for the second time. When printing, find the difference between the black bar width found from the detected waveform of the barcode sensor and the black bar width that corresponds to the regular black-white ratio, and print the remaining black bar portion by referring to the difference found. A barcode printing control method characterized by:
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 true JPH03226885A (en) | 1991-10-07 |
| JPH0772902B2 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) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06337948A (en) * | 1993-05-28 | 1994-12-06 | Toray Ind Inc | Barcode recording method |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01304967A (en) * | 1988-06-01 | 1989-12-08 | Pfu Ltd | Bar code printing system |
-
1990
- 1990-01-31 JP JP2021750A patent/JPH0772902B2/en not_active Expired - Fee Related
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01304967A (en) * | 1988-06-01 | 1989-12-08 | Pfu Ltd | Bar code printing system |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06337948A (en) * | 1993-05-28 | 1994-12-06 | Toray Ind Inc | Barcode recording method |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0772902B2 (en) | 1995-08-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0772902B2 (en) | Bar code printing control method | |
| JPH0755566B2 (en) | Serial printer with bar code printing function | |
| JP2552830B2 (en) | Printer device with bar code printing function | |
| JPH0326655B2 (en) | ||
| JP3055738B2 (en) | Dot matrix pattern printing method and apparatus | |
| JPS6143572A (en) | serial dot printer | |
| JP3062556B2 (en) | Drive control method of print head in wire dot serial printer | |
| US4710043A (en) | Impact printer with variable delay for print cycle based on different print-hammer energy levels | |
| JP2000103135A (en) | Image forming method and apparatus | |
| US5073049A (en) | Print control for dot matrix printer | |
| JPH0357484Y2 (en) | ||
| KR920007216B1 (en) | Method for decreasing the noise in a dot matrix printer | |
| JP3021863B2 (en) | Dot matrix printer | |
| JP2973634B2 (en) | Serial printer | |
| JP2856558B2 (en) | Printer | |
| JP2872136B2 (en) | Serial dot printer | |
| JPH0759399B2 (en) | Bar code printing control method | |
| JPH06979A (en) | Printer device | |
| JPH0588675B2 (en) | ||
| JPH05330118A (en) | Thermal printer | |
| JPS60212359A (en) | Printing method of dot printer | |
| JP3070122B2 (en) | Printing control device | |
| JPS63134276A (en) | Printer | |
| JP2756046B2 (en) | Thermal transfer printer | |
| JPS62220346A (en) | Recording control method |
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 |