JPH05298464A - Barcode printer - Google Patents

Barcode printer

Info

Publication number
JPH05298464A
JPH05298464A JP12823492A JP12823492A JPH05298464A JP H05298464 A JPH05298464 A JP H05298464A JP 12823492 A JP12823492 A JP 12823492A JP 12823492 A JP12823492 A JP 12823492A JP H05298464 A JPH05298464 A JP H05298464A
Authority
JP
Japan
Prior art keywords
printing
data
bar code
tape
character
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
JP12823492A
Other languages
Japanese (ja)
Other versions
JP2976416B2 (en
Inventor
Hideo Ueno
英生 上野
Minako Ishida
美菜子 石田
Yoshiyo Nagase
吉代 長瀬
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=14979813&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JPH05298464(A) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP12823492A priority Critical patent/JP2976416B2/en
Publication of JPH05298464A publication Critical patent/JPH05298464A/en
Application granted granted Critical
Publication of JP2976416B2 publication Critical patent/JP2976416B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To provide a bar code printer where a barcode and a required charac ter string are simultaneously printed at an optional position and also the charac ter string can be printed in a vertical or longitudinal direction in its printing direction. CONSTITUTION:When a printing key is operated, the printing direction is set (S72) and, then, printing data is generated (S76) from a read character code or bar code data, a character is printed (S79) in the vertical direction by printing mechanism in the case of setting in the vertical direction (S77: No) and the bars of the bar code are printed (S87) so as to be set in array in the feeding direction of a printing tape. When the longitudinal direction is set (S77: Yes), character printing data is rotation-processed (S78) by 90 deg.C so as to be printed (S79) and the bars are printed (S87) so as to be set in array in the feeding direction of the printing tape in the same way as that of the vertical direction.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、バーコード印刷装置に
関し、特に入力された文字やバーコードを同時に印刷す
るときに、文字列を横書き方向に又は縦書き方向に印刷
するようにしたものに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bar code printing apparatus, and more particularly to a bar code printing apparatus for printing a character string in a horizontal writing direction or a vertical writing direction when simultaneously printing input characters or a bar code. ..

【0002】[0002]

【従来の技術】従来、多種多様の物品の各々には、一般
的に商品コードであるバーコードが印刷されている。こ
のバーコードとして、特に日本においては、JAN(Ja
pan Article Number)がソースマーキングとして一般に
普及している。ところで、このバーコードは、通常、ド
ット印字素子からなるドット印字方式による専用の印刷
装置で印刷するようになっている。
2. Description of the Related Art Conventionally, a bar code, which is generally a product code, is printed on each of a wide variety of products. As this barcode, especially in Japan, JAN (Ja
pan Article Number) is widely used as source marking. By the way, this bar code is usually printed by a dedicated printing device using a dot printing method including dot printing elements.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、最近、
OA機器の普及に伴ってMT(磁気テープ)やフロッピ
ィーディスクなどの磁気媒体、或いは例えば図書館にお
ける大量の図書をコンピュータを用いて管理することが
要求されている。その為に、前記バーコード印刷装置に
より印刷したバーコードをこれら磁気媒体や図書の各々
に貼付することは可能であり、これらのバーコードをコ
ンピュータに接続したバーコード読取り器で読取ること
ができる。しかし、このバーコード印刷装置はバーコー
ドだけしか印刷できないので、これら磁気媒体や図書に
ついて人間が認識できる文字列を同時に記載する場合が
多いにもかかわらず、これら文字列を他の印字装置によ
り別途印字しなければならないこと、これによりバーコ
ード利用が制約されること、などの問題がある。従っ
て、バーコードの印刷に加えてそのバーコードに関連す
る文字列を同時に印字でき、しかもこれら文字列をバー
コードのバーの配列方向やバーの配列方向と直交方向に
向けた任意の向きに印刷できるようなバーコード印刷装
置が望まれている。
[Problems to be Solved by the Invention] However, recently,
With the spread of OA equipment, it is required to manage a magnetic medium such as MT (magnetic tape) or a floppy disk or a large amount of books in a library using a computer. Therefore, it is possible to attach the bar code printed by the bar code printing device to each of these magnetic media and books, and these bar codes can be read by a bar code reader connected to a computer. However, since this bar code printing device can print only bar codes, the character strings that can be recognized by humans are often described at the same time for these magnetic media and books, but these character strings are separately printed by other printing devices. There are problems such as the fact that it must be printed, and this limits the use of barcodes. Therefore, in addition to printing the bar code, the character string related to the bar code can be printed at the same time, and these character strings can be printed in any direction of the bar arrangement direction of the bar code or the direction orthogonal to the bar arrangement direction. There is a need for such a bar code printer.

【0004】本発明の目的は、バーコードと所望の文字
列とを任意の印刷位置に同時に印刷でき、しかも文字列
の印刷方向を横書き方向に又は縦書き方向に印刷できる
ようなバーコード印刷装置を提供することにある。
An object of the present invention is to provide a bar code printing apparatus capable of printing a bar code and a desired character string at arbitrary printing positions at the same time, and printing the character string in a horizontal writing direction or a vertical writing direction. To provide.

【0005】[0005]

【課題を解決するための手段】前記目的を達成する為
に、請求項1に係るバーコード印刷装置は、図1の機能
ブロック図に示すように、複数のドット状の印字素子か
らなる印字ヘッドを備えた印刷手段により、バーコード
を印刷可能なバーコード印刷装置であって、文字や記号
及び種々の指令を入力可能な入力手段と、入力手段から
入力される、文字や記号のデータと、バーコードのデー
タとを記憶する入力データ記憶手段と、文字や記号を、
横書き方向に印刷する第1モードと、縦書き方向に印刷
する第2モードとを、択一的に設定する為のモード設定
手段と、入力データ記憶手段から読出したデータのう
ち、バーコードのデータはバーコードのバーが横書き方
向に並ぶような印刷用ドットパターンデータに変換し、
また文字や記号のデータはモード設定手段で設定された
方向に向くような印刷用ドットパターンデータに変換す
るデータ変換手段とを備えたものである。
In order to achieve the above object, a bar code printer according to a first aspect of the present invention, as shown in a functional block diagram of FIG. 1, is a print head including a plurality of dot-shaped print elements. A bar code printing device capable of printing a bar code by a printing means comprising: input means capable of inputting characters and symbols and various commands; and character and symbol data input from the input means, Input data storage means for storing barcode data and characters and symbols,
Of the data read from the input data storage means, the bar code data, and the mode setting means for selectively setting the first mode for printing in the horizontal writing direction and the second mode for printing in the vertical writing direction. Is converted into dot pattern data for printing so that the bars of the barcode are arranged in the horizontal writing direction,
Further, the data of character or symbol is provided with a data conversion means for converting into the dot pattern data for printing oriented in the direction set by the mode setting means.

【0006】請求項2に係るバーコード印刷装置は、請
求項1の装置において、前記印字手段が、サーマル印字
ヘッドを備え、テープ状の印刷媒体をその長さ方向へ送
りながら印刷するテープ印刷手段で構成されたものであ
る。
According to a second aspect of the present invention, in the bar code printing apparatus according to the first aspect, the printing means includes a thermal print head, and the tape printing means prints while feeding a tape-shaped print medium in its length direction. It is composed of.

【0007】[0007]

【作用】請求項1に係るバーコード印刷装置において
は、入力手段から入力される、文字や記号のデータと、
バーコードのデータとは入力データ記憶手段に記憶され
る。一方、文字や記号を、横書き方向に印刷する第1モ
ードと、縦書き方向に印刷する第2モードとは、モード
設定手段で択一的に設定される。そして、この入力デー
タ記憶手段から読出されたデータのうち、バーコードの
データは、データ変換手段によりバーコードのバーが横
書き方向に並ぶような印刷用ドットパターンデータに変
換され、また文字や記号のデータは、データ変換手段に
よりモード設定手段で設定された方向に向くような印刷
用ドットパターンデータに変換される。その結果、この
印刷用ドットパターンデータは、複数のドット状の印字
素子からなる印字ヘッドを備えた印刷手段により印刷さ
れるので、入力順序通りの文字や記号とバーコードとが
混在して印刷されるとともに、文字や記号に関しては設
定された第1又は第2モードに応じた向きに印刷され
る。
In the bar code printing apparatus according to the first aspect, character and symbol data inputted from the input means,
The barcode data is stored in the input data storage means. On the other hand, the first mode for printing characters or symbols in the horizontal writing direction and the second mode for printing characters or symbols in the vertical writing direction are selectively set by the mode setting means. Of the data read from the input data storage means, the bar code data is converted by the data conversion means into printing dot pattern data in which the bars of the bar code are arranged in the horizontal writing direction. The data is converted by the data conversion unit into printing dot pattern data oriented in the direction set by the mode setting unit. As a result, since this printing dot pattern data is printed by the printing means provided with the print head composed of a plurality of dot-shaped printing elements, the characters and symbols in the input order and the bar code are mixed and printed. In addition, the characters and symbols are printed in the orientation according to the set first or second mode.

【0008】請求項2に係るバーコード印刷装置におい
ては、前記請求項1と略同様に作用するのに加えて、前
記印刷手段はテープ印刷手段であり、テープ状の印刷媒
体をその長さ方向に送りながら、文字やバーコードが混
在して印刷されるとともに、文字や記号に関しては設定
された第1又は第2モードに応じた向きに印刷される。
In the bar code printing apparatus according to a second aspect of the present invention, the printing means is a tape printing means, and the tape-shaped printing medium is provided in the longitudinal direction thereof in addition to the function of the first aspect. While printing, the characters and the bar code are mixedly printed, and the characters and the symbols are printed in the direction corresponding to the set first or second mode.

【0009】[0009]

【実施例】以下、本発明の実施例について図面に基いて
説明する。本実施例は、漢字やひらがなやカタカナ及び
アルファベット文字などの多数のキャラクタ及びバーコ
ードを印字用テープに印字可能なテープ印字装置に本発
明を適用した場合のものである。図2に示すように、テ
ープ印字装置1の本体フレーム2の前部にはキーボード
3が配設され、キーボード3の後方で本体フレーム2内
には印字機構PMが配設され、またキーボード3の後方
には文字や記号を表示可能な液晶ディスプレイ22が設
けられている。キーボード3には、アルファベットやひ
らがなやカタカナを入力する為の文字キー、数字キー、
記号キー、リターンキー、ディスプレイ22上のカーソ
ルKを左右方向に夫々移動させる為のカーソル移動キ
ー、無変換キー、変換キー、カーソル表示位置の1桁左
側の文字や記号を消去するバックスペースキー、印字す
る文字のサイズを設定するサイズキー、バーコードのデ
ータを入力する為のバーコードキー、印字を指令する印
字キー、バーコードデータをテキストメモリ41に格納
する実行キー、印字用テープ5をテープ送りする為のテ
ープ送りキー、電源をON・OFFする為の電源キーな
どが設けられている。
Embodiments of the present invention will be described below with reference to the drawings. The present embodiment is a case where the present invention is applied to a tape printer capable of printing a large number of characters such as kanji, hiragana, katakana and alphabet characters and a barcode on a printing tape. As shown in FIG. 2, a keyboard 3 is arranged in the front part of the main body frame 2 of the tape printer 1, a printing mechanism PM is arranged in the main body frame 2 behind the keyboard 3, and the keyboard 3 A liquid crystal display 22 capable of displaying characters and symbols is provided on the rear side. On the keyboard 3, character keys for inputting alphabets, hiragana and katakana, numeric keys,
A symbol key, a return key, a cursor movement key for moving the cursor K on the display 22 to the left and right, a non-conversion key, a conversion key, a backspace key for erasing a character or a symbol to the left of one digit at the cursor display position, A size key for setting the size of characters to be printed, a bar code key for inputting bar code data, a print key for instructing printing, an execution key for storing bar code data in the text memory 41, and a tape 5 for printing. A tape feed key for feeding and a power key for turning the power on and off are provided.

【0010】次に、図3に基いて印字機構PMについて
簡単に説明すると、印字機構PMに着脱自在に矩形状の
テープ収納カセットCSが装着されており、このテープ
収納カセットCSには、透明なフィルムからなる幅約2
4mmの印字用テープ5が巻装されたテープスプール6
と、インクリボン7が巻装されたリボン供給スプール8
と、このインクリボン7を巻取る巻取りスプール9と、
印字用テープ5と同一幅を有する両面テープ10が剥離
紙を外側にして巻装された供給スプール11と、これら
印字用テープ5と両面テープ10とを接合させる接合ロ
ーラ12とが回転自在に設けられている。印字用テープ
5とインクリボン7とが重なる位置には、サーマルヘッ
ド13が立設され、これら印字用テープ5とインクリボ
ン7とをサーマルヘッド13に押圧するプラテンローラ
14と、印字用テープ5と両面テープ10とを接合ロー
ラ12に押圧する送りローラ15とは支持体16に回転
可能に枢支されている。このサーマルヘッド13には、
128個の発熱素子からなる発熱素子群が上下方向に列
設されている。
The printing mechanism PM will be briefly described with reference to FIG. 3. A rectangular tape storage cassette CS is detachably attached to the printing mechanism PM, and the tape storage cassette CS is transparent. Width of about 2 films
Tape spool 6 around which 4mm printing tape 5 is wound
And a ribbon supply spool 8 around which the ink ribbon 7 is wound.
And a take-up spool 9 for taking up the ink ribbon 7,
A supply spool 11 in which a double-sided tape 10 having the same width as the printing tape 5 is wound with a release paper outside and a joining roller 12 for joining the printing tape 5 and the double-sided tape 10 are rotatably provided. Has been. A thermal head 13 is erected at a position where the printing tape 5 and the ink ribbon 7 overlap each other, and a platen roller 14 that presses the printing tape 5 and the ink ribbon 7 against the thermal head 13, and the printing tape 5 are provided. A feed roller 15 for pressing the double-sided tape 10 against the joining roller 12 is rotatably supported by a support body 16. In this thermal head 13,
A heating element group including 128 heating elements is arranged in a row in the vertical direction.

【0011】従って、テープ送りモータ24(図4参
照)の所定回転方向への駆動により接合ローラ12と巻
取りスプール9とが所定回転方向に夫々同期して駆動さ
れながら発熱素子群に通電されたとき、印字用テープ5
上には複数のドット列により文字やバーコードが印字さ
れ、しかも印字用テープ5は両面テープ10を接合した
状態でテープ送り方向Aにテープ送りされる。尚、印字
機構PMの詳細については、特開平2─106555号
公報を参照。尚、この印字機構PMには、送りローラ1
5から送り出された印字用テープ5を切断する切断機構
(図示略)が設けられている。
Therefore, when the tape feed motor 24 (see FIG. 4) is driven in the predetermined rotation direction, the joining roller 12 and the take-up spool 9 are driven in synchronism with each other in the predetermined rotation direction, and the heating elements are energized. When printing tape 5
Characters and bar codes are printed on the upper side by a plurality of dot rows, and the printing tape 5 is fed in the tape feeding direction A with the double-sided tape 10 joined. For details of the printing mechanism PM, see Japanese Patent Application Laid-Open No. 2-106555. The print mechanism PM includes a feed roller 1
There is provided a cutting mechanism (not shown) for cutting the printing tape 5 fed from the printing tape 5.

【0012】次に、テープ印字装置1の制御系は、図4
のブロック図に示すように構成されている。キーボード
3と、液晶ディスプレイ(LCD)22に表示データを
出力する為のビデオRAM23aを有するディスプレイ
コントローラ(LCDC)23と、サーマルヘッド13
を駆動する為の駆動回路25と、テープ送りモータ24
を駆動する為の駆動回路26と、警告用ブザー20の為
の駆動回路21とは制御装置Cの入出力インターフェー
ス27に夫々接続されている。制御装置Cは、CPU2
9と、このCPU29にデータバスなどのバス28を介
して接続された入出力インターフェース27、CGRO
M30、ROM31・32及びRAM40とから構成さ
れている。
Next, the control system of the tape printer 1 is shown in FIG.
The block diagram of FIG. The keyboard 3, a display controller (LCDC) 23 having a video RAM 23a for outputting display data to a liquid crystal display (LCD) 22, and a thermal head 13.
Drive circuit 25 for driving the tape feeding motor 24
A drive circuit 26 for driving the control device C and a drive circuit 21 for the warning buzzer 20 are connected to the input / output interface 27 of the control device C, respectively. The control device C is the CPU 2
9, an input / output interface 27 connected to the CPU 29 via a bus 28 such as a data bus, CGRO
It is composed of an M30, ROMs 31 and 32, and a RAM 40.

【0013】CGROM(パターンデータメモリ)30
には、多数のキャラクタの各々に関して、表示の為のド
ットパターンデータがコードデータに対応させて格納さ
れている。ROM(アウトラインデータメモリ)31に
は、キャラクタを印字する為に多数のキャラクタの各々
に関して、キャラクタの輪郭線を規定する輪郭線データ
(アウトラインデータ)が書体(ゴシック系書体、明朝
系書体など)毎に分類されコードデータに対応させて格
納されている。
CGROM (pattern data memory) 30
For each of a large number of characters, the dot pattern data for display is stored in the column corresponding to the code data. A ROM (outline data memory) 31 has contour data (outline data) that defines the contour of each character for printing characters, such as a Gothic typeface and a Mincho typeface. It is classified for each and stored corresponding to the code data.

【0014】ROM32には、キーボード3から入力さ
れた文字や数字や記号などのキャラクタのコードデータ
に対応させてディスプレイコントローラ23を制御する
表示駆動制御プログラム、テキストメモリ41の各コー
ドデータに対応するアウトラインデータからドットデー
タに変換処理して印字バッファ46に展開するイメージ
展開処理制御プログラム、印字バッファ46のデータを
順次読出してサーマルヘッド13やテープ送りモータ2
4を駆動する印字駆動制御プログラム、本願特有の後述
のテープ印字制御の制御プログラムなどが格納されてい
る。尚、前記テープ印字制御には、テキストメモリ41
に格納された13桁の数字からなるデータキャラクタの
データに基いて、バーコードのデータに変換するバーコ
ードデータ変換処理制御のサブルーチンが格納されてい
る。
In the ROM 32, a display drive control program for controlling the display controller 23 in accordance with character code data such as characters, numbers and symbols input from the keyboard 3, and an outline corresponding to each code data in the text memory 41. An image development processing control program for converting data into dot data and developing it in the print buffer 46, and sequentially reading data in the print buffer 46 to read the thermal head 13 and the tape feed motor 2.
A print drive control program for driving the drive No. 4 and a tape print control control program, which will be described later, peculiar to the present application are stored. The tape print control is performed by the text memory 41.
A bar code data conversion processing control subroutine for converting the data into the data of the bar code based on the data of the data character consisting of the 13-digit number stored in is stored.

【0015】このバーコードデータ変換処理制御におい
ては、JAN(Japan Article Number)の規格に基い
て、データキャラクタ(11桁数字)とモジュラチェッ
クキャラクタ(1桁数字)とを含む13個の数字のデー
タから標準バージョンのバーコードのデータに変換され
る。即ち、バーコードのデータは、レフトガードバーに
ついて3モジュール、左側の6個のデータキャラクタと
して42モジュール、センターバーとして5モジュー
ル、右側の5個のデータキャラクタとして35モジュー
ル、1個のモジュラチェックキャラクタとして7モジュ
ール、ライトガードバーについて3モジュールなどに変
換される。
In this bar code data conversion processing control, based on the JAN (Japan Article Number) standard, data of 13 numbers including a data character (11 digit number) and a modular check character (1 digit number). Is converted to standard version barcode data. That is, the bar code data is 3 modules for the left guard bar, 42 modules for the left six data characters, 5 modules for the center bar, 35 modules for the five right data characters, and 7 for the modular check character. Modules and light guard bars are converted into 3 modules.

【0016】RAM40のテキストメモリ41には、キ
ーボード3から入力された文書データやバーコードデー
タが格納される。テキストポインタ(この内容をポイン
タ値TPとする)42には、テキストメモリ41の1つ
のアドレスが格納される。表示ポインタ(この内容を表
示ポインタ値DPとする)43には、ディスプレイ22
に表示される所定数の文字列のうち、左端位置に表示さ
れる文字に対応するテキストメモリ41の1つのアドレ
スが格納される。文字サイズメモリ44には、設定され
た印字に用いるサイズのデータが格納される。バーコー
ドバッファ45には、バーコードを印字する為に13桁
の数字からなるデータキャラクタのデータが格納され
る。印字バッファ46には、文字や記号の印字データや
バーコードの為の印字データが格納される。印字ポイン
タ(この内容を印字ポインタ値PPとする)47には、
印字するコードデータを読出す為にテキストメモリ41
の1つのアドレスが格納される。フラグメモリ48に
は、印字文字の方向として「縦書き方向」が設定された
ときにセットされ、「横書き方向」が設定されたときに
リセットされる印字方向フラグDFのフラグデータが格
納される。
A text memory 41 of the RAM 40 stores document data and bar code data input from the keyboard 3. One address of the text memory 41 is stored in the text pointer (whose content is the pointer value TP) 42. The display pointer (this content is referred to as a display pointer value DP) 43 has a display 22
One address of the text memory 41 corresponding to the character displayed at the leftmost position of the predetermined number of character strings displayed in is stored. The character size memory 44 stores data of the set size used for printing. The bar code buffer 45 stores data of data characters consisting of 13-digit numbers for printing a bar code. The print buffer 46 stores print data for characters and symbols and print data for barcodes. The print pointer (whose content is the print pointer value PP) 47 is
The text memory 41 is used to read the code data to be printed.
Is stored. The flag memory 48 stores flag data of a print direction flag DF which is set when the "vertical writing direction" is set as the direction of the print character and is reset when the "horizontal writing direction" is set.

【0017】次に、テープ印字装置1の制御装置Cで行
なわれるテープ印字制御のルーチンについて、図5〜図
8のフローチャートに基いて説明する。尚、図中符号S
i(i=10、11、12・・・・)は各ステップであ
る。電源キーにより電源が投入されると図5に示す主制
御が開始され、各メモリ41〜47をクリアするなどの
初期設定が実行され(S10)、文字キーやスペースキ
ーなどの印字可能キーが操作されたときには(S11・
S12:Yes)、そのキーに対応するコードデータが
テキストメモリ41に格納され(S13)、表示処理制
御が実行され(S16)、S11に戻る。例えば、文字
「A」、「B」、「C」が入力されたときには、図9に
示すように文字「ABC」のコードデータがテキストメ
モリ41に順次格納される。
Next, the tape print control routine executed by the controller C of the tape printer 1 will be described with reference to the flow charts of FIGS. Incidentally, reference numeral S in the figure
i (i = 10, 11, 12, ...) Is each step. When the power is turned on by the power key, the main control shown in FIG. 5 is started, initialization such as clearing each of the memories 41 to 47 is executed (S10), and printable keys such as character keys and space keys are operated. When it is done (S11.
(S12: Yes), the code data corresponding to the key is stored in the text memory 41 (S13), the display process control is executed (S16), and the process returns to S11. For example, when the characters "A", "B", and "C" are input, the code data of the character "ABC" is sequentially stored in the text memory 41 as shown in FIG.

【0018】次に、バーコードを印字する為にバーコー
ドキーが操作されたときには(S11:Yes、S1
2:No、S14:Yes)、バーコードデータ入力処
理(図6参照)が実行され(S15)、S16を経て、
S11に戻る。この制御が開始されると、先ずバーコー
ド入力画面が表示され(S30)、バーコードバッファ
45にバーコードの開始コードが格納される(S3
1)。例えば、図10に示すようにバーコードバッファ
45の先頭アドレスに開始コードが格納され、図13に
示すように、クリアされたディスプレイ22の先頭表示
位置に左三角形の開始マークMSが表示される。尚、符
号Kはカーソルである。
Next, when the bar code key is operated to print the bar code (S11: Yes, S1).
2: No, S14: Yes), the barcode data input process (see FIG. 6) is executed (S15), and through S16,
Return to S11. When this control is started, the bar code input screen is first displayed (S30), and the bar code start code is stored in the bar code buffer 45 (S3).
1). For example, as shown in FIG. 10, the start code is stored in the top address of the barcode buffer 45, and as shown in FIG. 13, the left triangle start mark MS is displayed at the top display position of the cleared display 22. The symbol K is a cursor.

【0019】次に、数字キーが操作されたときには(S
32・S33:Yes)、その数字コードがバーコード
バッファ45に格納され(S34)、その数字コードに
対応するドットパターンがCGROM30から読込まれ
てビデオRAM23aに出力され(S35)、S32に
戻る。例えば、バーコードの為の13桁の数字つまり、
1桁のプリフィックスキャラクタ、11桁のデータキャ
ラクタ及び1桁のモジュラチェックキャラクタである
「1234567890128」が入力されたときに
は、図10に示すようにこれら13個の数字コードがデ
ータキャラクタのデータとしてバーコードバッファ45
に順次格納され、図14に示すようにこれらの13個の
数字がディスプレイ22に表示される。
Next, when the numeric key is operated (S
32.S33: Yes), the numerical code is stored in the barcode buffer 45 (S34), the dot pattern corresponding to the numerical code is read from the CGROM 30 and output to the video RAM 23a (S35), and the process returns to S32. For example, a 13-digit number for a bar code, that is,
When a 1-digit prefix character, an 11-digit data character, and a 1-digit modular check character "12345678890128" are input, these 13 numeric codes are used as the data character data as shown in FIG. 45
, And these thirteen numbers are displayed on the display 22 as shown in FIG.

【0020】次に、バーコードデータの入力終了を指示
する為に実行キーが操作されたときに(S32:Ye
s、S33:No、S36:Yes)、13桁の数字コ
ードがバーコードバッファ45に格納されているときに
は(S37:Yes)、バーコードの終了コードがバー
コードバッファ45に追加格納され(S38)、バーコ
ードバッファ45内の全てのコード列がテキストメモリ
41に格納され(S39)、バーコードバッファ45が
クリアされ(S40)、ビデオRAM23aがクリアさ
れ(S41)、この制御を終了して前記主制御にリター
ンする。例えば、図10に示すように、バーコードバッ
ファ45に終了コードが追加して格納されるとともに、
バーコードバッファ45内の全てのコード列は、図11
に示すようにテキストメモリ41に追加格納され、ディ
スプレイ22の表示が消去される。
Next, when the execution key is operated to instruct the end of the bar code data input (S32: Yes
s, S33: No, S36: Yes), and when the 13-digit numerical code is stored in the barcode buffer 45 (S37: Yes), the barcode end code is additionally stored in the barcode buffer 45 (S38). , All the code strings in the bar code buffer 45 are stored in the text memory 41 (S39), the bar code buffer 45 is cleared (S40), the video RAM 23a is cleared (S41), and this control is terminated to execute the main process. Return to control. For example, as shown in FIG. 10, an end code is additionally stored in the barcode buffer 45, and
All the code strings in the barcode buffer 45 are shown in FIG.
As shown in, the text is additionally stored in the text memory 41 and the display on the display 22 is erased.

【0021】ところで、取消しキーが操作されたときに
は(S32:Yes、S33・S36:No、S42:
Yes)、バーコードバッファ45とビデオRAM23
aとが夫々クリアされ(S40・S41)、前記主制御
にリターンする。尚、実行キーが操作されたときに、バ
ーコードバッファ45に13桁の数字コードが格納され
ていないときには(S37:No)、警告する為にブザ
ー20が鳴動され(S44)、S32に戻る。また、数
字キーや実行キーや取消しキー以外のキーが操作された
ときには(S32:Yes、S33・S36・S42:
No)、操作されたキーに対応する処理が実行され(S
43)、S32に戻る。
By the way, when the cancel key is operated (S32: Yes, S33 / S36: No, S42:
Yes), the barcode buffer 45 and the video RAM 23
a is cleared respectively (S40 and S41), and the process returns to the main control. When the execution key is operated and the 13-digit numeric code is not stored in the bar code buffer 45 (S37: No), the buzzer 20 sounds to warn (S44) and the process returns to S32. Further, when any key other than the numeric keys, the execute key, and the cancel key is operated (S32: Yes, S33, S36, S42:
No), the process corresponding to the operated key is executed (S
43) and returns to S32.

【0022】次に、表示処理制御(図7参照)について
説明すると、先ずビデオRAM23aがクリアされ(S
50)、表示ポインタ値DPとテキストポインタ値TP
とにテキストメモリ41の先頭アドレスが夫々格納され
(S51)、表示ポインタ値DPに基づいて所定数の文
字がディスプレイ22に表示される(S52)。次に、
テキストポインタ値TPで指示するアドレスのデータが
読込まれ(S53)、そのデータがバーコードの開始コ
ードでないときには(S54:No)、そのコードデー
タに対応するパターンデータが読込まれてビデオRAM
23aに出力され、ディスプレイ22に表示される(S
66)。次に、テキストポインタ値TPが1つインクリ
メントされ(S67)、テキストメモリ41にコードデ
ータが存在するときに(S62:Yes)、表示可能な
ときつまり現在の表示位置がディスプレイ22の最終表
示位置でなければ(S63:Yes)、S53以降が繰
り返される。また、現在の表示位置が最終表示位置のと
きには(S63:No)、表示ポインタ値DPが1つイ
ンクリメントされ(S64)、全ての表示データを1桁
分表示開始位置の方向へ移動させるスクロール表示処理
が実行され(S65)、S53に戻る。
Next, the display processing control (see FIG. 7) will be described. First, the video RAM 23a is cleared (S
50), display pointer value DP and text pointer value TP
The start addresses of the text memory 41 are stored in the respective fields (S51), and a predetermined number of characters are displayed on the display 22 based on the display pointer value DP (S52). next,
When the data at the address designated by the text pointer value TP is read (S53) and the data is not the start code of the barcode (S54: No), the pattern data corresponding to the code data is read and the video RAM is read.
23a and displayed on the display 22 (S
66). Next, the text pointer value TP is incremented by 1 (S67), and when the code data exists in the text memory 41 (S62: Yes), when it is displayable, that is, the current display position is the final display position of the display 22. If not (S63: Yes), S53 and subsequent steps are repeated. When the current display position is the final display position (S63: No), the display pointer value DP is incremented by 1 (S64), and all display data is moved by one digit toward the display start position. Is executed (S65), and the process returns to S53.

【0023】一方、読込んだデータが開始コードのとき
には(S54:Yes)、先ず開始コードに対応する開
始マークMSのパターンデータがビデオRAM23aに
出力して表示される(S55)。次に、表示可能なとき
には(S56:Yes)、終了コードに対応する終了マ
ークME(図5参照)のパターンデータがビデオRAM
23aに出力して表示され(S59)、テキストメモリ
41内の終了コードが検索され(S60)、テキストポ
インタ値TPに終了コードの次のアドレスが格納され
(S61)、S62以降が実行される。尚、S56でN
oと判定されたときには、前記S64・S65と同様に
スクロール表示処理が実行される(S57・S58)。
そして、テキストメモリ41内の全てのデータについて
キャラクタが表示されたときには(S62:No)、こ
の制御を終了して前記主制御にリターンする。例えば、
テキストメモリ41に図11に示すデータが格納されて
いるときには、図15に示すように、S53〜S54、
S66〜S67、S62〜S65により文字「ABC」
が表示され、その後にS53〜S65により開始マーク
MSと終了マークMEとが表示され、その後に文字列
「ABC」の表示と同様に文字列「XYZ」が表示され
る。
On the other hand, when the read data is the start code (S54: Yes), the pattern data of the start mark MS corresponding to the start code is first output to the video RAM 23a and displayed (S55). Next, when displayable (S56: Yes), the pattern data of the end mark ME (see FIG. 5) corresponding to the end code is recorded in the video RAM.
23a is output and displayed (S59), the end code in the text memory 41 is searched (S60), the next address of the end code is stored in the text pointer value TP (S61), and S62 and the subsequent steps are executed. Incidentally, N in S56
When it is determined to be o, the scroll display processing is executed as in S64 and S65 (S57 and S58).
Then, when the characters are displayed for all the data in the text memory 41 (S62: No), this control is ended and the process returns to the main control. For example,
When the data shown in FIG. 11 is stored in the text memory 41, as shown in FIG. 15, S53 to S54,
Characters "ABC" by S66-S67, S62-S65
Is displayed, and thereafter, the start mark MS and the end mark ME are displayed in S53 to S65, and thereafter, the character string “XYZ” is displayed similarly to the display of the character string “ABC”.

【0024】次に、バックスペースキーが操作されたと
きに(S11:Yes、S12・S14:No、S1
7:Yes)、カーソルKがテキストメモリ41内の先
頭文字に対応する表示位置でなく(S18:No)、し
かもカーソルKの左側のコードデータが開始コードでも
終了コードでもないときつまり文字コードのときには
(S19・S20:No)、カーソルKの左側のコード
データがテキストメモリ41から消去されるとともに、
その消去されたコードデータに後続する各コードデータ
が先頭アドレス方向に移動され(S22)、表示処理が
実行される(S16)。
Next, when the backspace key is operated (S11: Yes, S12 / S14: No, S1).
7: Yes), when the cursor K is not at the display position corresponding to the first character in the text memory 41 (S18: No), and the code data on the left side of the cursor K is neither a start code nor an end code, that is, a character code. (S19 / S20: No), while the code data on the left side of the cursor K is deleted from the text memory 41,
Each code data following the erased code data is moved toward the head address (S22), and the display process is executed (S16).

【0025】しかし、カーソルKの左側のコードデータ
が開始コードのとき(S19:Yes)、又は終了コー
ドのときには(S19:No、S20:Yes)、開始
コードと終了コードとこれら両コード間のデータキャラ
クタのデータとの全てがテキストメモリ41から消去さ
れるとともに、その消去されたバーコードのデータに後
続する各コードデータが先頭アドレス方向に移動され
(S23)、表示処理が実行される(S16)。例え
ば、テキストメモリ41には図11に示すデータが格納
され、しかも図15に仮想線で示す表示位置にカーソル
Kが表示されているときに、バックスペースキーを操作
したときには、図12に示すように、テキストメモリ4
1において、開始コードから終了コードに亙って全てバ
ーコードのデータが消去されるとともに、「XYZ」の
コードデータが移動される。その結果、図16に示すよ
うにディスプレイ22には文字「ABCXYZ」のみが
表示される。次に、操作されたキーが文字キー、バーコ
ードキー、バックスペースキー及び印字キー以外のキー
のときには(S11:Yes、S12・S14・S17
・S24:No)、操作されたキーに対応する処理が実
行される(S26)。特に、サイズキーが操作されて文
字サイズが設定されたときには、そのサイズデータが文
字サイズメモリ44に格納される。
However, when the code data on the left side of the cursor K is the start code (S19: Yes) or the end code (S19: No, S20: Yes), the start code and the end code and the data between these codes. All of the character data is erased from the text memory 41, each code data following the erased bar code data is moved toward the head address (S23), and the display process is executed (S16). .. For example, when the data shown in FIG. 11 is stored in the text memory 41 and the backspace key is operated while the cursor K is displayed at the display position shown by the phantom line in FIG. 15, as shown in FIG. And text memory 4
In 1, the bar code data is erased from the start code to the end code, and the code data of "XYZ" is moved. As a result, as shown in FIG. 16, only the characters “ABCXYZ” are displayed on the display 22. Next, when the operated key is a key other than the character key, the bar code key, the backspace key, and the print key (S11: Yes, S12, S14, S17).
-S24: No), the process corresponding to the operated key is executed (S26). In particular, when the size key is operated and the character size is set, the size data is stored in the character size memory 44.

【0026】一方、印字キーが操作されたときには(S
11:Yes、S12・S14・S17:No、S2
4:Yes)、印字処理制御(図8参照)が実行される
(S25)。この制御が開始されたときに、テキストメ
モリ41内に文書データが存在するときには(S70:
Yes)、印字方向を設定する為の設定画面が表示され
る(S71)。例えば、図17に示すように、印字方向
設定画面として、数字「1」に対応して「横書き方
向」、数字「2」に対応して「縦書き方向」がディスプ
レイ22に表示される。尚、横書き方向は、文字が印字
用テープ5の送給方向に沿って横方向に並ぶように印字
される印字方向であり、縦書き方向は、文字が印字用テ
ープ5の送給方向に沿って縦方向に並ぶように印字され
る印字方向である。次に、所望の印字方向を数字キー操
作で設定する印字方向設定処理が実行される(S7
2)。ここで、この設定処理により設定された印字方向
に基いて図示外の設定制御により印字方向フラグDFが
セット又はリセットされる。
On the other hand, when the print key is operated (S
11: Yes, S12, S14, S17: No, S2
4: Yes), and the print processing control (see FIG. 8) is executed (S25). When document data exists in the text memory 41 when this control is started (S70:
Yes), and a setting screen for setting the printing direction is displayed (S71). For example, as shown in FIG. 17, as the print direction setting screen, “horizontal writing direction” corresponding to the number “1” and “vertical writing direction” corresponding to the number “2” are displayed on the display 22. It should be noted that the horizontal writing direction is a printing direction in which characters are printed so as to be arranged in the horizontal direction along the feeding direction of the printing tape 5, and the vertical writing direction is the characters along the feeding direction of the printing tape 5. Is a printing direction in which the printing is performed so as to be aligned in the vertical direction. Next, a print direction setting process for setting a desired print direction by operating the numeric keys is executed (S7).
2). Here, the printing direction flag DF is set or reset by setting control (not shown) based on the printing direction set by this setting process.

【0027】次に、印字ポインタ値PPにテキストメモ
リ41の先頭アドレスがセットされ(S73)、この印
字ポインタ値PPで指示するコードデータが読込まれ
(S74)、そのコードデータが文字コードのときには
(S75:Yes)、設定されたサイズのデータに基い
て拡大率が求められ、この拡大率を用いてアウトライン
データを拡大処理するとともに、このアウトラインデー
タからドットデータである印字データが作成されて印字
バッファ46に格納される(S76)。次に、前記印字
方向フラグDFがリセットされているときつまり印字方
向が「横書き方向」のときには(S77:No)、この
印字バッファ46の印字データが印字機構PMに出力さ
れて印字処理される(S79)。尚、拡大率を用いてア
ウトラインデータからドットデータに変換するドットデ
ータ変換処理制御の詳細については、例えば、特開昭4
9─129447号公報を参照。
Next, the start address of the text memory 41 is set to the print pointer value PP (S73), the code data designated by the print pointer value PP is read (S74), and when the code data is a character code ( S75: Yes), the enlargement ratio is obtained based on the data of the set size, the outline data is enlarged using this enlargement ratio, and the print data, which is the dot data, is created from the outline data and the print buffer is created. It is stored in 46 (S76). Next, when the print direction flag DF is reset, that is, when the print direction is the "horizontal writing direction" (S77: No), the print data in the print buffer 46 is output to the print mechanism PM for print processing ( S79). For details of the dot data conversion processing control for converting outline data into dot data using the enlargement ratio, see Japanese Patent Laid-Open No.
See 9-129447.

【0028】次に、印字ポインタ値PPが1つインクリ
メントされ(S80)、テキストメモリ41にコードデ
ータが存在するときには(S81:Yes)、S74以
降が繰り返される。一方、読込んだコードデータが開始
コードのときには(S74、S75:No、S83:Y
es)、次のアドレスから終了コードに亙って格納され
ているバーコードのデータがテキストメモリ41から読
込まれ(S84)、これら13桁からなるデータキャラ
クタのデータに基いて、前述したバーコードデータ変換
処理制御により標準バージョンのバーコードのデータに
変換され(S85)、更にこの標準バージョンのバーコ
ードのデータに基いて、バーコードシンボルの高さ(大
きさ)が設定されたサイズとなるように、バーコード印
字の為の印字データが再作成される(S86)。そし
て、この印字データが印字機構PMに出力されて印字処
理される(S87)。次に、印字ポインタ値PPに終了
コードのアドレスがセットされ(S88)、S80以降
が実行される。
Next, the print pointer value PP is incremented by 1 (S80), and when the code data exists in the text memory 41 (S81: Yes), S74 and subsequent steps are repeated. On the other hand, when the read code data is the start code (S74, S75: No, S83: Y
es), the bar code data stored from the next address over the end code is read from the text memory 41 (S84), and based on the data of the 13 character data, the bar code data described above is read. It is converted into standard version barcode data by the conversion processing control (S85), and the height (size) of the barcode symbol becomes a set size based on the standard version barcode data. , Print data for bar code printing is recreated (S86). Then, this print data is output to the print mechanism PM and subjected to print processing (S87). Next, the address of the end code is set in the print pointer value PP (S88), and S80 and subsequent steps are executed.

【0029】ところで、読込んだコードデータが文字コ
ードでも開始コードでもないとき、例えばスペースコー
ドなどのときには(S74、S75・S83:No)、
そのコードデータに対応する指令が印字機構PMに出力
され(S89)、S80に移行する。そして、テキスト
メモリ41内の全てのデータについて印字処理されたと
きには(S81:No)、テープ送りモータ24に所定
量のテープ送りをさせる駆動信号が出力されるととも
に、切断処理の実行が指令され(S82)、この制御を
終了して前記主制御にリターンする。ここで、例えば図
11に示すように、テキストメモリ41に格納された文
字「ABC」のデータやバーコードのデータを「横書き
方向」で印字処理したときには、図18に示すように、
標準バージョンのバーコードと文字列「ABC」、「X
YZ」とが印字方向を通常の「横書き方向」として印字
用テープ5に印字される。しかもこのバーコードは文字
列の高さと同一高さで印字される。
By the way, when the read code data is neither a character code nor a start code, for example, a space code (S74, S75, S83: No),
A command corresponding to the code data is output to the printing mechanism PM (S89), and the process proceeds to S80. When all the data in the text memory 41 has been printed (S81: No), a drive signal for causing the tape feed motor 24 to feed a predetermined amount of tape is output, and an instruction to execute the cutting process is issued ( S82), this control is ended and it returns to the said main control. Here, for example, when the data of the character "ABC" and the data of the barcode stored in the text memory 41 are printed in the "horizontal writing direction" as shown in FIG. 11, as shown in FIG.
Standard version barcode and character strings "ABC", "X
"YZ" is printed on the printing tape 5 with the printing direction as the normal "horizontal writing direction". Moreover, this bar code is printed at the same height as the height of the character string.

【0030】一方、読出されたコードデータが文字コー
ドであり(S74、S75:Yes)、しかも前記S7
2における印字方向設定処理において、「縦書き方向」
が設定されて印字方向フラグDFがセットされていると
きには(S77:Yes)、S76で作成されたドット
データからなる印字データを反時計回転方向に90°回
転させる回転処理が実行され(S78)、印字バッファ
46内の回転処理された印字データが印字機構PMに出
力されて印字処理される(S79)。しかし、前述した
ように、読込んだコードデータが開始コードのときつま
りバーコードのデータのときには(S74、S75:N
o、S83:Yes)、「縦書き方向」が設定している
にも拘わらず、S84〜S88により通常の「横書き方
向」により印字される。即ち、バーコードのバーは印字
用テープ5の送給方向に並ぶように印字される。従っ
て、例えば図11に示すように、テキストメモリ41に
格納された文字「ABC」のデータやバーコードのデー
タを「縦書き方向」で印字処理したときには、図19に
示すように、文字列「ABC」、「XYZ」に関しては
縦書き方向で印字されるが、標準バージョンのバーコー
ドに関しては印字方向を通常の横書き方向として印字用
テープ5に印字される。
On the other hand, the read code data is a character code (S74, S75: Yes), and the above S7.
In the print direction setting process in 2, "vertical writing direction"
Is set and the printing direction flag DF is set (S77: Yes), a rotation process of rotating the print data composed of the dot data created in S76 by 90 ° in the counterclockwise direction is executed (S78), The rotation-processed print data in the print buffer 46 is output to the print mechanism PM for print processing (S79). However, as described above, when the read code data is the start code, that is, the barcode data (S74, S75: N
o, S83: Yes), and the "vertical writing direction" is set, the printing is performed in the normal "horizontal writing direction" in S84 to S88. That is, the bar of the bar code is printed so as to be aligned in the feeding direction of the printing tape 5. Therefore, for example, when the data of the character "ABC" or the data of the bar code stored in the text memory 41 is printed in the "vertical writing direction" as shown in FIG. 11, the character string " The letters "ABC" and "XYZ" are printed in the vertical writing direction, but the barcode of the standard version is printed on the printing tape 5 with the normal writing direction as the printing direction.

【0031】ところで、前記バーコードデータ変換処理
制御において、前記標準バージョンに加えて短縮バージ
ョンのバーコードのデータに変換できるように構成する
ことも可能であり、この場合には、データキャラクタの
キャラクタ数に基いて標準バージョン或いは短縮バージ
ョンのバーコードのデータに変換し、そのデータを印字
用ドットパターンデータに変換できるので、バージョン
の異なる2種類のバーコードを文字列と同時に印字する
ことができる。
By the way, in the bar code data conversion processing control, it is possible to convert the bar code data into the bar code data of the shortened version in addition to the standard version. In this case, the number of data characters can be changed. Since it can be converted into standard version or shortened version bar code data and the data can be converted into printing dot pattern data, it is possible to print two types of bar codes of different versions at the same time as a character string.

【0032】以上説明したように、バーコードのデータ
は常によこ方向に向くような印字データに変換され、ま
た文字や記号のデータは、設定された「横書き方向」又
は「縦書き方向」に基いた印字方向に向くような印字デ
ータに変換され、文字や記号とバーコードとが混在して
印字用テープ5に印字されるとともに、文字や記号に関
しては設定された「横書き方向」又は「縦書き方向」に
応じた向きに印字されるので、文字列を印字する為の印
字装置を別途必要とせず、多種多様の商品管理が容易に
なり、バーコードの汎用性を高めることができる。更
に、文字やバーコードはテープ状の印字用テープ5に印
字されるので、文字やバーコードが印字された印字用テ
ープ5をそのまま直ぐに多種多様の物品に貼着すること
ができる。
As described above, the bar code data is converted into the print data that always faces in the horizontal direction, and the character and symbol data is based on the set "horizontal writing direction" or "vertical writing direction". The print data is converted to print data that is oriented in the specified printing direction, the characters and symbols and the barcode are mixed and printed on the printing tape 5, and the characters and symbols are set in the "horizontal writing direction" or "vertical writing". Since the printing is performed in the direction corresponding to the "direction", a separate printing device for printing the character string is not required, a wide variety of product management is facilitated, and the versatility of the barcode can be improved. Further, since the characters and the bar code are printed on the tape-shaped printing tape 5, the printing tape 5 on which the characters and the bar code are printed can be directly attached to a wide variety of articles as it is.

【0033】尚、バックスペースキーに代えて消去キー
を設け、カーソル表示位置の文字を消去するように制御
することも可能である。尚、バーコードのデータとし
て、少なくともデータキャラクタのデータを入力するよ
うに構成することも可能である。尚、前記バーコードデ
ータ変換処理制御において、「EAN(European Artic
le Number )」や「CODE39」などの種々のバーコ
ード基準に基いてバーコードのデータに変換するように
構成することも可能である。尚、ドット印字方式の印字
ヘッドを備え、バーコード印字が可能な種々のバーコー
ド印字装置に本発明を適用し得ることは勿論である。
It is also possible to provide an erase key instead of the backspace key so as to erase the character at the cursor display position. It is also possible to input at least data character data as the barcode data. In the bar code data conversion processing control, "EAN (European Artic
le number) ”or“ CODE 39 ”, and can be configured to be converted into barcode data based on various barcode standards. It is needless to say that the present invention can be applied to various bar code printers that are equipped with a dot printing type print head and are capable of bar code printing.

【0034】[0034]

【発明の効果】請求項1に係るバーコード印刷装置によ
れば、〔作用〕の項で説明したように、入力手段と、入
力データ記憶手段と、モード設定手段と、データ変換手
段とを設け、入力したバーコードのデータはバーコード
のバーが横書き方向に並ぶような印刷用ドットパターン
データに変換され、また文字や記号のデータは、データ
変換手段によりモード設定手段で設定された方向に向く
ような印刷用ドットパターンデータに変換され、文字や
記号とバーコードとが混在して印刷されるとともに、文
字や記号に関しては設定された第1又は第2モードに応
じた向きに印刷されるので、文字列を印字する為の印字
装置を別途必要とせず、多種多様の商品管理が容易にな
り、バーコードの汎用性を高めることができる。
According to the bar code printer according to the first aspect of the present invention, the input means, the input data storage means, the mode setting means, and the data converting means are provided as described in the section [Operation]. , The input barcode data is converted into printing dot pattern data such that the barcode bars are arranged in the horizontal writing direction, and the character and symbol data is directed by the data conversion means in the direction set by the mode setting means. Since it is converted into such printing dot pattern data and the characters and symbols and the barcode are mixed and printed, the characters and symbols are printed in the direction corresponding to the set first or second mode. In addition, a separate printing device for printing a character string is not required, a wide variety of products can be easily managed, and the versatility of barcodes can be improved.

【0035】請求項2に係るバーコード印刷装置によれ
ば、〔作用〕の項で説明したように、印刷手段はテープ
状の印刷媒体に印刷するテープ印刷手段で構成されるの
で、文字やバーコードが印刷された印刷媒体をそのまま
直ぐに多種多様の物品に貼着することができる。
According to the bar code printing apparatus of the second aspect, as described in [Operation], the printing means is composed of the tape printing means for printing on the tape-shaped printing medium. The print medium on which the code is printed can be directly attached to a wide variety of articles as it is.

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

【図1】請求項1及び請求項2の構成を示す機能ブロッ
ク図である。
FIG. 1 is a functional block diagram showing the configurations of claims 1 and 2. FIG.

【図2】テープ印字装置の平面図である。FIG. 2 is a plan view of the tape printer.

【図3】印字機構の概略平面図である。FIG. 3 is a schematic plan view of a printing mechanism.

【図4】テープ印字装置の制御系のブロック図である。FIG. 4 is a block diagram of a control system of the tape printer.

【図5】テープ印字制御のルーチンの概略フローチャー
トである。
FIG. 5 is a schematic flowchart of a tape print control routine.

【図6】バーコードデータ入力処理制御のルーチンの概
略フローチャートである。
FIG. 6 is a schematic flowchart of a barcode data input processing control routine.

【図7】表示処理制御のルーチンの概略フローチャート
である。
FIG. 7 is a schematic flowchart of a display processing control routine.

【図8】印字処理制御のルーチンの概略フローチャート
である。
FIG. 8 is a schematic flowchart of a print processing control routine.

【図9】テキストメモリ内のデータ構成を説明する説明
図である。
FIG. 9 is an explanatory diagram illustrating a data configuration in a text memory.

【図10】バーコードバッファ内のデータ構成を説明す
る説明図である。
FIG. 10 is an explanatory diagram illustrating a data configuration in a barcode buffer.

【図11】バーコードのデータが格納された図9相当図
である。
FIG. 11 is a diagram corresponding to FIG. 9 in which barcode data is stored.

【図12】文字列のコードデータが格納された図9相当
図である。
12 is a view corresponding to FIG. 9 in which code data of a character string is stored.

【図13】バーコードのデータを入力するときのディス
プレイの表示例を示す図である。
FIG. 13 is a diagram showing a display example of a display when barcode data is input.

【図14】データキャラクタに対応する数字を入力した
ときの図13相当図である。
FIG. 14 is a diagram corresponding to FIG. 13 when a number corresponding to a data character is input.

【図15】文字列とバーコードとを混在して表示された
表示例を示す図である。
FIG. 15 is a diagram showing a display example in which a character string and a barcode are displayed in a mixed manner.

【図16】文字列のみを表示した表示例を示す図であ
る。
FIG. 16 is a diagram showing a display example in which only character strings are displayed.

【図17】印字方向設定画面の表示例を示す図である。FIG. 17 is a diagram showing a display example of a print direction setting screen.

【図18】文字列とバーコードとを横書き方向で印字し
た印字用テープの平面図である。
FIG. 18 is a plan view of a printing tape in which a character string and a barcode are printed in the horizontal writing direction.

【図19】文字列とバーコードとを縦書き方向で印字し
た印字用テープの平面図である。
FIG. 19 is a plan view of a printing tape in which a character string and a barcode are printed in the vertical writing direction.

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

1 テープ印字装置 3 キーボード 5 印字用テープ 13 サーマルヘッド 24 テープ送りモータ 29 CPU 31 ROM 32 ROM 40 RAM 41 テキストメモリ C 制御装置 CS テープ収納カセット PM 印字機構 1 Tape Printing Device 3 Keyboard 5 Printing Tape 13 Thermal Head 24 Tape Feed Motor 29 CPU 31 ROM 32 ROM 40 RAM 41 Text Memory C Controller CS Tape Storage Cassette PM Printing Mechanism

フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 B41J 5/30 B 8907−2C Continuation of the front page (51) Int.Cl. 5 Identification code Office reference number FI technical display location B41J 5/30 B 8907-2C

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数のドット状の印字素子からなる印字
ヘッドを備えた印刷手段により、バーコードを印刷可能
なバーコード印刷装置であって、 文字や記号及び種々の指令を入力可能な入力手段と、 前記入力手段から入力される、文字や記号のデータと、
バーコードのデータとを記憶する入力データ記憶手段
と、 前記文字や記号を、横書き方向に印刷する第1モード
と、縦書き方向に印刷する第2モードとを、択一的に設
定する為のモード設定手段と、 前記入力データ記憶手段から読出したデータのうち、バ
ーコードのデータはバーコードのバーが横書き方向に並
ぶような印刷用ドットパターンデータに変換し、また文
字や記号のデータはモード設定手段で設定された方向に
向くような印刷用ドットパターンデータに変換するデー
タ変換手段と、 を備えたことを特徴とするバーコード印刷装置。
1. A bar code printing apparatus capable of printing a bar code by a printing means having a print head composed of a plurality of dot-shaped printing elements, the input means capable of inputting characters, symbols and various commands. And character and symbol data input from the input means,
Input data storage means for storing bar code data, a first mode for printing the characters or symbols in the horizontal writing direction, and a second mode for printing in the vertical writing direction are selectively set. Of the data read from the mode setting means and the input data storage means, the barcode data is converted into printing dot pattern data in which the barcode bars are arranged in the horizontal writing direction, and the character and symbol data is the mode. A bar code printing apparatus comprising: a data conversion unit that converts into printing dot pattern data oriented in a direction set by the setting unit.
【請求項2】 前記印字手段が、サーマル印字ヘッドを
備え、テープ状の印刷媒体をその長さ方向へ送りながら
印刷するテープ印刷手段であることを特徴とする請求項
1に記載のバーコード印刷装置。
2. The bar code printing according to claim 1, wherein the printing unit is a tape printing unit that includes a thermal print head and prints while feeding a tape-shaped print medium in a length direction thereof. apparatus.
JP12823492A 1992-04-20 1992-04-20 Barcode printing device Expired - Lifetime JP2976416B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12823492A JP2976416B2 (en) 1992-04-20 1992-04-20 Barcode printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12823492A JP2976416B2 (en) 1992-04-20 1992-04-20 Barcode printing device

Publications (2)

Publication Number Publication Date
JPH05298464A true JPH05298464A (en) 1993-11-12
JP2976416B2 JP2976416B2 (en) 1999-11-10

Family

ID=14979813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12823492A Expired - Lifetime JP2976416B2 (en) 1992-04-20 1992-04-20 Barcode printing device

Country Status (1)

Country Link
JP (1) JP2976416B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995017309A1 (en) * 1993-12-22 1995-06-29 Seiko Epson Corporation Tape printer
US6788433B1 (en) 1998-05-11 2004-09-07 King Jim Co., Ltd. Character information processor
US7052196B2 (en) * 2002-10-31 2006-05-30 Brother Kogyo Kabushiki Kaisha Width and lengthwise direction tape printing control device and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995017309A1 (en) * 1993-12-22 1995-06-29 Seiko Epson Corporation Tape printer
US5772340A (en) * 1993-12-22 1998-06-30 Seiko Epson Corporation Tape printing apparatus
US6788433B1 (en) 1998-05-11 2004-09-07 King Jim Co., Ltd. Character information processor
US7052196B2 (en) * 2002-10-31 2006-05-30 Brother Kogyo Kabushiki Kaisha Width and lengthwise direction tape printing control device and program

Also Published As

Publication number Publication date
JP2976416B2 (en) 1999-11-10

Similar Documents

Publication Publication Date Title
JP2974038B2 (en) Barcode recording device
JP2979536B2 (en) Barcode printing device
JP2629516B2 (en) Tape printer
JPH05342384A (en) Bar code printer
JP2985910B2 (en) Printing device
JP2976416B2 (en) Barcode printing device
JP3436531B2 (en) Tape printer
JPH07125312A (en) Bar code printer
JP3475146B2 (en) Recording device
JP2988141B2 (en) Barcode printing device
JP3258578B2 (en) Recording device
JPH05334296A (en) Document processor
JPH06198962A (en) Preparing device for registration dot pattern data of tape printer
JPH05177901A (en) Printer
JP3095046B2 (en) Dot pattern data creation device for registration of tape printer
JP3464205B2 (en) Tape printer
JP3203986B2 (en) Tape printer
JPH0825704A (en) Bar code printer
JP2947033B2 (en) Input device
JP3237979B2 (en) Tape printer
JP2974095B2 (en) Barcode printing device
JPH07125321A (en) Bar code printer
JP3213154B2 (en) Tape printer
JPH05305750A (en) Tape printer
JPH05298465A (en) Tape 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: 19990809