JPH0486274A - Pattern generation system - Google Patents

Pattern generation system

Info

Publication number
JPH0486274A
JPH0486274A JP20485790A JP20485790A JPH0486274A JP H0486274 A JPH0486274 A JP H0486274A JP 20485790 A JP20485790 A JP 20485790A JP 20485790 A JP20485790 A JP 20485790A JP H0486274 A JPH0486274 A JP H0486274A
Authority
JP
Japan
Prior art keywords
pattern
code
information
character
font
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.)
Pending
Application number
JP20485790A
Other languages
Japanese (ja)
Inventor
Hajime Kanamori
一 金盛
Yoshinobu Takatsuki
高月 好暢
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.)
Toray Industries Inc
Original Assignee
Toray Industries Inc
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 Toray Industries Inc filed Critical Toray Industries Inc
Priority to JP20485790A priority Critical patent/JPH0486274A/en
Publication of JPH0486274A publication Critical patent/JPH0486274A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To ensure that pattern information on required writing style and characters is stored in any address by allowing address information from a pattern information storage device which stores pattern information on characters and bar codes to be generated so that said address information corresponds to internal character codes obtained by conversion of character and writing style codes. CONSTITUTION:A code conversion part 24 outputs internal character codes corresponding to character and writing style codes. A pattern address storage memory unit 25 writes head address information from a register circuit 30 using the internal character codes as address information. A pattern control part 26 outputs address information from font memory 27 and writes pattern information in font memory 27 by each 16 dots from CPU via the register circuit 31. Each set of address information which is output from the pattern control part 26 is added each time a write signal is issued by CPU 10. Therefore, a single print pattern is written in the register circuit 30.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、印字データに応じて文字およびバーコードの
パターンを発生するパターン発生方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a pattern generation method for generating character and barcode patterns according to print data.

(従来の技術) 従来、この種のパターン発生方式では、通常フォントメ
モリ等のパターン情報格納手段は、異なる書体から構成
されるすべての文字のパターン情報を所定領域に格納し
ており、上記格納されたパターン情報はJISコードな
どの2バイトの指定された文字コードに応じてパターン
情報格納手段から読み出し、所定の文字の印字パターン
を生成していた。また、バーコードのパターン情報は、
外字として別の領域に登録されていた。
(Prior Art) Conventionally, in this type of pattern generation method, a pattern information storage means such as a font memory usually stores pattern information of all characters composed of different fonts in a predetermined area. The pattern information is read out from the pattern information storage means according to a designated 2-byte character code such as a JIS code, and a print pattern of a predetermined character is generated. In addition, the barcode pattern information is
It was registered as a private character in another area.

(発明が解決しようとする課題) ところが、上記従来のパターン発生方式では、必要であ
るか否かにかかわらす、メモリにすべての書体のすべて
の文字パターンを格納するため、大きな記憶領域をもつ
パターン情報格納メモリが必要になるという問題がある
。また、バーコードのパターン情報は、外字として別に
登録されるので、パターン発生装置ごとの登録内容が異
なることになり、印字データに互換性がない。さらに、
外字のドツト構成が固定であるため、本来は小さな領域
でよいバーコードのパターン情報が、大きな領域を必要
とすることになる。
(Problem to be Solved by the Invention) However, in the conventional pattern generation method described above, all character patterns of all fonts are stored in memory, regardless of whether they are necessary or not. There is a problem in that information storage memory is required. Furthermore, since the barcode pattern information is registered separately as an external character, the registered contents are different for each pattern generation device, and the print data is not compatible. moreover,
Since the dot configuration of external characters is fixed, the barcode pattern information, which would normally require a small area, now requires a large area.

本発明の目的は、従来の方式の」−述した問題点を解決
し、文字コード、書体コードを使用してメモリに格納さ
れた文字、バーコードのパターン情報を読み出すことが
できてメモリの記憶領域を効率よく使用することができ
るばかりか、バーコードについても文字のコード体系と
同様にすることでバーコードの印字パターンを容易に発
生することができるパターン発生方式を提供することを
目的とする。
An object of the present invention is to solve the above-mentioned problems of the conventional method, and to read pattern information of characters and barcodes stored in memory using character codes and font codes. The purpose of the present invention is to provide a pattern generation method that not only makes it possible to efficiently use the area, but also makes it possible to easily generate barcode printing patterns by using the same code system for barcodes as for characters. .

(課題を解決するための手段) 」1記目的を達成するために、本発明では、バタン情報
を格納するパターン情報格納手段と、印字パターンの文
字コードおよび書体コードを有する印字データを格納す
る印字データ格納手段とを設け、前記文字コードの所定
上位ビットを所定文字およびバーコードと対応イ」ける
と共に、前記書体コードを文字およびバーコードの所定
書体と対応付け、前記パターン情報格納手段からパター
ン情報を読み出す際には、前記印字データ格納手段から
指定された文字コードおよび書体コードを読み出し、該
読み出された文字コードおよび書体コードを内部文字コ
ードに変換し、該変換した内部文字コードに対応する前
記パターン情報格納手段のアドレス情報を生成し、該ア
ドレス情報に応じて所定パターン情報を発生し、かつ、
前記読み出された文字コードおよび書体コードが異常コ
ードかどうか検知するものである。
(Means for Solving the Problems) In order to achieve the object described in item 1, the present invention provides a pattern information storage means for storing baton information, and a print pattern information storage means for storing print data having a character code and a font code of a print pattern. data storage means, which associates predetermined upper bits of the character code with predetermined characters and barcodes, associates the font code with predetermined fonts of characters and barcodes, and stores pattern information from the pattern information storage means. When reading, the designated character code and font code are read from the print data storage means, the read character code and font code are converted into internal character codes, and the character code and font code corresponding to the converted internal character code are read. generating address information of the pattern information storage means, generating predetermined pattern information according to the address information, and
It is detected whether the read character code and font code are abnormal codes.

(作用) 文字、バーコードのパターン情報を格納するパターン情
報格納手段のアドレス情報を、文字コドおよび書体コー
ドから変換された内部文字コトに対応させて生成させる
(Operation) Address information of a pattern information storage means for storing pattern information of characters and barcodes is generated in correspondence with internal character codes converted from character codes and font codes.

従って、本発明では、必要な書体、必要な文字のパター
ン情報を任意のアドレスに格納できる。
Therefore, in the present invention, necessary typeface and necessary character pattern information can be stored at any address.

(実施例) 以下、本発明の実施例を第1図ないし第4図の図面に基
づき詳細に説明する。
(Example) Hereinafter, an example of the present invention will be described in detail based on the drawings of FIGS. 1 to 4.

第1図は、本発明に係るパターン印字装置の概略構成を
示す構成ブロック図である。図において、制御部(CP
U)10は、キーボード11およびデイスプレィ12を
使用して磁気記録媒体または通信回線を介して印字デー
タを読み取り、上記印字データをパターン発生部13が
解析可能な印字データに変換して、上記印字データをペ
ージ単位でパターン発生部13に転送している。パター
ン発生部13は、上記転送されてきた印字データに応じ
て文字またはバーコードのパターンの所定の拡大および
回転処理を行って1ペ一ジ分の印字パターン情報を生成
し、上記生成した印字パターン情報をCPUl0と後述
する印字部14からの制御信号に基づき、上記印字部1
4に出力している。
FIG. 1 is a block diagram showing a schematic structure of a pattern printing apparatus according to the present invention. In the figure, the control unit (CP
U) 10 reads print data via a magnetic recording medium or a communication line using a keyboard 11 and a display 12, converts the print data into print data that can be analyzed by the pattern generation section 13, and converts the print data into the print data. is transferred to the pattern generating section 13 page by page. The pattern generation unit 13 performs predetermined enlargement and rotation processing on the character or barcode pattern according to the transferred print data, generates print pattern information for one page, and uses the generated print pattern as described above. Based on the control signal from the printing section 14, which will be described later, the information is sent to the printing section 1 as CPU10.
It is output to 4.

印字部14は、例えば細密な印字密度を持ったプリンク
で、CPUl0からの動作制御信号により、上記取り込
んだ印字パターンに応じた所定の文字またはバーコード
のパターンを記録紙等に印字する印字動作を行う。
The printing unit 14 is, for example, a print link having a fine printing density, and performs a printing operation to print a predetermined character or barcode pattern on a recording paper or the like according to the above-mentioned imported printing pattern based on an operation control signal from the CPU10. conduct.

第2図は、本発明に係るパターン発生方式に用いるパタ
ーン発生部13の構成を示す構成ブロック図である。図
において、パターン発生部用主制御部20は、CPU]
、Oと印字部14からの動作制御信号に基づき、後述す
るパターン発生部13を構成する全てのメモリおよび制
御部をそれぞれ動作制御する。
FIG. 2 is a configuration block diagram showing the configuration of the pattern generation section 13 used in the pattern generation method according to the present invention. In the figure, the main control unit 20 for the pattern generation unit is a CPU]
, O and operation control signals from the printing section 14, all memories and control sections constituting the pattern generation section 13, which will be described later, are controlled in operation.

印字データ格納メモリ21は、CPUl0から転送され
てきた1ペ一ジ分の印字データを格納する、いわゆるデ
ュアルポートのRAMまたは通常のRAMにアドレスバ
スとデータバスの選択器を付加してなるメモリで、実施
例では第3図に示すように、2つのメモリ(RAM)2
1a、21bと、アドレスバスとデータバスのセレクタ
回路21c〜21jと、取り込んたアドレス情報を書込
信号または続出信号の入力に対応してカウントアップす
るライトアドレスカウンタ回路21に、  リートア1
ぐレスカウンタ回路21 Aとから構成されており、C
PU1.0と主制御部20からの印字データの読み出し
と書き込みが行えるようになっている。
The print data storage memory 21 is a so-called dual port RAM or a memory with an address bus and data bus selector added to a normal RAM and stores one page of print data transferred from the CPU10. In the embodiment, as shown in FIG. 3, two memories (RAM) 2 are used.
1a, 21b, address bus and data bus selector circuits 21c to 21j, and a write address counter circuit 21 that counts up the fetched address information in response to input of a write signal or successive signal.
It is composed of a counter circuit 21 A, and a counter circuit 21A.
Print data from the PU 1.0 and the main control unit 20 can be read and written.

すなわち、例えばCPUl0か第1のRAM21aをア
クセスしてワード単位の印字データの書き込みや読み出
しを行っている際に、主制御部20が第2のRAM21
bをアクセスして印字データの読み出しを行い、ページ
が変更(格納する印字データが変更)されるたびに、C
PUl0と主制御部20のアクセスするRAM21a、
21bを交換している。
That is, for example, when the CPU l0 or the first RAM 21a is accessed to write or read print data in units of words, the main control unit 20 accesses the second RAM 21a.
B is accessed to read the print data, and each time the page is changed (the print data to be stored is changed), the C
RAM21a accessed by PU10 and the main control unit 20,
21b is being replaced.

印字データ格納メモリ21に格納される印字ブタは、例
えば第4図に示すように、文字またはバーコードごとに
2バイトの文字コードと、4ビツトの書体コードと、1
2ビツトの水平方向印字位置と、12ビツトの垂直方向
印字位置と、1バイトの縦方向拡大率(拡大数)と、1
バイI・の横方向拡大率(拡大数)と、2ピツ1〜の回
転方向を示す情報で構成されており、また制御フラグと
して1ビツトづつの情報終了フラグと印字終了フラグ′
が(q加されている。なお、印字データ格納メモリ21
は、断続した印字パターン出力を行う場合には、1つの
RAMによって構成することも可能であり、また連続し
た印字パターン出力を行う場合には、2つ以上のRAM
によって構成することも可能である。
For example, as shown in FIG. 4, the print button stored in the print data storage memory 21 has a 2-byte character code, a 4-bit font code, and a 1-byte font code for each character or barcode.
2-bit horizontal print position, 12-bit vertical print position, 1-byte vertical enlargement rate (number of enlargements), and 1-byte vertical print position.
It consists of information indicating the horizontal magnification rate (number of magnifications) of BiI and the rotation direction of 2 bits 1~, and also contains information end flag and print end flag for each bit as control flags.
(q is added. Note that the print data storage memory 21
can be configured with one RAM when outputting an intermittent print pattern, or can be configured with two or more RAMs when outputting a continuous print pattern.
It is also possible to configure by

レジスタ回路22.23は、パターン印字の際に、主制
御部20の制御によって上記印字データ格納メモリ21
から読み出された文字コード、書体コードの情報をそれ
ぞれ一時格納しており、レジスタ回路22.23に格納
された文字コードと書体コードは、後述するパターンド
ツト数格納メモリ31のアドレス情報となると共に、コ
ード変換器32に出力される。また、縦および横方向拡
大数は、図示しないレジスタ回路を介して後述するパタ
ーン制御部26に、水平および垂直方向印字位置、回転
方向の情報は、図示しないレジスタ回路を介して印字パ
ターンの格納制御を行うパターン制御部に出力される。
The register circuits 22 and 23 are connected to the print data storage memory 21 under the control of the main control section 20 during pattern printing.
The character code and font code information read from the register circuits 22 and 23 are temporarily stored, and the character code and font code stored in the register circuits 22 and 23 serve as address information for the pattern dot number storage memory 31, which will be described later. , are output to the code converter 32. Further, the number of enlargements in the vertical and horizontal directions is sent to a pattern control unit 26 (described later) via a register circuit (not shown), and information about the printing position in the horizontal and vertical directions and the rotational direction is sent to the storage control unit 26 (described later) via a register circuit (not shown). It is output to the pattern control section that performs the following.

レジスタ回路28.29は、パターン印字以外の場合、
CPUl0から書き込まれた文字コード、書体コードを
格納している。例えは、CPUl0がレジスタ回路30
を介して後述するパターンアドレス格納メモリ25内に
格納されているフォントメモリ27のアドレス情報の書
き換えあるいは読み出しを行う場合、またはCPUl0
がレジスタ回路31を介してフォントメモリ27に格納
されているフォント情報の書き換えあるいは読み出しを
行う場合、レジスタ回路28.29は、CPU]、0か
ら書き込まれた文字コード、書体コードの情報をそれぞ
れ格納し、コード変換部24に出力している。
Register circuits 28 and 29 are used for purposes other than pattern printing.
Stores character codes and font codes written from CPU10. For example, CPUl0 is the register circuit 30
When rewriting or reading address information of the font memory 27 stored in the pattern address storage memory 25 (described later) via the CPU10, or
When rewriting or reading the font information stored in the font memory 27 via the register circuit 31, the register circuits 28 and 29 store information on the character code and font code written from 0 to the CPU, respectively. and outputs it to the code converter 24.

なお、上記文字コードの上位バイト(C08〜C15)
は、第1表に示すように、 (以下余白) 第1表 と定義され、他のコードは、異常コードとして処理され
る。また、バーコードての文字コード(C08〜C15
)は、バーコードのコード種を示すもので、これにより
コード種ごとに異なって設定されているバーコードの横
方向の有効ドツト数を認識することができる。また、バ
ーコードでの文字コードの下位バイ1−(COO−C0
7)は、キャラクタを示すコードである。
In addition, the upper byte of the above character code (C08 to C15)
is defined as Table 1, as shown in Table 1 (blank below), and other codes are treated as abnormal codes. In addition, the character code of the barcode (C08-C15
) indicates the code type of the barcode, and it is thereby possible to recognize the effective number of horizontal dots of the barcode, which is set differently for each code type. Also, the lower byte 1-(COO-C0) of the character code in the barcode
7) is a code indicating a character.

書体コードは、第2表に示すように、 第2表 と定義され、ここでバーコードの書体コードは、ナロー
バーのドツト数(バーコード密度)に対応し、※は異常
コードとして処理される。この定義により、本実施例で
は、漢字が4書体、英数字か8書体、OCR文字が1書
体、キャラクタ数16キヤラクタ以下のバーコードが1
6密度8種類、32キヤラクタ以下のバーコードか16
密度8種類、64キヤラクタ以下のバーコードが16密
度4種類および128キヤラクタ以下のバーコードが1
6密度2種類を取り扱うことができる。
The font code is defined as shown in Table 2, where the font code of the barcode corresponds to the number of narrow bar dots (barcode density), and * is treated as an abnormal code. According to this definition, in this example, there are 4 fonts for Kanji, 8 fonts for alphanumeric characters, 1 font for OCR characters, and 1 barcode with 16 characters or less.
6 densities, 8 types, barcodes with 32 characters or less or 16
8 types of density, 16 barcodes with 64 characters or less 4 types of density and 1 barcode with 128 characters or less
Can handle two types of 6 densities.

コード変換器24は、パターン印字の際に、レジスタ回
路22.23から入力する文字コードと書体コードをア
ドレス情報としてパターン発生部13内の内部文字コー
ドを生成するROMであり、CPUl0と主制御部20
からの情報の読み出しか行えるようになっている。本実
施例では、第5図に示すように、アドレス情報としては
文字コト(COO−C15)と4ビツトの書体コード(
800〜503)から16ビツトの内部コード(■00
〜115)を生成してパターンアドレス格納メモリ33
に出力する。また、コード変換器24は、異常コードの
検知を行っており、入力する文字コードおよび書体コー
ドが異常コードの場合には、」−記異常コードに対応す
る内部文字コードを読み出している。
The code converter 24 is a ROM that generates an internal character code in the pattern generation section 13 using the character code and font code inputted from the register circuits 22 and 23 as address information when printing a pattern. 20
It is only possible to read information from. In this embodiment, as shown in FIG. 5, the address information includes a character code (COO-C15) and a 4-bit font code (
800-503) to 16-bit internal code (■00
~115) and stores it in the pattern address storage memory 33.
Output to. The code converter 24 also detects an abnormal code, and when the input character code and font code are abnormal codes, reads out the internal character code corresponding to the abnormal code.

パターンアドレス格納メモリ25は、内部文字コードを
アドレス情報とし、当該アドレス情報に対応して文字パ
ターンおよびバーコードパターンが格納されているフォ
ントメモリ27上の所定パターン情報の先頭の格納領域
を示す位置情報と、当該位置情報に対応する格納領域に
パターン情報が格納されているかどうかを示す情報(フ
ラグ)とを格納する、いわゆるデュアルポートのRAM
または通常のRAMにアドレスバスとデータバスの選択
器を付加してなるメモリからなっており、cputoと
主制御部20からの情報の読み出しと書き込みが行える
ようになっている。実施例では、パターンアドレス格納
メモリ25内に格納されている情報は、例えばビットマ
ツプメモリの格納領域を8メガワードとすると、23ピ
ツトの」ニ記位置情報と1ビツトのフラグからなる24
ヒツトの情報で、1文字分のパターン情報の位置を示し
ている。上記所定パターン情報の格納位置に対応して読
み出されたアドレス情報は、後述するパターン制御部2
6に出ノJされる。
The pattern address storage memory 25 uses internal character codes as address information, and stores position information indicating the first storage area of predetermined pattern information on the font memory 27 in which character patterns and barcode patterns are stored corresponding to the address information. A so-called dual port RAM that stores information (a flag) indicating whether pattern information is stored in the storage area corresponding to the location information.
Alternatively, it is a memory formed by adding an address bus and data bus selector to a normal RAM, and is capable of reading and writing information from the CPU and the main control unit 20. In this embodiment, if the storage area of the bitmap memory is 8 megawords, the information stored in the pattern address storage memory 25 is 24 bits consisting of 23 bits of position information and 1 bit of flag.
The hit information indicates the position of pattern information for one character. The address information read out corresponding to the storage position of the predetermined pattern information is stored in a pattern control unit 2, which will be described later.
He will appear on the 6th.

パターン制御部26は、主制御部20からの制御信号に
基づき、アドレス情報に応じたパターン情報をフォント
メモリ27から読み出すと共に、印字データ格納メモリ
21から読み出された縦および横方向拡大数に基づいて
上記読み出されたパターン情報の拡大処理を行う。また
、パターン制御部26は、異常コードに対応したアドレ
ス情報が入力した場合には、異常を示すパターン情報を
読み出す等の異常処理を行う。
The pattern control unit 26 reads pattern information according to the address information from the font memory 27 based on the control signal from the main control unit 20, and also reads pattern information based on the vertical and horizontal enlargement numbers read from the print data storage memory 21. Then, the pattern information read out is enlarged. Furthermore, when address information corresponding to an abnormality code is input, the pattern control unit 26 performs abnormality processing such as reading out pattern information indicating an abnormality.

次に、本発明に係るパターン印字方法を用いた印字装置
の動作について説明する。
Next, the operation of the printing device using the pattern printing method according to the present invention will be explained.

まず、文字およびバーコードパターンの登録を行う場合
には、CPU10は、登録を行うパターンの文字コード
および書体コードをレジスタ回路28、29に格納する
。そのコードは、コード変換部24に出力され、その後
、所定のタイミンクでレジスタ回路30にフォントメモ
リ27上でのパターン先頭アドレス情報を、レジスタ回
路31に登録するパターン情報をそれぞれ格納する。
First, when registering a character and barcode pattern, the CPU 10 stores the character code and font code of the pattern to be registered in the register circuits 28 and 29. The code is output to the code converter 24, and then, at a predetermined timing, pattern start address information on the font memory 27 and pattern information to be registered in the register circuit 31 are stored in the register circuit 30, respectively.

コード変換部24は、レジスタ回路28.29から入力
される上記文字コードおよび書体コードに応じた内部文
字コードを出力し、パターンアドレス格納メモリ25は
、」−配向部文字コードをアI・レス情報としてレジス
タ回路30からのパターン先頭アドレス情報を書き込む
The code converter 24 outputs internal character codes according to the character code and font code inputted from the register circuits 28 and 29, and the pattern address storage memory 25 converts the "-orientation part character code into the ``I/Response information''. The pattern start address information from the register circuit 30 is written as .

パターン制御部26は、パターンアドレス格納メモリ2
5からのアドレス情報を取り込むと、フォントメモリ2
7のアドレス情報を出力し、さらにCPUl0からレジ
スタ回路31を介してパターン情報を16トツトづつフ
ォントメモリ27に書き込む。パターン制御部26から
出力されているアドレス情報は、CPUl0の書込信号
が出されるたびに1づつ加算されるため、■パターン分
の印字パターンがレジスタ回路30に書き込まれる。こ
れにより、1パタ一ン分の印字パターンを格納する。か
かる登録動作を各パターン毎に繰り返し行うことにより
、フォントをフォントメモリ27に順次登録することが
できる。
The pattern control unit 26 controls the pattern address storage memory 2
When the address information from 5 is imported, font memory 2
7 address information is output, and pattern information is further written into the font memory 27 from the CPU 10 via the register circuit 31 in units of 16 tots. Since the address information output from the pattern control unit 26 is incremented by 1 each time the write signal from the CPU 10 is output, the print pattern corresponding to the ■ pattern is written into the register circuit 30. As a result, one print pattern is stored. By repeating this registration operation for each pattern, fonts can be registered in the font memory 27 one after another.

印字データ格納メモリ21へ印字データを書き込む場合
には、CPUl0か1ペ一ジ分の印字データを書き込む
が、この際、ページの最終文字には1ビツトのページ終
了フラグを付加すると共に、印字の最終ページの最終文
字には1ピツI・の印字終了フラグを付加する。
When writing print data to the print data storage memory 21, CPU10 writes print data for one page, but at this time, a 1-bit page end flag is added to the last character of the page, and a 1-bit page end flag is added to the last character of the page. A printing end flag of 1 pixel is added to the final character of the final page.

また、フォントメモリ27からパターン情報を読み出す
場合には、主制御部20は、CPUl0からフォントメ
モリ27内のパターン情報の読み出し命令を受は取ると
、各制御部とメモリを制御してフォントメモリ27の読
み出し処理を行わせる。まず、主制御部20は、レジス
タ回路22゜23に印字データ格納メモリ21から文字
コードおよび書体コードの情報を格納させる。そして、
上記格納した文字コーI・および書体コードをアドレス
情報として、コーI・変換部24から対応する内部文字
コードを出力させ、次に、上記内部文字コードをアドレ
ス情報としてパターンアドレス格納メモリ25からはパ
ターンアドレスの情報が出力される。
In addition, when reading pattern information from the font memory 27, the main control unit 20 receives a command to read pattern information in the font memory 27 from the CPU10, and controls each control unit and memory to The read processing is performed. First, the main control unit 20 causes the register circuits 22 and 23 to store character code and font code information from the print data storage memory 21. and,
Using the stored character code I and font code as address information, the code I converter 24 outputs the corresponding internal character code, and then the pattern address storage memory 25 outputs the pattern using the internal character code as address information. Address information is output.

パターン制御部34は、上記パターンアドレス情報に対
応したフォントメモリ27のアドレス情報をフォントメ
モリ27に出力して、対応するパターン情報を読み出し
、印字データ格納メモリ21からの縦および横方向拡大
数に応して」−記読み出したパターン情報を拡大処理し
て、上記パターン情報に応じてビットマツプメモリ上に
印字パターンを発生させるアドレス制御部に出力するこ
とができる。
The pattern control unit 34 outputs the address information of the font memory 27 corresponding to the pattern address information to the font memory 27, reads out the corresponding pattern information, and reads out the corresponding pattern information according to the number of vertical and horizontal expansions from the print data storage memory 21. The read pattern information can be enlarged and output to an address control section that generates a print pattern on the bitmap memory in accordance with the pattern information.

従って、本実施例では、文字、バーコードのすべでのパ
ターン情報を文字コードと書体コードによって表現する
ことができ、個々のパターン情報のフォントメモリでの
格納アドレスを格納するパターンアドレス格納メモリを
用いることで必要なパターンのみを格納でき、フォント
メモリを効率よく使用することができる。また、本実施
例では、異常コードも検知することができるので、より
信頼性の高いパターン発生を実現することかできる。
Therefore, in this embodiment, all pattern information of characters and barcodes can be expressed by character codes and font codes, and a pattern address storage memory is used to store the storage address of each pattern information in the font memory. This allows you to store only the necessary patterns and use font memory efficiently. Furthermore, in this embodiment, since abnormal codes can also be detected, more reliable pattern generation can be realized.

(発明の効果) 以上説明したように、本発明では0、パターン情報を格
納するパターン情報格納手段と、印字パターンの文字コ
ードおよび書体コードを有する印字データを格納する印
字データ格納手段とを設け、前記文字コードの所定上位
ビットを所定文字およびバーコードと対応付けると共に
、前記書体コードを文字およびバーコードの所定書体と
対応付け、前記パターン情報格納手段からパターン情報
を読み出す際には、前記印字データ格納手段から指定さ
れた文字コードおよび書体コードを読み出し、該読み出
された文字コードおよび書体コードを内部文字コーI・
に変換し、該変換した内部文字コードに対応する前記パ
ターン情報格納手段のアドレス情報を生成し、該アドレ
ス情報に応じて所定パターン情報を発生し、かつ、前記
読み出された文字コードおよび書体コードか異常コード
かどうか検知するので、メモリ内のバーコードのパター
ン情報を削減でき、メモリの記憶領域を効率良く使4゜ 用することかできる。
(Effects of the Invention) As described above, the present invention includes a pattern information storage means for storing pattern information, and a print data storage means for storing print data having a character code and a font code of a print pattern. The predetermined upper bits of the character code are associated with predetermined characters and barcodes, and the font code is associated with predetermined fonts of characters and barcodes, and when reading pattern information from the pattern information storage means, the print data storage means The specified character code and font code are read from the means, and the read character code and font code are input to the internal character code I.
, generate address information of the pattern information storage means corresponding to the converted internal character code, generate predetermined pattern information according to the address information, and read out the character code and font code. Since it is possible to detect whether the bar code is an abnormal code or not, the bar code pattern information in the memory can be reduced, and the memory storage area can be used more efficiently.

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

第1図は、本発明に係るパターン印字方法に用いる印字
装置の概略構成を示す構成ブロック図、第2図は第1図
に示したパターン発生部の構成を示す構成ブロック図、
第3図は本発明に係る印字データ格納メモリの一実施例
を示す構成ブロック図、第4図は本発明に係る印字デー
タ格納メモリに格納される印字データの一実施例を示す
構成図、第5図は同じくコード変換器の一実施例を示す
構成図である。 10・・・制御部(CPU) 、13・・・パターン発
生部、14・・・印字部(プリンタ)、20・・主制御
部、21・・・印字データ格納メモリ、22. 23.
 28〜31・・・レジスタ回路、24・・・コード変
換部、25・・・パターンアドレス格納メモリ、2G・
・パターン制御部、27・・・フォントメモリ。
FIG. 1 is a block diagram showing a schematic structure of a printing device used in a pattern printing method according to the present invention, FIG. 2 is a block diagram showing a structure of a pattern generating section shown in FIG.
FIG. 3 is a configuration block diagram showing an embodiment of the print data storage memory according to the present invention; FIG. 4 is a configuration diagram showing an embodiment of print data stored in the print data storage memory according to the invention; FIG. 5 is a block diagram showing an embodiment of the code converter. 10... Control unit (CPU), 13... Pattern generation unit, 14... Printing unit (printer), 20... Main control unit, 21... Print data storage memory, 22. 23.
28-31...Register circuit, 24...Code converter, 25...Pattern address storage memory, 2G.
- Pattern control section, 27... font memory.

Claims (1)

【特許請求の範囲】[Claims] パターン情報を格納するパターン情報格納手段と、印字
パターンの文字コードおよび書体コードを有する印字デ
ータを格納する印字データ格納手段とを設け、前記文字
コードの所定上位ビットを所定文字およびバーコードと
対応付けると共に、前記書体コードを文字およびバーコ
ードの所定書体と対応付け、前記パターン情報格納手段
からパターン情報を読み出す際には、前記印字データ格
納手段から指定された文字コードおよび書体コードを読
み出し、該読み出された文字コードおよび書体コードを
内部文字コードに変換し、該変換した内部文字コードに
対応する前記パターン情報格納手段のアドレス情報を生
成し、該アドレス情報に応じて所定パターン情報を発生
し、かつ、前記読み出された文字コードおよび書体コー
ドが異常コードかどうか検知することを特徴とするパタ
ーン発生方式。
A pattern information storage means for storing pattern information and a print data storage means for storing print data having a character code and a font code of a print pattern are provided, and a predetermined upper bit of the character code is associated with a predetermined character and a bar code. , the font code is associated with a predetermined font of characters and barcodes, and when reading pattern information from the pattern information storage means, the specified character code and font code are read from the print data storage means; converting the converted character code and font code into an internal character code, generating address information of the pattern information storage means corresponding to the converted internal character code, generating predetermined pattern information in accordance with the address information, and . A pattern generation method, characterized in that it is detected whether the read character code and font code are abnormal codes.
JP20485790A 1990-07-30 1990-07-30 Pattern generation system Pending JPH0486274A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20485790A JPH0486274A (en) 1990-07-30 1990-07-30 Pattern generation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20485790A JPH0486274A (en) 1990-07-30 1990-07-30 Pattern generation system

Publications (1)

Publication Number Publication Date
JPH0486274A true JPH0486274A (en) 1992-03-18

Family

ID=16497550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20485790A Pending JPH0486274A (en) 1990-07-30 1990-07-30 Pattern generation system

Country Status (1)

Country Link
JP (1) JPH0486274A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08315057A (en) * 1995-05-15 1996-11-29 Yosuke Matsumoto Bar code font and method for printing out bar code
KR100285220B1 (en) * 1994-10-06 2001-04-02 아끼구사 나오유끼 Polymer Dispersed Liquid Crystal Material, Polymer Dispersed Liquid Crystal Display, and Manufacturing Method Thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100285220B1 (en) * 1994-10-06 2001-04-02 아끼구사 나오유끼 Polymer Dispersed Liquid Crystal Material, Polymer Dispersed Liquid Crystal Display, and Manufacturing Method Thereof
JPH08315057A (en) * 1995-05-15 1996-11-29 Yosuke Matsumoto Bar code font and method for printing out bar code

Similar Documents

Publication Publication Date Title
JPH031193A (en) data conversion device
JPH0630910B2 (en) Printing method
JPH0486274A (en) Pattern generation system
JPH02280195A (en) Character processing device and method
JPH0486276A (en) Font information storage system
JP2554225B2 (en) Text output device
JPS62146642A (en) Enlarging processor of printing data
JPH0486275A (en) Pattern generation system
JPH0486270A (en) Pattern generation system
JPH01291956A (en) dot matrix printer
JPH0486277A (en) Pattern generator
JPH01229666A (en) Printer
JPH0398115A (en) Sentence processor
KR930007668A (en) Vertical writing control device and control method of laser printer
JPS61263764A (en) Method for printer control
JPH01232059A (en) Italic character printing system
JPH0486271A (en) Pattern printing system
JPH01264859A (en) Character output apparatus
JPH03240098A (en) Font cache system for outline font
JPS60187558A (en) Control of printing font
JPH082668B2 (en) Read-only memory read controller
JPH07106650B2 (en) Character pattern control method
JPH07168836A (en) Text output device
JPH01296335A (en) Forms overlay table preparing system
JPS61208083A (en) Character dot pattern data generation method