JPS6122836B2 - - Google Patents

Info

Publication number
JPS6122836B2
JPS6122836B2 JP58090486A JP9048683A JPS6122836B2 JP S6122836 B2 JPS6122836 B2 JP S6122836B2 JP 58090486 A JP58090486 A JP 58090486A JP 9048683 A JP9048683 A JP 9048683A JP S6122836 B2 JPS6122836 B2 JP S6122836B2
Authority
JP
Japan
Prior art keywords
label
digit
digits
barcode
data
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
Application number
JP58090486A
Other languages
Japanese (ja)
Other versions
JPS5911277A (en
Inventor
Isao Igawa
Masao Kurimoto
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.)
Toshiba Tec Corp
Original Assignee
Tokyo Electric Co 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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP58090486A priority Critical patent/JPS5911277A/en
Publication of JPS5911277A publication Critical patent/JPS5911277A/en
Publication of JPS6122836B2 publication Critical patent/JPS6122836B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K1/00Methods or arrangements for marking the record carrier in digital fashion
    • G06K1/12Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching
    • G06K1/121Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching by printing code marks

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】 この発明はラベルにプリントアウトするバーコ
ードの桁数を各種設定できるバーコードプリンタ
ーに関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a barcode printer that allows various settings for the number of digits of a barcode printed on a label.

一般にバーコードの桁数を各種設定できるバー
コードプリンターではプリントアウトするバーコ
ードの桁数に応じてラベルのサイズを変化し、ラ
ベルに対してバーコードが一定の基準をもつてプ
リントされるようにしている。
In general, barcode printers that allow you to set the number of barcode digits in various ways change the size of the label depending on the number of digits in the barcode to be printed, so that the barcode is printed on the label with a certain standard. ing.

従来、この種ラベルプリンターではバーコード
の桁数を設定し、それに合わせてラベルのサイズ
を設定してもバーコード印字機構は入力データに
もとづいてバーコードをラベルにプリントアウト
してしまうため、たとえばラベルのサイズが9桁
用のものであるにもかかわらず13桁の入力データ
があるとバーコード印字機構は9桁用のラベルに
対して13桁のバーコードをプリントアウトしてし
まい不良バーコードラベルを発行する問題があつ
た。
Conventionally, in this type of label printer, even if you set the number of digits for the barcode and set the label size accordingly, the barcode printing mechanism prints out the barcode on the label based on the input data, so for example Even though the label size is for 9 digits, if there is input data of 13 digits, the barcode printing mechanism will print out a 13 digit barcode for the 9 digits label, resulting in a defective barcode. There was a problem with issuing labels.

この発明はこのような問題を解決するために考
えられたもので不良バーコードラベルを発行する
虞がないバーコードプリンターを提供することを
目的とする。
The present invention was devised to solve such problems, and an object of the present invention is to provide a barcode printer that is free from the risk of issuing defective barcode labels.

以下、この発明の実施例を図面を参照して説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

先ず第1図に示すものはバーコードプリンター
の外観図で、1はラベル供給リール、2はラベル
巻取りリール、3はワンタイムリボン供給リー
ル、4はワンタイムリボン巻取りリール、5はバ
ーコード印字機構、6はラベル位置検出器であ
る。前記ラベル供給リール1に巻装されたラベル
7を前記ラベル位置検出器6およびバーコード印
字機構5を介して前記ラベル巻取りリール2で巻
取るようにしている。また、前記リボン供給リー
ル3に巻装されたワンタイムリボン8を前記バー
コード印字機構5を介して前記リボン巻取りリー
ル4で巻取るようにしている。また、9はキーボ
ード10、表示器11、操作スイツチ群12、カ
ード挿入口13を設けた操作部である。前記バー
コード印字機構5およびラベル位置検出器6は第
2図に示すように構成されている。すなわち、前
記バーコード印字機構5は内部に印字ドラム(図
示せず)を収納した印台5aとこの印台5aに対
向して設けられたハンマー5bとからなり、この
ハンマー5bと印台5aとの間をラベル7とワン
タイムリボン8を合わせて通過させるようにして
いる。なお、上記ラベル7はたとえば透明なテー
プ14上に所定の間隔をあけて付着され、印字機
構5に対して間欠的にフイードされるようになつ
ている。また、前記ラベル位置検出器6は一側端
にラツク6aを形成し、中央部に長孔6bをあけ
た平坦な基盤6cの他側端略中央部に、上記基盤
6cに直交するようにして縦長な検出器本体6d
を取付けている。この検出器本体6dはその上端
部に巾の狭い縦割り溝6eを設け、その溝6eを
間に介して一方にランプ等を収納した発光部6f
を形成するとともに他方にフオトトランジスタ等
を収納した受光部6gを形成し、上記溝6eに前
記ラベル7を付着したテープ14を通すようにし
ている。また、上記検出器本体6dはその下端部
先端面にスイツチ駆動部材として永久磁石15を
付着している。前記ラベル位置検出器6の基盤6
cに設けられたラツク6aにはピニヨン16が噛
合するようになつている。上記ピニヨン16は一
端部つまみ状に形成した操作部材17の他端に取
付けられているものである。前記ラベル位置検出
器6の検出器本体6dの下方に位置して複数、た
とえば5本のリードスイツチ18a,18b,1
8c,18d,18eを所定の間隔をあけて平板
18f上に取り付けたスイツチ機構を設けてい
る。このスイツチ機構に取付けられた各リードス
イツチ18a,18b,18c,18d,18e
は上記検出器本体6dに付着されている永久磁石
15によつて選択的に付勢されるもので、上記永
久磁石15が丁度真上に来るとその磁石15の磁
気力によつてスイツチング動作するようにしてい
る。前記各リードスイツチ18a,18b,18
c,18d,18eの位置はそれぞれ各種サイズ
の異なるラベル、たとえば9桁,11桁,13桁,15
桁,17桁用のラベルに対応して設定されており、
前記永久磁石15とで桁設定器19を形成してい
る。そして前記バーコード印字機構5とラベル位
置検出器6との位置関係および上記ラベル位置検
出器6と各スイツチ18a,18b,18c,1
8d,18eとの位置関係は第3図に示すように
なつている。すなわち、バーコード印字機構5に
対してラベル7をプリント動作を開始できる位置
に設定する場合は、位置設定を行なうラベル7a
から数えて2番目と3番目のラベル7b,7c間
の間隙をラベル位置検出器6の発光部6fと受光
部6gとによつて検出し、その検出出力によつて
ラベルフイードモータ(図示せず)によるテープ
14のフイードを停止させることによつて行なう
ようにしている。そしてそのとき永久磁石15に
よつて上記ラベル7a,7b,7c,…のサイズ
に対応したリードスイツチが付勢されるようにな
つている。しかしてたとえば今、13桁目のラベル
が搬送されており、そのラベルをバーコード印字
機構5によつてプリント動作を開始できる位置に
停止するようにラベル位置検出器6の位置設定を
行なうと桁設定器19は永久磁石15によつて13
桁用のラベルに対応して設けられたリードスイツ
チ18cを付勢するように設定されている。前記
操作部9は第4図に示すように形成されている。
つまりキーボード10には置数キー10a、枚数
指定キー10b、プリントキー10c、クリアキ
ー10d等が配設され、表示器11には動作中、
カードイン、エラー等を表示するランプ11a、
1桁からなるラベル番号表示器11bおよび3桁
からなる発行枚数表示器11cが配設され、かつ
操作スイツチ群12には電源スイツチ12a、計
量値付装置あるいはその他の端末機等の外部機器
からデータを入力する場合に操作されるオンライ
ンスイツチ12b、キーボード10あるいはカー
ド読取器からデータを入力する場合に操作される
オフラインスイツチ12c等が配設されている。
前記ラベル番号表示器11bは前記ラベル位置検
出器6の設定位置に応動する桁設定器19の各リ
ードスイツチ18a,18b,18c,18d,
18eのスイツチング動作に応じたラベルサイズ
を示すラベル番号を表示するもので、検出器6が
9桁用のラベルに対応して位置設定されリードス
イツチ18aが付勢されると番号「1」を表示
し、11桁用のラベルに対応して位置設定されリー
ドスイツチ18bが付勢されると番号「2」を表
示し、13桁用のラベルに対応して位置設定されリ
ードスイツチ18cが付勢されると番号「3」を
表示し、15桁用のラベルに対応して位置設定され
リードスイツチ18dが付勢されると番号「4」
を表示し、かつ17桁用のラベルに対応して位置設
定されリードスイツチ18eが付勢されると番号
「5」を表示するようにしている。前記発行枚数
表示器11cは前記キーボード10において置数
キー10a、枚数指定キー10bの操作によつて
ラベルの発行枚数が設定されると、それを表示す
るようにしている。なお、上記ラベル番号表示器
11b、発行枚数表示器11cはたとえば発光ダ
イオードからなる7セグメント表示器によつて形
成されるものである。
First of all, what is shown in Fig. 1 is an external view of a barcode printer. 1 is a label supply reel, 2 is a label take-up reel, 3 is a one-time ribbon supply reel, 4 is a one-time ribbon take-up reel, and 5 is a barcode. In the printing mechanism, 6 is a label position detector. The label 7 wound on the label supply reel 1 is wound up on the label winding reel 2 via the label position detector 6 and the barcode printing mechanism 5. Further, the one-time ribbon 8 wound around the ribbon supply reel 3 is wound up by the ribbon take-up reel 4 via the barcode printing mechanism 5. Further, reference numeral 9 denotes an operation section provided with a keyboard 10, a display 11, a group of operation switches 12, and a card insertion slot 13. The barcode printing mechanism 5 and label position detector 6 are constructed as shown in FIG. That is, the barcode printing mechanism 5 consists of a marking stand 5a that houses a printing drum (not shown) inside, and a hammer 5b provided opposite to the marking stand 5a. The label 7 and one-time ribbon 8 are passed together. The labels 7 are attached, for example, to a transparent tape 14 at predetermined intervals, and are intermittently fed to the printing mechanism 5. Further, the label position detector 6 has a rack 6a formed at one end thereof, and a flat base 6c having a long hole 6b in the center thereof, approximately in the center of the other end thereof, so as to be perpendicular to the base 6c. Vertically long detector body 6d
is installed. This detector main body 6d has a narrow vertically divided groove 6e in its upper end, and a light emitting part 6f that houses a lamp etc. on one side with the groove 6e in between.
A light receiving section 6g containing a phototransistor etc. is formed on the other side, and the tape 14 with the label 7 attached thereto is passed through the groove 6e. Further, the detector main body 6d has a permanent magnet 15 attached to the tip end surface of its lower end as a switch driving member. Base 6 of the label position detector 6
A pinion 16 is adapted to mesh with a rack 6a provided at the position c. The pinion 16 is attached to the other end of an operating member 17 whose one end is shaped like a knob. A plurality of, for example, five, reed switches 18a, 18b, 1 are located below the detector main body 6d of the label position detector 6.
A switch mechanism is provided in which switches 8c, 18d, and 18e are mounted on a flat plate 18f at predetermined intervals. Each reed switch 18a, 18b, 18c, 18d, 18e attached to this switch mechanism
is selectively energized by a permanent magnet 15 attached to the detector main body 6d, and when the permanent magnet 15 comes directly above, the switching operation is performed by the magnetic force of the magnet 15. That's what I do. Each of the reed switches 18a, 18b, 18
The positions c, 18d, and 18e are labels of various sizes, such as 9 digits, 11 digits, 13 digits, and 15 digits.
It is set to correspond to the label for digits and 17 digits,
The permanent magnet 15 forms a digit setter 19. The positional relationship between the barcode printing mechanism 5 and the label position detector 6, and the relationship between the label position detector 6 and each switch 18a, 18b, 18c, 1
The positional relationship with 8d and 18e is as shown in FIG. That is, when setting the label 7 to a position where the printing operation can start with respect to the barcode printing mechanism 5, the label 7a for which position setting is to be performed is performed.
The gap between the second and third labels 7b and 7c counted from This is done by stopping the feeding of the tape 14 by (1). At that time, the reed switches corresponding to the sizes of the labels 7a, 7b, 7c, . . . are energized by the permanent magnet 15. For example, if a label at the 13th digit is currently being conveyed and the position of the label position detector 6 is set so that the label is stopped at a position where the barcode printing mechanism 5 can start printing, the digit The setting device 19 is set to 13 by the permanent magnet 15.
It is set to energize a reed switch 18c provided corresponding to the digit label. The operating section 9 is formed as shown in FIG. 4.
That is, the keyboard 10 is provided with a number key 10a, a number designation key 10b, a print key 10c, a clear key 10d, etc.
A lamp 11a that displays card-in, error, etc.;
A one-digit label number display 11b and a three-digit issue number display 11c are provided, and the operation switch group 12 receives data from a power switch 12a, a weighing value marking device, or other external equipment such as a terminal. An online switch 12b, which is operated when inputting data, and an offline switch 12c, which is operated when inputting data from the keyboard 10 or card reader, are provided.
The label number display 11b has respective reed switches 18a, 18b, 18c, 18d,
It displays a label number indicating the label size according to the switching operation of switch 18e, and when the detector 6 is set to a position corresponding to a 9-digit label and the reed switch 18a is energized, the number "1" is displayed. When the position is set corresponding to the 11-digit label and the reed switch 18b is energized, the number "2" is displayed, and the position is set corresponding to the 13-digit label and the reed switch 18c is energized. Then, the number "3" is displayed, and when the position is set corresponding to the 15-digit label and the reed switch 18d is energized, the number "4" is displayed.
is displayed, and when the position is set corresponding to the 17-digit label and the reed switch 18e is energized, the number "5" is displayed. When the number of labels to be issued is set by operating the number key 10a and the number designation key 10b on the keyboard 10, the number display 11c displays the number of labels to be issued. The label number display 11b and the issued number display 11c are formed by, for example, a 7-segment display made of light emitting diodes.

また、第5図に示すものはバーコードプリント
ターの回路構成を示すブロツク図である。この第
5図において特徴的なことはランダム・アクセ
ス・メモリー(RAM)20内に入力データを記
憶するデータ記憶部としての置数バツフアメモリ
ー(BM)21を設けるとともに前記ラベル位置
検出器6の位置設定による前記桁設定器19の各
リードスイツチ18a〜18eのスイツチング動
作によつて発生する桁数データを記憶し、その記
憶した桁数データによつて上記置数バツフアメモ
リー21の入力データの桁オーバを検出する桁数
データ記憶部(DM)22を設けた点にある。
Moreover, what is shown in FIG. 5 is a block diagram showing the circuit configuration of the barcode printer. 5 is characterized in that a random access memory (RAM) 20 is provided with a buffer memory (BM) 21 as a data storage unit for storing input data, and the label position detector 6 is The number of digits data generated by the switching operation of each reed switch 18a to 18e of the digit setter 19 according to the position setting is stored, and the input data of the number buffer memory 21 is stored using the stored number of digits data. The point is that a digit number data storage unit (DM) 22 is provided to detect digit overflow.

23は中央処理回路(CPU)で、の中央処理
回路23は電源の投入によりプログラム実行回路
(ROM)24に初期プログラムの実行命令を送出
するようにしている。前記プログラム実行回路2
4は切期プログラムによつてメモリクリヤおよび
他のプログラムの初期セツトを行なわせるととも
に前記ラベル供給リール1を駆動するラベルフイ
ードモータ25および前記ラベル巻取りリール2
を駆動するラベル巻取りモータ26を駆動させて
ラベル7をフイードさせ、かつ前記ラベル位置検
出器6から供給される検出出力によつてラベル7
を前記バーコード印字機構5がプリント動作を開
始できる所定位置に停止させるようにしている。
また、前記プログラム実行回路24は初期プログ
ラムによつてRAM20の桁数データ記憶器22
にラベル位置検出器6の位置設定によつて桁設定
器19から発生する桁数データを書き込むように
している。さらに、プログラム実行回路24はラ
ベル7のフイードに先立つて初期プログラムによ
り前記リボン供給リール3を駆動するリボンフイ
ードモータ27および前記リボン巻取りリール4
を駆動するリボン巻取りモータ28を駆動して前
記ワンタイムリボン8を1桁分フイードさせるよ
うにしている。
23 is a central processing circuit (CPU), and the central processing circuit 23 sends an initial program execution command to a program execution circuit (ROM) 24 when the power is turned on. The program execution circuit 2
Reference numeral 4 denotes a label feed motor 25 for clearing the memory and initial setting of other programs according to an expiration program, and driving the label supply reel 1, and the label take-up reel 2.
The label winding motor 26 that drives the label winding motor 26 is driven to feed the label 7, and the label 7 is fed by the detection output supplied from the label position detector 6.
is stopped at a predetermined position where the barcode printing mechanism 5 can start printing operation.
Further, the program execution circuit 24 executes the digit number data storage 22 of the RAM 20 according to the initial program.
The digit number data generated from the digit setter 19 is written in by setting the position of the label position detector 6. Further, the program execution circuit 24 operates a ribbon feed motor 27 that drives the ribbon supply reel 3 and the ribbon take-up reel 4 according to an initial program prior to feeding the label 7.
A ribbon winding motor 28 is driven to feed the one-time ribbon 8 by one digit.

前記オンラインスイツチ12bおよびオフライ
ンスイツチ12cはいわゆるモード切換えスイツ
チで、オンラインスイツチ12bが操作されると
計量値付装置29あるいはその他の端末機30か
らそれぞれデータ変換回路31,32を介してプ
ログラム実行回路24にデータが送られるように
なつており、又オフラインスイツチ12cが操作
されるとカード読取器33あるいはキーボード1
0から必要なデータがプログラム実行回路24に
送られるようになつている。そしてプログラム実
行回路24に送られたデータは中央処理回路23
のプログラム実行命令にしたがつてRAM20に
送られ、そのRAM20内に設けられた置数バツ
フアメモリー21に一時貯えられる。しかして
RAM20は置数バツフアメモリー21に貯えら
れたデータの桁数が設定桁数通りになつているか
否かを桁数データ記憶器22に記憶されている桁
数データと比較して調べる。この検出手段として
はたとえば置数バツフアメモリー21のすべての
桁ビツトに信号“F”を予め立たせるとともにそ
の桁ビツトの内でデータ記憶器22に記憶されて
いる桁数データの指定する桁よりも1つ多い桁の
桁ビツトをチエツクし、入力データによつてその
チエツクしている桁ビツトの内容“F”が変化す
るのを調べて桁オーバを検出する手段、あるいは
置数バツフアメモリー21に入力するデータの桁
数をカウンタでカウントし、そのカウント数がデ
ータ記憶器22に記憶されている桁数データの数
置を越えるのを調べて桁オーバを検出する手段を
使用すればよい。そしてRAM20に入力された
データの桁数が桁オーバをしていなければ、
RAM20はプリントキー10cの操作によつて
動作中表示信号をラツチ34に入力し、プログラ
ム実行回路24からの制御クロツクとの一致を得
て前記ランプ11aを駆動し動作中表示を行なわ
せるとともにデータをプリンターインターフエイ
ス35に入力し、プログラム実行回路24からの
制御クロツクとの一致を得て前記バーコード印字
機構5でプリントアウトさせる。またRAM20
に入力されたデータの桁数が桁オーバをしていな
ければ、RAM20は中央処理回路23から指令
を受けてデータの送出を禁止するとともにランプ
11aを駆動し、エラー表示を行なわせる。デー
タがバーコード印字機構5でプリントアウトする
ときはバーコードの1桁分のプリントアウト動作
毎にラベルフイードおよびリボンフイードが行な
われる。そしてバーコードラベルの発行動作、つ
まり1枚のラベルに対するバーコードのプリント
アウトが終了すると前記同様プログラム実行回路
24によつてラベルフイードモータ25、ラベル
巻取りリール26、リボンフイードモータ27お
よびリボン巻取りモータ28を駆動してラベルお
よびリボンをフイードし、次にプリントアウトす
べきラベルおよび次に使用されるべきリボンの未
使用部を所定位置に配置するようにしている。な
お、前記RAM20はサイクルビツトのタイミン
グクロツクをシフトレジスタ37およびキーボー
ド10を介してプログラム実行回路24へ送出し
ており、キーボード10においてどのキーが操作
されたかをプログラム実行回路24で判断できる
ようにしている。
The online switch 12b and the offline switch 12c are so-called mode changeover switches, and when the online switch 12b is operated, data is sent from the weighing value adding device 29 or other terminal 30 to the program execution circuit 24 via data conversion circuits 31 and 32, respectively. When data is sent and the offline switch 12c is operated, the card reader 33 or keyboard 1
Necessary data is sent to the program execution circuit 24 from 0 onwards. The data sent to the program execution circuit 24 is sent to the central processing circuit 23.
The data is sent to the RAM 20 in accordance with the program execution command, and is temporarily stored in a number buffer memory 21 provided within the RAM 20. However
The RAM 20 checks whether the number of digits of the data stored in the number buffer memory 21 matches the set number of digits by comparing it with the number of digits data stored in the number of digits data storage 22. As this detection means, for example, a signal "F" is set in advance on all digit bits of the digit buffer memory 21, and among the digit bits, the digit designated by the digit number data stored in the data storage 22 is detected. A means for detecting digit overflow by checking the digit bit of the digit that is one more than the other digit and checking whether the content "F" of the digit bit being checked changes depending on the input data, or a digit buffer memory 21 It is sufficient to use means for counting the number of digits of data inputted into the data using a counter and checking if the counted number exceeds the number of digits data stored in the data storage device 22 to detect an overage of digits. And if the number of digits of the data input to RAM20 does not exceed the number of digits,
The RAM 20 inputs an in-operation display signal to the latch 34 by operating the print key 10c, and when it matches the control clock from the program execution circuit 24, drives the lamp 11a to display an in-operation display and also outputs data. The data is input to the printer interface 35, and the bar code is printed out by the bar code printing mechanism 5 after matching with the control clock from the program execution circuit 24. Also RAM20
If the number of digits of the input data does not exceed the number of digits, the RAM 20 receives a command from the central processing circuit 23 to prohibit data transmission, and also drives the lamp 11a to display an error message. When data is printed out by the barcode printing mechanism 5, label feeding and ribbon feeding are performed every time the barcode is printed out for one digit. When the barcode label issuing operation, that is, the printing out of the barcode for one label, is completed, the program execution circuit 24 similarly controls the label feed motor 25, the label take-up reel 26, the ribbon feed motor 27, and the ribbon. The take-up motor 28 is driven to feed the label and ribbon, and to place the label to be printed out next and the unused portion of the ribbon to be used next in a predetermined position. The RAM 20 sends a cycle bit timing clock to the program execution circuit 24 via the shift register 37 and the keyboard 10, so that the program execution circuit 24 can determine which key on the keyboard 10 has been operated. ing.

したがつてこのバーコードプリンターにおける
桁数オーバチエツクの制御過程をフローチヤート
で示すと第6図に示すようになる。すなわち電源
投入後においてメモリクリヤおよびリボンフイー
ドが終了するとラベル位置検出器6による位置設
定が行なわれ、それに応動する桁設定器19によ
つて桁設定が行なわれる。しかして桁設定が9
桁,11桁,13桁,15桁,17桁かであるかによつて
それぞれ9桁〜17桁までのいずれかの桁オーバチ
エツクが行なわれる。この桁オーバチエツクはた
とえば第7図および第8図に示すように置数バツ
フアメモリー21の桁ビツトチエツクおよびカウ
ンタを使用しての桁数チエツクによつて行なわれ
る。そして桁オーバがチエツクされるとエラー処
理されデータのプリントアウトは禁止される。ま
た桁オーバでなければバーコードラベルが発行さ
れる。
Therefore, the control process for over-checking the number of digits in this bar code printer is shown in a flowchart as shown in FIG. That is, when the memory clear and ribbon feed are completed after the power is turned on, position setting is performed by the label position detector 6, and digit setting is performed by the digit setter 19 responsive thereto. However, the digit setting is 9
Depending on whether it is a digit, 11 digit, 13 digit, 15 digit, or 17 digit, any digit overcheck from 9 digits to 17 digits is performed. This digit overcheck is performed, for example, by checking the digit bits in the numeric buffer memory 21 and checking the number of digits using a counter, as shown in FIGS. 7 and 8, for example. If digit overflow is checked, an error is processed and printing of the data is prohibited. Also, if the number of digits is not exceeded, a barcode label will be issued.

このように予め設定した桁数に対して入力デー
タの桁数がオーバするとエラーとなつてバーコー
ドラベルの発行が行なわれないので、常に所定サ
イズのラベルに対して所定桁数のバーコードをプ
リントアウトすることができ不良バーコードラベ
ルを発行する虞はない。
In this way, if the number of digits in the input data exceeds the preset number of digits, an error will occur and a barcode label will not be issued, so a barcode with a predetermined number of digits will always be printed for a label of a predetermined size. There is no risk of issuing a defective barcode label.

またラベル7をバーコード印字機構5によつて
プリント動作を開始できる位置に停止するように
ラベル位置検出器6の位置設定を行なうと桁設定
器19の永久磁石15がラベル7の桁数に対応し
たリードスイツチを付勢して桁設定を行つている
ので、ラベルサイズと桁設定とを確実に対応させ
ることができる。
When the label position detector 6 is set so that the label 7 is stopped at a position where the barcode printing mechanism 5 can start printing, the permanent magnet 15 of the digit setter 19 corresponds to the number of digits on the label 7. Since the digit setting is performed by energizing the reed switch, the label size and digit setting can be made to correspond reliably.

なお、前記実施例では桁設定器としてラベルの
各種サイズに対応して互に所定の間隔をあけて設
置された複数のリードスイツチとラベル位置検出
器の位置変化に応動する永久磁石とで構成したも
のについて述べたがかならずしもこれに限定され
るものでないのは勿論である。また前記実施例で
は入力データの桁オーバを検出する手段として置
数バツフアメモリー21の桁ビツトに立てられて
いる信号をチエツクして桁オーバを検出する手段
および入力データの桁数をカウンタでカウントし
て桁オーバを検出する手段を述べたがかならずし
もこれに限定されるものでないのは勿論である。
In the above embodiment, the digit setting device is composed of a plurality of reed switches installed at predetermined intervals corresponding to various sizes of labels, and a permanent magnet that responds to changes in the position of the label position detector. Although we have described the above, it is needless to say that the invention is not limited to this. Further, in the above embodiment, as a means for detecting over-digits of input data, there is a means for checking the signal set in the digit bit of the number buffer memory 21 to detect over-digits, and a counter counts the number of digits of input data. Although the method for detecting digit overflow has been described above, it is needless to say that the method is not limited thereto.

以上詳述したようにこの発明によればプリント
アウト操作によりバーコード印字機構で、入力デ
ータを記憶するデータ記憶器から供給される印字
データにもとづいてラベルにバーコードをプリン
トアウトするようにし、かつ上記ラベルにプリン
トアウトすべきバーコードの桁数をラベル位置検
出器の位置設定に応動する桁設定器で設定するう
にし、上記桁設定器で設定された桁数と上記デー
タ記憶器に記憶される入力データの桁数とを比較
することによつて入力データの桁オーバを検出す
るようにしているので、入力データの桁オーバを
確実に知ることができ、不良バーコードラベルを
発行する虞がなく、しかもラベルサイズと桁設定
とを確実に対応させることができるバーコードプ
リンターを提供できるものである。
As detailed above, according to the present invention, the barcode printing mechanism prints out the barcode on the label based on the print data supplied from the data storage device that stores input data by the printout operation, and The number of digits of the barcode to be printed on the label is set using a digit setting device that responds to the position setting of the label position detector, and the number of digits set by the digit setting device and stored in the data storage device are By comparing the number of digits in the input data with the number of digits in the input data, it is possible to detect excess digits in the input data. Therefore, it is possible to provide a barcode printer that can reliably match the label size and digit setting.

【図面の簡単な説明】[Brief explanation of the drawing]

図はこの発明の実施例を示すもので、第1図は
外観を示す斜視図、第2図は要部の斜視図、第3
図はバーコード印字機構、ラベル位置検出器およ
びスイツチの位置関係を示す側面図、第4図は操
作部を示す展開図、第5図は回路構成を示すブロ
ツク図、第6図は桁オーバチエツクの制御過程を
示すフローチヤート、第7図,第8図は桁オーバ
の検出手段を示すフローチヤートである。 5……バーコードプリンター、6……ラベル位
置検出器、7……ラベル、15……永久磁石、1
8a,18b,18c,18d,18e……リー
ドスイツチ、19……桁設定器、20……ランダ
ム・アクセス・メモリー、21……置数バツフア
メモリ、22……桁数データ記憶器。
The figures show an embodiment of the present invention, in which Fig. 1 is a perspective view showing the external appearance, Fig. 2 is a perspective view of the main part, and Fig. 3 is a perspective view showing the main part.
The figure is a side view showing the positional relationship of the barcode printing mechanism, label position detector, and switch, Figure 4 is a developed view showing the operation section, Figure 5 is a block diagram showing the circuit configuration, and Figure 6 is a digit overcheck. FIGS. 7 and 8 are flowcharts showing the over-digit detection means. 5... Barcode printer, 6... Label position detector, 7... Label, 15... Permanent magnet, 1
8a, 18b, 18c, 18d, 18e...read switch, 19...digit setter, 20...random access memory, 21...number buffer memory, 22...digit number data storage device.

Claims (1)

【特許請求の範囲】[Claims] 1 入力データを記憶するデータ記憶器と、プリ
ントアウト操作により上記データ記憶器から供給
される印字データにもとづいてバーコードをラベ
ルにプリントアウトするバーコード印字機構と、
この印字機構に搬送されるラベルをラベルの搬送
位置を検出してセツトするラベル位置検出器と、
このラベル位置検出器の位置設定に応動して上記
ラベルにプリントアウトすべきバーコードの桁数
を可変設定する桁設定器と、この桁設定器に設定
された桁数と上記データ記憶器に記憶される入力
データの桁数とを比較することによつて上記入力
データの桁オーバを検出する検出手段とを具備し
たことを特徴とするバーコードプリンタ。
1 a data storage device that stores input data; a barcode printing mechanism that prints out a barcode on a label based on print data supplied from the data storage device through a printout operation;
a label position detector that detects the label conveyance position and sets the label conveyed to the printing mechanism;
A digit setting device that variably sets the number of digits of the barcode to be printed on the label in response to the position setting of the label position detector, and a digit setting device that stores the number of digits set in this digit setting device in the data storage device. 1. A barcode printer comprising: detecting means for detecting over-digits in the input data by comparing the number of digits in the input data.
JP58090486A 1983-05-23 1983-05-23 barcode printer Granted JPS5911277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58090486A JPS5911277A (en) 1983-05-23 1983-05-23 barcode printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58090486A JPS5911277A (en) 1983-05-23 1983-05-23 barcode printer

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP14574775A Division JPS5269232A (en) 1975-12-05 1975-12-05 Bar-code printer

Publications (2)

Publication Number Publication Date
JPS5911277A JPS5911277A (en) 1984-01-20
JPS6122836B2 true JPS6122836B2 (en) 1986-06-03

Family

ID=13999873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58090486A Granted JPS5911277A (en) 1983-05-23 1983-05-23 barcode printer

Country Status (1)

Country Link
JP (1) JPS5911277A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106241424B (en) * 2016-08-31 2018-03-02 杨志平 Cylindrical workpiece printing package all-in-one

Also Published As

Publication number Publication date
JPS5911277A (en) 1984-01-20

Similar Documents

Publication Publication Date Title
US4797018A (en) Ribbon cassette and method for operating an electronically controlled typewriter
US4630067A (en) Bar code printer
EP0278169B1 (en) Input system for a data processing apparatus
EP0020158A2 (en) Time and elapsed time recorder operative with cards and the like
US4765765A (en) Label printer
US4506274A (en) Time card recorder and method for identifying employee work schedule
US3894215A (en) Time clock system
JPS6122836B2 (en)
US4034209A (en) Recording device
JPS6463177A (en) Image forming device
US4810117A (en) Printer with a ribbon lift mechanism having selective time intervals either in typewriter mode or in printer mode
JPS6163473A (en) printer
JPS6427970A (en) Label-issuing device
JPS57140183A (en) Tag printer
JP2002187313A (en) How to control a label printer
JPS6233134B2 (en)
JPS6431280A (en) Label issuing device
JPH021739B2 (en)
SU722730A1 (en) Numerical program-control machine tool with automatic tool change
JPS584679Y2 (en) Dot printer dot needle drive power control circuit
JPS63137879A (en) Printer and ink ribbon cartridge for said printer
JPH0371278A (en) Identification code reader
JPS62257592A (en) cash register device
JPS60155490A (en) Label printer
KR20000067678A (en) ribbon exchange time invitation method of dot printer