JPH0620077A - Character width calculating system - Google Patents

Character width calculating system

Info

Publication number
JPH0620077A
JPH0620077A JP17676992A JP17676992A JPH0620077A JP H0620077 A JPH0620077 A JP H0620077A JP 17676992 A JP17676992 A JP 17676992A JP 17676992 A JP17676992 A JP 17676992A JP H0620077 A JPH0620077 A JP H0620077A
Authority
JP
Japan
Prior art keywords
character
bar
width
character width
registration
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
Application number
JP17676992A
Other languages
Japanese (ja)
Other versions
JP2693897B2 (en
Inventor
Hiroko Kawasaki
浩子 川崎
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP17676992A priority Critical patent/JP2693897B2/en
Publication of JPH0620077A publication Critical patent/JPH0620077A/en
Application granted granted Critical
Publication of JP2693897B2 publication Critical patent/JP2693897B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Printers Characterized By Their Purpose (AREA)

Abstract

PURPOSE:To improve the efficiency of character width calculation and to shorten the time required for calculation of the character width of the same character. CONSTITUTION:This system is characterized by providing a bar code printer, which registers.respective width values of wide black and white bare and narrow black and white bars of each print object code in a first register means 2, with a second register means 4 which has a number information area 4A for each of wide black and white bars and narrow black and white bars as a part of pattern data corresponding to each print object code and an operation means 6 which operates the product between the number of each bars obtained by referring to the second register means 4 with the print object code and the corresponding width value in the first register means 2 and calculates the sum of products and using the sum outputted from the operation means 6 to expand a character to a character expansion area.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、キャラクタを構成する
バーの本数をキャラクタ幅の算定に用いるキャラクタ幅
算出方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character width calculation method which uses the number of bars forming a character to calculate the character width.

【0002】販売時点情報管理システム(POSシステ
ム)等では、バーコード印刷装置が用いられている。こ
のバーコード印刷装置は、そのホストコンピュータから
受信した印刷データ毎に、バーコード印刷装置において
バーコードを表すパターンデータ(以下、キャラクタと
いう。キャラクタはバーコードに対応する。)に展開記
憶してバーコード印刷をするようにしている。そのキャ
ラクタへの展開において、キャラクタを構成するキャラ
クタ幅を算定する必要がある。
Bar code printers are used in point-of-sale information management systems (POS systems) and the like. This bar code printing device expands and stores, for each print data received from the host computer, pattern data (hereinafter referred to as a character, which corresponds to a bar code) representing a bar code in the bar code printing device and stores the bar code data. I try to print the code. In developing the character, it is necessary to calculate the width of the character that constitutes the character.

【0003】[0003]

【従来の技術】前記バーコード印刷装置の概略構成は、
図7に示すように、インタフェースアダプタ(以下、A
DPという。)32と、該ADP32からの印刷データ
及び制御コマンドを解析し、実際の印刷処理及び動作処
理を行う印刷機構コンローラ34とから構成されてい
る。ADP32は、そのMPU36の制御の下にホスト
コンピュータ30からの印刷データ及び制御コマンドの
受信制御を行ってそれを印刷機構コンローラ34で理解
することができるデータストリームに変換して印刷機構
コンローラ34へ転送する。MPU36に前記制御を生
じさせるプログラムは、ROM38に予め格納されてい
る。又、その制御には、RAM40が用いられる。印刷
機構コンローラ34は、MPU42の制御の下に受信さ
れる印刷データ及び制御コマンドを解析し、その印刷デ
ータに対する文字パターン及びキャラクタをビットマッ
プメモリ(BMM)44上に展開し、展開されたビット
パターンに従った印刷動作を行なわせる。MPU42に
前記制御を生じさせるプログラムは、ROM46に予め
登録されている。又、バーコード印刷装置側に何かの変
化があったときそれをステータスでADP32に通知す
る。
2. Description of the Related Art The schematic construction of the bar code printer is as follows.
As shown in FIG. 7, the interface adapter (hereinafter referred to as A
It is called DP. ) 32 and a printing mechanism controller 34 that analyzes print data and control commands from the ADP 32 and performs actual print processing and operation processing. Under the control of the MPU 36, the ADP 32 controls reception of print data and a control command from the host computer 30, converts it into a data stream that can be understood by the print mechanism controller 34, and transfers the data stream to the print mechanism controller 34. To do. A program for causing the MPU 36 to perform the control is stored in the ROM 38 in advance. The RAM 40 is used for the control. The printing mechanism controller 34 analyzes the print data and the control command received under the control of the MPU 42, expands the character pattern and the character corresponding to the print data on the bitmap memory (BMM) 44, and the expanded bit pattern. Print operation according to the above. A program that causes the MPU 42 to cause the control is registered in the ROM 46 in advance. Also, when there is any change on the side of the barcode printer, the status is notified to the ADP 32.

【0004】前記キャラクタのビットマップメモリ44
への展開において、RAM48上に格納されているパタ
ーンテーブル50(図8参照)が設けられており、前述
のようにして、ADP32から転送されて来た印刷対象
コードに従ってバーコードパターンテーブル50から必
要なパターンデータを読み出してホストコンピュータ3
0から転送されて来た印刷対象コードに対応するキャラ
クタをBMM44上に展開して印刷に用いるようにして
いる。
Bit map memory 44 for the character
The pattern table 50 (see FIG. 8) stored in the RAM 48 is provided in the expansion to the above, and is required from the barcode pattern table 50 according to the print target code transferred from the ADP 32 as described above. And read the pattern data from the host computer 3
The character corresponding to the print target code transferred from 0 is developed on the BMM 44 and used for printing.

【0005】[0005]

【発明が解決しようとする課題】そのBMM44上への
キャラクタの展開において、キャラクタを構成する各バ
ーの幅を算出しなければならない。その算出方式として
は、各バーのバー幅を単純に合計するという方式もあ
る。これは、キャラクタを構成する広幅の黒バー及び白
バー、並びに狭幅の黒バー及び白バーの各幅を変更する
際の融通性に欠けることから、キャラクタを構成する広
幅の黒バー及び白バー、並びに狭幅の黒バー及び白バー
の各幅を定義することでキャラクタ幅の算出を簡略化す
る方式もある。この方式によるキャラクタ幅の算出は、
次の通りである。例えば、数字“0”($30)を構成
するバーコードの構成は図9の(A)に示すようなもの
であり、広幅の黒バー(WB)の幅値を6、狭幅の黒バ
ー(NB)の幅値を2、広幅の白バー(WS)の幅値を
3、狭幅の白バー(NS)の幅値を1〔単位ドット〕と
すると、キャラクタ“0”の幅は、図9の(B)に示す
ようになる。なお、数字“0”($30)のパターンデ
ータは、図10に示すように従来構成されており、当該
パターンデータを格納する一部領域に図8に示すように
8ビットのバー識別情報領域を設け、該バー識別情報領
域内のビット0及びビット1でバー幅情報を表し、又ビ
ット7で黒/白バー識別子としている。
When the character is developed on the BMM 44, the width of each bar forming the character must be calculated. As a calculation method, there is a method of simply totaling the bar widths of the bars. This is because the wide black bar and white bar that make up the character and the flexibility when changing the widths of the narrow black bar and white bar are lacking, so the wide black bar and white bar that make up the character are lacking. There is also a method of simplifying the calculation of the character width by defining the widths of the narrow black bar and the white bar. The calculation of the character width by this method is
It is as follows. For example, the configuration of the barcode forming the number "0" ($ 30) is as shown in FIG. 9A, in which the width value of the wide black bar (WB) is 6, and the width of the narrow black bar is 6. If the width value of (NB) is 2, the width value of the wide white bar (WS) is 3, and the width value of the narrow white bar (NS) is 1 [unit dot], the width of the character “0” is As shown in FIG. 9B. Note that the pattern data of the number “0” ($ 30) has been conventionally configured as shown in FIG. 10, and an 8-bit bar identification information area as shown in FIG. 8 in a partial area for storing the pattern data. Is provided, and the bar width information is represented by bit 0 and bit 1 in the bar identification information area, and the black / white bar identifier is represented by bit 7.

【0006】この従来のキャラクタ幅算出方式は、キャ
ラクタの各バー幅の設定値の変更で各バー幅の変更を行
うことはできるが、図9の(B)に示すように、予め設
定されている各バー幅を順次に加算して行かなければな
らない。従って、1キャラクタ幅の算出に時間が掛かる
ので、算出効率が悪い。又、同じキャラクタが連続的
に、又は頻出して指定される場合でも、その指定毎に図
9の(B)に示すような処理を繰り返さなければならな
かった。
In this conventional character width calculation method, each bar width can be changed by changing the set value of each bar width of the character, but as shown in FIG. 9B, it is set in advance. The width of each bar must be added in order. Therefore, it takes time to calculate the width of one character, and the calculation efficiency is poor. Further, even when the same character is designated continuously or frequently, the process as shown in FIG. 9B must be repeated for each designation.

【0007】本発明は、斯かる技術的課題に鑑みて創作
されたもので、キャラクタ幅の算出効率を向上させるこ
とに加えて、同一キャラクタのキャラクタ幅の算出時間
の短縮を達成し得るキャラクタ幅算出方式を提供するこ
とをその目的とする。
The present invention was created in view of such a technical problem, and in addition to improving the calculation efficiency of the character width, it is possible to shorten the calculation time of the character width of the same character. Its purpose is to provide a calculation method.

【0008】[0008]

【課題を解決するための手段】図1は、請求項1に係る
発明の原理ブロック図を示し、図2は、請求項2に係る
発明の原理ブロック図を示す。
FIG. 1 shows a principle block diagram of the invention according to claim 1, and FIG. 2 shows a principle block diagram of the invention according to claim 2.

【0009】請求項1に係る発明は、図1に示すよう
に、バーコードを構成する広幅の黒バー及び白バー、並
びに狭幅の黒バー及び白バーの各幅値を印刷対象コード
毎に第1の登録手段2に登録しているバーコード印刷装
置において、印刷対象コード対応のパターンデータの一
部として広幅の黒バー及び白バー、並びに狭幅の黒バー
及び白バー毎の本数情報領域4Aを印刷対象コード毎に
有する第2の登録手段4と、入力された印刷対象コード
で前記第2の登録手段4を参照して得られたバー毎の本
数と、前記第1の登録手段2の対応する幅値との積を取
り、その各積の和を算出する演算手段6とを設け、キャ
ラクタのキャラクタ展開領域への展開に前記演算手段6
から出力された和を用いることを特徴する。
According to the first aspect of the present invention, as shown in FIG. 1, the width values of the wide black bar and the white bar, and the narrow black bar and the white bar that form the bar code are set for each code to be printed. In the bar code printer registered in the first registration means 2, as a part of the pattern data corresponding to the print target code, a wide black bar and a white bar, and a narrow black bar and a white bar number information area Second registration means 4 having 4A for each print target code, the number of bars for each bar obtained by referring to the second registration means 4 with the input print target code, and the first registration means 2 And a calculation means 6 for calculating the sum of the respective products and the corresponding width value, and the calculation means 6 is used for expanding the character into the character expansion area.
It is characterized by using the sum output from.

【0010】請求項2に係る発明は、図2に示すよう
に、バーコードを構成する広幅の黒バー及び白バー、並
びに狭幅の黒バー及び白バーの各幅値を印刷対象コード
毎に第1の登録手段2に登録しているバーコード印刷装
置において、印刷対象コード対応のパターンデータの一
部として広幅の黒バー及び白バー、並びに狭幅の黒バー
及び白バー毎の本数情報領域4A及びキャラクタ幅登録
領域4Bを印刷対象コード毎に有する第2の登録手段4
と、入力された印刷対象コードで前記第2の登録手段4
を参照して得られたバー毎の本数と、前記第1の登録手
段2の対応する幅値との積を取り、その各積の和を算出
して出力する演算手段6とを設け、前記第2の登録手段
4のキャラクタ幅登録領域4Bにキャラクタ幅が登録済
でないとき前記演算手段6から出力された和を前記キャ
ラクタ幅登録領域4Bに登録すると共にその和を、又前
記キャラクタ幅登録領域4Bにキャラクタ幅が登録済で
あるとき該キャラクタ幅をキャラクタのキャラクタ展開
領域への展開に用いることを特徴する。
According to a second aspect of the present invention, as shown in FIG. 2, the width values of the wide black bar and the white bar and the narrow black bar and the white bar forming the bar code are set for each print object code. In the bar code printer registered in the first registration means 2, as a part of the pattern data corresponding to the print target code, a wide black bar and a white bar, and a narrow black bar and a white bar number information area Second registration means 4 having 4A and a character width registration area 4B for each print target code
And the second registration means 4 with the inputted print target code.
And a calculation means 6 for calculating the product of the product of the number of bars for each bar obtained by referring to and the corresponding width value of the first registration means 2 and outputting the sum. When the character width has not been registered in the character width registration area 4B of the second registration means 4, the sum output from the calculation means 6 is registered in the character width registration area 4B, and the sum is also registered in the character width registration area. When the character width is already registered in 4B, the character width is used for expanding the character in the character expansion area.

【0011】[0011]

【作用】請求項1に係る発明においては、バーコード印
刷装置に入力された印刷対象コードに対応する本数情報
領域4Aが参照されて広幅の黒バー及び白バー、並びに
狭幅の黒バー及び白バーについての本数情報が読み出さ
れる。又、広幅の黒バー及び白バー、並びに狭幅の黒バ
ー及び白バーの各幅値が、第1の登録手段2から読み出
される。
According to the first aspect of the invention, the number information area 4A corresponding to the print target code input to the barcode printing apparatus is referred to, and the wide black bar and the white bar, and the narrow black bar and the white bar are displayed. The number information about the bar is read. Further, the width values of the wide black bar and the white bar and the narrow black bar and the white bar are read from the first registration means 2.

【0012】読み出された本数情報と、これに対応する
幅値との積が、演算手段6で求められると共に、演算手
段6においてそれら積の和が算出される。従って、キャ
ラクタ幅の算出に要する演算を速くすることができる。
前記和がキャラクタ(バーコード対応)のキャラクタ展
開領域への展開に用いられる。
The product of the read number information and the width value corresponding thereto is calculated by the calculating means 6, and the sum of these products is calculated by the calculating means 6. Therefore, the calculation required to calculate the character width can be speeded up.
The sum is used to develop the character (corresponding to the bar code) in the character development area.

【0013】又、請求項2に係る発明においては、第2
の登録手段4のキャラクタ幅登録領域4Bにキャラクタ
幅が登録済でないとき前記演算手段6から出力された和
をキャラクタ幅登録領域4Bに登録すると共にその和
を、又登録済であるときにはキャラクタ幅登録領域4B
のキャラクタ幅を入力印刷対象コードに対するキャラク
タのキャラクタ展開領域への展開に用いられる。従っ
て、キャラクタ幅の演算処理時間の短縮となる。
In the invention according to claim 2, the second aspect
When the character width is not registered in the character width registration area 4B of the registration means 4, the sum output from the calculating means 6 is registered in the character width registration area 4B, and the sum is registered, and when the character width is registered, the character width registration is performed. Area 4B
The character width of is used to expand the character to the character expansion area for the input print target code. Therefore, the calculation processing time of the character width can be shortened.

【0014】[0014]

【実施例】図3は、請求項1及び請求項2に係る発明の
一実施例を示す。この実施例は、バーコード印刷装置の
印刷機構コントローラであり、図7に示される印刷機構
コントローラ34に対応する。その他の構成要素は、図
7と同様である。従って、図3に示すMPU20は図7
のMPU42に、ビットマップメモリ22は図7のビッ
トマップメモリ44に、ROM24は図7のROM46
に対応する。又、メモリ26及びメモリ28は、図7の
RAM48に対応する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 3 shows an embodiment of the invention according to claims 1 and 2. This embodiment is a printing mechanism controller of a barcode printing apparatus, and corresponds to the printing mechanism controller 34 shown in FIG. Other components are the same as those in FIG. 7. Therefore, the MPU 20 shown in FIG.
7, the bit map memory 22 is the bit map memory 44 of FIG. 7, and the ROM 24 is the ROM 46 of FIG.
Corresponding to. The memory 26 and the memory 28 correspond to the RAM 48 shown in FIG.

【0015】図4は、メモリ26に設けられるパターン
テーブルの登録内容の構成を示す。パターンテーブルの
索引手段である印刷対象コードとは、前述の数字“0”
($30)や、数字“1”($31)等である。それぞ
れの印刷対象コード毎に、従来と同様のパターンデータ
領域30のほかに、本発明で新たに設けられた本数情報
領域32及びキャラクタ幅登録領域(リザーブ)34が
ある。本数情報領域32は、印刷対象コードを幾何学的
パターンで表したキャラクタを構成する広幅の黒バー
(WB)、狭幅の黒バー(NB)、広幅の白バー(W
S)、及び狭幅の白バー(NS)の本数を各バー毎に登
録している(図5の(A)参照)。キャラクタ幅登録領
域34は、例えば2バイトで初期的には0000(H)
が設定され、キャラクタ算出後には算出されたキャラク
タ幅が登録される(図5の(A)参照)。(H)は16
進表示であることを表す。
FIG. 4 shows the structure of the registered contents of the pattern table provided in the memory 26. The print target code, which is the indexing means of the pattern table, is the above-mentioned numeral “0”.
($ 30) or the number "1" ($ 31). In addition to the conventional pattern data area 30 for each print target code, there is a number information area 32 and a character width registration area (reserve) 34 newly provided in the present invention. The number information area 32 includes a wide black bar (WB), a narrow black bar (NB), and a wide white bar (W) that form a character in which a print target code is represented by a geometric pattern.
S) and the number of narrow white bars (NS) are registered for each bar (see FIG. 5A). The character width registration area 34 is, for example, 2 bytes and is initially 0000 (H).
Is set, and the calculated character width is registered after the character is calculated (see (A) of FIG. 5). (H) is 16
Indicates that it is a decimal display.

【0016】ROM46には、キャラクタ幅を算出し、
その登録処理をするプログラム(図6参照)が格納され
ている。又、メモリ28には、当該バーコード印刷装置
における各WB、NB、WS、及びNSの値(ドット
数)が決められたとき、例えば図3のメモリ28に示す
ようなWB、NB、WS、及びNSの値が、各キャラク
タのバー構成とは別個に予め登録される。
The ROM 46 calculates the character width,
A program (see FIG. 6) for performing the registration process is stored. Further, when the WB, NB, WS, and NS values (the number of dots) in the barcode printing apparatus are determined in the memory 28, for example, WB, NB, WS, etc. as shown in the memory 28 of FIG. And NS values are registered in advance separately from the bar configuration of each character.

【0017】図3及び図4において、メモリ28は、図
1及び図2の第1の登録手段2に対応し、メモリ26の
本数情報領域32は、図1及び図2の本数情報領域4A
に対応する。メモリ26のキャラクタ幅登録領域34
は、図2のキャラクタ幅登録領域4Bに対応し、メモリ
26は、図1及び図2の第2の登録手段4に対応する。
MPU20及び図6の処理フローのステップS3を実行
するプログラムは、図1及び図2の演算手段6に対応す
る。
3 and 4, the memory 28 corresponds to the first registration means 2 of FIGS. 1 and 2, and the number information area 32 of the memory 26 is the number information area 4A of FIGS.
Corresponding to. Character width registration area 34 of the memory 26
Corresponds to the character width registration area 4B in FIG. 2, and the memory 26 corresponds to the second registration means 4 in FIGS.
The MPU 20 and the program that executes step S3 of the processing flow of FIG. 6 correspond to the computing unit 6 of FIGS. 1 and 2.

【0018】以下に、請求項1及び請求項2に係る発明
によるホストコンピュータから転送されて来た印刷対象
コードをビットマップメモリ22上にキャラクタ(バー
コード対応)として展開する際に必要なキャラクタ幅の
算出処理例を数字“0”について説明する。
A character width required for developing a print target code transferred from the host computer according to the first and second aspects of the present invention as a character (corresponding to a bar code) on the bit map memory 22. An example of the calculation processing of the number "0" will be described.

【0019】数字“0”についてキャラクタ幅の算出処
理が開始されたとすると、先ずパターンテーブルのキャ
ラクタ幅登録領域34の参照が為される(図6のS1参
照)。キャラクタ幅登録領域34に0000(H)が格
納されていないとすると(図6のS1の否定参照)、キ
ャラクタ幅登録領域34に登録済の値を印刷対象コード
に対するキャラクタ幅とする(図6のS2参照)。
When the calculation process of the character width is started for the numeral "0", the character width registration area 34 of the pattern table is first referred to (see S1 in FIG. 6). If 0000 (H) is not stored in the character width registration area 34 (see negative in S1 of FIG. 6), the value registered in the character width registration area 34 is set as the character width for the print target code (FIG. 6). See S2).

【0020】キャラクタ幅登録領域34に0000
(H)の値が格納されているとすると(図6のS1の肯
定参照)、本数情報領域32の読み出しを行う。数字
“0”のパターンデータの例を図5の(A)に示す。本
数情報領域32から読み出された各バーの本数と、その
本数に対応するバー幅のドット数との積を求め、その積
の各々を加算する(図6のS3参照)。その演算例を図
5の(B)に示す。その和を前記数字“0”のキャラク
タ幅としてキャラクタの展開に用いられる。キャラクタ
幅の算出が積和演算となるから、キャラクタ幅の算出効
率が向上する。
0000 in the character width registration area 34
If the value of (H) is stored (Yes in S1 of FIG. 6), the number information area 32 is read. An example of the pattern data of the numeral "0" is shown in FIG. The product of the number of each bar read from the number information area 32 and the number of dots of the bar width corresponding to the number is obtained, and each of the products is added (see S3 in FIG. 6). An example of the calculation is shown in FIG. The sum is used as the character width of the numeral "0" to develop the character. Since the calculation of the character width is a product-sum operation, the character width calculation efficiency is improved.

【0021】又、前記和は、キャラクタ幅登録領域34
に登録される(図6のS4参照)。この登録さたキャラ
クタ幅は、その後のバーコードの印刷において現れる数
字“0”のキャラクタ幅として用いられる。キャラクタ
幅が一旦登録されると、その後の同一印刷対象コードの
印刷を行うときに、前述した演算処理を繰り返すことな
しに、その印刷対象コードのキャラクタへの展開を行う
ことができる。キャラクタ幅の演算処理時間の短縮とな
る。
Further, the sum is the character width registration area 34.
Is registered (see S4 in FIG. 6). The registered character width is used as the character width of the number "0" that appears in the subsequent printing of the barcode. Once the character width is registered, when printing the same print target code thereafter, the print target code can be expanded into characters without repeating the above-described arithmetic processing. The calculation processing time of the character width is shortened.

【0022】なお、前記実施例においては、キャラクタ
幅登録領域34をも有する場合について説明したが、キ
ャラクタ幅登録領域34なしに、その都度キャラクタ幅
の演算を行うようにしてもよい。
In the above embodiment, the case in which the character width registration area 34 is also provided has been described, but the character width may be calculated each time without the character width registration area 34.

【0023】[0023]

【発明の効果】以上説明したように本発明によれば、キ
ャラクタ幅を各バーの設定値と対応する本数との積と、
その和で求めるようにしたので、キャラクタ幅の演算時
間の短縮化が図れる。又、そのキャラクタ幅の登録をす
れば、バーコードの印刷に要する処理時間の短縮化とな
る。
As described above, according to the present invention, the character width is multiplied by the product of the set value of each bar and the corresponding number,
Since the sum is calculated, the calculation time of the character width can be shortened. Further, if the character width is registered, the processing time required for printing the barcode can be shortened.

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

【図1】請求項1に係る発明の原理ブロック図である。1 is a principle block diagram of an invention according to claim 1;

【図2】請求項2に係る発明の原理ブロック図である。FIG. 2 is a principle block diagram of an invention according to claim 2;

【図3】請求項1及び請求項2に係る発明の一実施例を
示す図である。
FIG. 3 is a diagram showing an embodiment of the invention according to claim 1 and claim 2;

【図4】図3の実施例で用いるパターンテーブルの構成
を示す図である。
FIG. 4 is a diagram showing a configuration of a pattern table used in the embodiment of FIG.

【図5】数字“0”のパターンデータの構成及びキャラ
クタ幅の算出を示す図である。
FIG. 5 is a diagram showing a configuration of pattern data of a numeral “0” and calculation of a character width.

【図6】図3に示す実施例の処理フローを示す図であ
る。
FIG. 6 is a diagram showing a processing flow of the embodiment shown in FIG.

【図7】従来のバーコード印刷装置の構成を示す図であ
る。
FIG. 7 is a diagram showing a configuration of a conventional barcode printing apparatus.

【図8】図7に示すバーコード印刷装置で用いるパター
ンテーブルの一部を示す図である。
8 is a diagram showing a part of a pattern table used in the barcode printing apparatus shown in FIG.

【図9】従来方式による数字“0”のパターンデータの
構成及びキャラクタ幅の算出を示す図である。
FIG. 9 is a diagram showing a structure of pattern data of a numeral “0” and calculation of a character width according to a conventional method.

【図10】数字“0”のパターンデータを示す図であ
る。
FIG. 10 is a diagram showing pattern data of a numeral “0”.

【符号の説明】[Explanation of symbols]

2 第1の登録手段 4 第2の登録手段 4A 本数情報領域 4B キャラクタ幅登録領域 6 演算手段 20 MPU 22 ビットマップメモリ 24 ROM 26 メモリ 28 メモリ 2 First Registration Means 4 Second Registration Means 4A Number Information Area 4B Character Width Registration Area 6 Arithmetic Means 20 MPU 22 Bitmap Memory 24 ROM 26 Memory 28 Memory

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 バーコードを構成する広幅の黒バー及び
白バー、並びに狭幅の黒バー及び白バーの各幅値を印刷
対象コード毎に第1の登録手段(2)に登録しているバ
ーコード印刷装置において、 印刷対象コード対応のパターンデータの一部として広幅
の黒バー及び白バー、並びに狭幅の黒バー及び白バー毎
の本数情報領域(4A)を印刷対象コード毎に有する第
2の登録手段(4)と、 入力された印刷対象コードで前記第2の登録手段(4)
を参照して得られたバー毎の本数と、前記第1の登録手
段(2)の対応する幅値との積を取り、その各積の和を
算出する演算手段(6)とを設け、 キャラクタのキャラクタ展開領域への展開に前記演算手
段(6)から出力された和を用いることを特徴するキャ
ラクタ幅算出方式。
1. The width values of a wide black bar and a white bar, and a narrow black bar and a white bar constituting a bar code are registered in a first registration means (2) for each print target code. In the barcode printing apparatus, a wide black bar and a white bar, and a number information area (4A) for each narrow black bar and a white bar are provided for each print target code as a part of the pattern data corresponding to the print target code. 2 registration means (4), and the second registration means (4) with the input print target code
And a calculation means (6) for calculating the product of the number of bars for each bar obtained by referring to and the corresponding width value of the first registration means (2) and calculating the sum of the respective products. A character width calculation method, wherein the sum output from the calculating means (6) is used for expanding the character into the character expansion area.
【請求項2】 バーコードを構成する広幅の黒バー及び
白バー、並びに狭幅の黒バー及び白バーの各幅値を印刷
対象コード毎に第1の登録手段(2)に登録しているバ
ーコード印刷装置において、 印刷対象コード対応のパターンデータの一部として広幅
の黒バー及び白バー、並びに狭幅の黒バー及び白バー毎
の本数情報領域(4A)及びキャラクタ幅登録領域(4
B)を印刷対象コード毎に有する第2の登録手段(4)
と、 入力された印刷対象コードで前記第2の登録手段(4)
を参照して得られたバー毎の本数と、前記第1の登録手
段(2)の対応する幅値との積を取り、その各積の和を
算出して出力する演算手段(6)とを設け、 前記第2の登録手段(4)のキャラクタ幅登録領域(4
B)にキャラクタ幅が登録済でないとき前記演算手段
(6)から出力された和を前記キャラクタ幅登録領域
(4B)に登録すると共にその和を、又前記キャラクタ
幅登録領域(4B)にキャラクタ幅が登録済であるとき
該キャラクタ幅をキャラクタのキャラクタ展開領域への
展開に用いることを特徴するキャラクタ幅算出方式。
2. The width values of the wide black bar and the white bar and the narrow black bar and the white bar forming the bar code are registered in the first registration means (2) for each code to be printed. In a bar code printing apparatus, a wide black bar and a white bar as a part of pattern data corresponding to a print target code, and a number information area (4A) and a character width registration area (4A) for each narrow black bar and white bar.
Second registration means (4) having B) for each print target code
And the second registration means (4) with the input print target code
And an arithmetic means (6) for taking the product of the number of bars for each bar obtained by referring to and the corresponding width value of the first registration means (2), and calculating and outputting the sum of the respective products. The character width registration area (4) of the second registration means (4) is provided.
When the character width is not registered in B), the sum output from the calculating means (6) is registered in the character width registration area (4B), and the sum is also registered in the character width registration area (4B). A character width calculation method, wherein the character width is used to expand the character in the character expansion area when the character width is already registered.
JP17676992A 1992-07-03 1992-07-03 Character width calculator Expired - Fee Related JP2693897B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17676992A JP2693897B2 (en) 1992-07-03 1992-07-03 Character width calculator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17676992A JP2693897B2 (en) 1992-07-03 1992-07-03 Character width calculator

Publications (2)

Publication Number Publication Date
JPH0620077A true JPH0620077A (en) 1994-01-28
JP2693897B2 JP2693897B2 (en) 1997-12-24

Family

ID=16019507

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17676992A Expired - Fee Related JP2693897B2 (en) 1992-07-03 1992-07-03 Character width calculator

Country Status (1)

Country Link
JP (1) JP2693897B2 (en)

Also Published As

Publication number Publication date
JP2693897B2 (en) 1997-12-24

Similar Documents

Publication Publication Date Title
JP2693897B2 (en) Character width calculator
JPH0624046A (en) Printing device
JP2000105794A (en) Method for printing bag code
JPH05273958A (en) Outline data processor
JPH0630927B2 (en) Pattern output method
JP2637921B2 (en) Character symbol generator
JP3039214B2 (en) Data converter
JPS6235856A (en) Output apparatus
JP4029436B2 (en) Recording device
JP3089918B2 (en) Data converter
JP3084817B2 (en) Character output device
JP2910183B2 (en) Character processor
JPH01229666A (en) Printer
JP3254657B2 (en) Data converter
JP3119094B2 (en) Character output device
JPH06266870A (en) Bar code printer
JPH04165393A (en) Character drawing apparatus
JPH05216456A (en) Character output device
JPH0263864A (en) Image processor
JPH06168239A (en) Document preparing device
JPH06110444A (en) Character processor and character output method
JPH0226767A (en) Printer
JPH026163A (en) Printer
JPH05241750A (en) Format defining system for print of slip
JPH06210927A (en) Printer

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970819

LAPS Cancellation because of no payment of annual fees