JPH0557962A - Printer - Google Patents

Printer

Info

Publication number
JPH0557962A
JPH0557962A JP3220764A JP22076491A JPH0557962A JP H0557962 A JPH0557962 A JP H0557962A JP 3220764 A JP3220764 A JP 3220764A JP 22076491 A JP22076491 A JP 22076491A JP H0557962 A JPH0557962 A JP H0557962A
Authority
JP
Japan
Prior art keywords
character
pattern
character pattern
dots
area
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
JP3220764A
Other languages
Japanese (ja)
Inventor
Kenichi Fujii
健一 藤井
Kazuya Bessho
和也 別所
Hisashi Kamimura
寿 上村
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.)
Kanzaki Paper Manufacturing Co Ltd
Original Assignee
Kanzaki Paper Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kanzaki Paper Manufacturing Co Ltd filed Critical Kanzaki Paper Manufacturing Co Ltd
Priority to JP3220764A priority Critical patent/JPH0557962A/en
Publication of JPH0557962A publication Critical patent/JPH0557962A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To print effectively a character of a specific latter-form or size which is different from that of a standard character by a method wherein in storing a character pattern in a memory, a means which stores the character pattern by assigning a significant character area of a specific dot in the standard character area is provided. CONSTITUTION:When printing information is inputted into an input-output device and is stored temporarily in an input buffer 41, for an ordinary character, a standard character pattern is read from a standard character pattern storing memory 6 to develop a bit image in an output buffer 46, and a paper feed mechanism is controlled to perform printing. Besides, for a specific character, a character code + a number of significant vertical dots + a number of significant horizontal dots + a character pattern are stored in an optical character pattern storing area 45 and an optically fixing character storing memory 8 for each character. Then, when a specified character pattern is read, only the areas containing the character pattern are read according to number of vertical and horizontal respective significant dots (m), (n), and the specified character pattern is treated apparently as an (mXn) character.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は,任意の文字領域の設定
に関するものであり,特にOCR文字等の印字に好適な
手段を提供するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to setting an arbitrary character area, and particularly provides a means suitable for printing OCR characters and the like.

【0002】[0002]

【従来の技術】従来のプリンタにおいては,行間隔や文
字間隔を制御し,文字領域を互いに重ね合わせた方法で
出力しており,次のような問題があった。 イ)サイズの異なる文字を,1コマンドで横並びに印字
することが不可能である。 ロ)読み出しの速度が遅く,印字に比較的長い時間を要
する。
2. Description of the Related Art In a conventional printer, line spacing and character spacing are controlled, and character areas are output in such a manner that they are superimposed on each other, which has the following problems. B) It is impossible to print characters of different sizes side by side with one command. B) The reading speed is slow and it takes a relatively long time to print.

【0003】[0003]

【発明が解決しようとする課題】本発明は,標準文字と
異なる特定の字体や大きさの文字を効率的に印字できる
プリンタ装置を提供しようとするものである。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a printer device capable of efficiently printing characters having a specific font or size different from standard characters.

【0004】[0004]

【課題を解決するための手段】本発明は,メモリへの文
字パターン格納方法において,縦Mドット,横Nドット
の標準文字領域に,縦 mドット(1≦m≦M),横
Nドットの(1≦n≦N)の有効文字領域を指定するこ
とにより,印字の際には,縦mドット,横nドットの文
字として取り扱える手段を有することを特徴とするプリ
ンタである。1文字の格納は,文字コード+有効縦ドッ
ト数+有効横ドット数+文字パターンにより行われ,文
字パターンの格納はM×Nの領域で行うが,n<x≦N
でありかつm<y≦Mの部分は単に0(零)で埋めれば
よい。
According to the present invention, in a method for storing a character pattern in a memory, a standard character area of vertical M dots and horizontal N dots has m vertical dots (1≤m≤M) horizontal.
By designating an effective character area of N dots (1≤n≤N), the printer is characterized by having means for handling as characters of vertical m dots and horizontal n dots when printing. One character is stored by the character code + the number of effective vertical dots + the number of effective horizontal dots + the character pattern, and the character pattern is stored in the M × N area, but n <x ≦ N
And m <y ≦ M is simply filled with 0 (zero).

【0005】[0005]

【作用】本発明では,文字パターンの格納はM×Nの領
域で行うが,n<x≦N,m<y≦M の部分は単に0
で埋めておけば,読み出し時には余剰な部分は無視する
ので,所要部分のみ切出して出力され読み出し速度も速
い。文字の縦,横サイズ,さらに文字領域まで規定され
ているOCR文字に対しては,特に有効である。
In the present invention, the character pattern is stored in the M × N area, but the portion of n <x ≦ N and m <y ≦ M is simply 0.
If you fill in with, the excess part is ignored during reading, so only the required part is cut out and output, and the reading speed is fast. It is particularly effective for OCR characters in which the vertical and horizontal sizes of characters and the character area are specified.

【0006】[0006]

【実施例】図1は,本発明のプリンタ装置等の概略シス
テム構成図であり,(A)は本発明のプリンタ,(B)
はこれに印字情報等を供給するホストコンピュータ等の
外部装置である。プリンタ(A)において,(1)は入
出力装置であり,外部装置(B)から印字情報の受信を
行う通信インタフェースより成り,またキーボード入力
装置等を設けてもよい。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a schematic system configuration diagram of a printer device of the present invention, (A) is the printer of the present invention, and (B) is a printer.
Is an external device such as a host computer which supplies print information and the like to the device. In the printer (A), (1) is an input / output device, which comprises a communication interface for receiving print information from an external device (B), and may be provided with a keyboard input device or the like.

【0007】(2)はデータバスライン,(3)はCP
U,(4)は主として印字情報を記憶する記憶内容可変
のメモリ(例えばRAM)である。(5)〜(10)は
固定メモリであり,各種の制御プログラム及び固定文字
パターン等を格納し,各々例えばROMで構成される。
(11)はサーマルヘッドその他の印字ヘッドである。
(2) is a data bus line, (3) is a CP
U and (4) are memories (for example, RAM) whose storage contents are variable and which mainly store print information. Fixed memories (5) to (10) store various control programs, fixed character patterns, etc., and each are composed of, for example, a ROM.
(11) is a thermal head and other print heads.

【0008】可変メモリ(4)は,外部装置から受信し
た印字情報や文字パターンの情報などをコ−ド形態で格
納する入力バッファ領域(41),そのうちの印字情報
だけを一時的に記憶する領域(42),任意パターンの
バーコード格納領域(43),通常文字の外字格納領域
(44),本発明の任意文字パターン格納領域(4
5),印字の際印字ヘッドに供給するビット展開された
パターンを格納する出力バッファ領域(46)等を有し
ている。
The variable memory (4) is an input buffer area (41) for storing print information and character pattern information received from an external device in a code form, and an area for temporarily storing only the print information. (42), barcode storage area (43) of arbitrary pattern, external character storage area (44) of normal character, arbitrary character pattern storage area (4 of the present invention
5) It has an output buffer area (46) for storing the bit-developed pattern to be supplied to the print head during printing.

【0009】任意文字パターン格納領域(45)は,標
準文字パターンと異なる特定の字体(フォント,縦横比
を含む),サイズの文字パターンのうち,可変性を含む
任意の文字パターンを格納しており,後述のROM4
(8)と相補関係にある。固定メモリにおいて,ROM
1(5)は印字情報の編集(ビット展開等)プログラ
ム,印字ヘッドの加熱制御プログラム,記録用紙送り制
御プログラム等を含む,通常文字に対する印字制御プロ
グラムを格納している。
The arbitrary character pattern storage area (45) stores arbitrary character patterns including variability among character patterns of specific fonts (including font and aspect ratio) and sizes different from standard character patterns. , ROM4 described later
Complementary to (8). ROM in fixed memory
Reference numeral 1 (5) stores a print control program for normal characters including a print information editing (bit expansion etc.) program, a print head heating control program, a recording paper feed control program and the like.

【0010】ROM2(6)は,標準文字発生用のビッ
トパターンを内蔵している。ROM3(7)は本発明の
特定文字に対する印字制御他各種プログラムを格納して
おり,ROM4(8)は本発明に重要な,標準文字以外
の文字のうち,OCR用文字等の使用頻度の高い文字の
パターンを格納している。ROM5(9)は,バーコー
ドの印字制御用プログラムを格納し,ROM6(10)
は標準バーコード印字用のパターンを格納している。
The ROM 2 (6) has a built-in bit pattern for generating standard characters. The ROM 3 (7) stores various programs such as print control for specific characters of the present invention, and the ROM 4 (8) has a high frequency of use such as OCR characters among characters other than the standard characters which are important for the present invention. Stores character patterns. The ROM 5 (9) stores the barcode printing control program, and the ROM 6 (10)
Stores a standard bar code printing pattern.

【0011】次に本発明装置の動作について説明する。 A)印字情報は,キーボードから,または外部装置
(B)からの転送により入出力装置(1)にコートで入
力され,入力バッファ(41)に一時格納される。通常
文字の印字の場合は,ROM2(6)から印字情報に従
って標準文字パターンが読み出され,出力バッファ(4
6)にビットイメージが展開され,これによりROM1
(5)に格納されたプログラムに従って,印字ヘッド
(11),用紙送り機構(図示せず)が制御され,印字
が行われる。この通常文字の印字の場合は,図4に示す
ような縦Mドット,横Nドっトの標準文字領域にそれぞ
れ格納されている文字パターンがそのまま読み出され
る。
Next, the operation of the device of the present invention will be described. A) The print information is input to the input / output device (1) by a code from the keyboard or by the transfer from the external device (B), and temporarily stored in the input buffer (41). In the case of normal character printing, the standard character pattern is read from the ROM 2 (6) according to the print information, and the output buffer (4
The bit image is developed in 6), and the ROM1
In accordance with the program stored in (5), the print head (11) and the paper feed mechanism (not shown) are controlled to print. In the case of printing this normal character, the character patterns stored in the standard character areas of M vertical dots and N horizontal dots as shown in FIG. 4 are read out as they are.

【0012】B)OCR用文字等,標準文字以外の特定
の文字の場合は,各文字に対して,文字コード+有効縦
ドット数+有効横ドット数+文字パターンが,任意文字
パターン格納領域(45)およびROM4(8)に格納
されている。即ち図2に示すように,この文字パターン
の格納されている領域は斜線部分であり,その周辺の白
紙部分は0で埋められている。この特定文字パターンの
読み出の際は,縦,横の各有効ドット数m,nの指定が
指定されていることにより,文字パターンの有る斜線領
域のみが読み出され,その他の余剰の部分は無視して処
理されるので,見かけ上m×nの文字として取り扱わ
れ,複数文字の読み取りも効率的に行われる。
B) In the case of specific characters other than standard characters such as OCR characters, for each character, the character code + effective vertical dot number + effective horizontal dot number + character pattern is the arbitrary character pattern storage area ( 45) and ROM 4 (8). That is, as shown in FIG. 2, the area in which this character pattern is stored is the shaded area, and the blank area around it is filled with zeros. At the time of reading this specific character pattern, since the vertical and horizontal effective dot numbers m and n are specified, only the shaded area with the character pattern is read, and other surplus portions are read. Since it is ignored and processed, it is handled as apparently m × n characters, and reading of a plurality of characters is also efficiently performed.

【0013】また図3(a)に示すように,縦横任意間
隔の文字を領域の重合なしに印字でき,従来の通常文字
と同様に取り扱うことができ,取り扱い易い。また有効
領域は,標準文字領域内で各文字毎に縦横の各ドット数
を任意に指定できるので,図3(b)のような,縦横
比,サイズの異なる複数の文字を共通のコマンドで印字
することも可能である。(なお図3(b)は,図3
(a),図4,図5に比して拡大して示されている。)
Further, as shown in FIG. 3 (a), characters at arbitrary vertical and horizontal intervals can be printed without overlapping areas, and can be handled in the same manner as conventional ordinary characters, which is easy to handle. In the effective area, the number of dots in the vertical and horizontal directions can be specified for each character in the standard character area, so multiple characters with different aspect ratios and sizes can be printed with a common command, as shown in Fig. 3 (b). It is also possible to do so. (Note that FIG.
(A), It is expanded and shown compared with FIG. 4, FIG. )

【0014】[0014]

【発明の効果】以上の説明からも明らかなように,本発
明により次のような効果が得られる。 1)文字パターンの格納はM×Nの領域で行うが,n<
x≦N,m<y≦Mの部分は単に0で埋めればよく,読
み出し時には余剰な部分は無視するので,読み出し速度
も速い。 2)標準文字領域内の大きさの任意の字体,サイズの文
字に対して適用でき,文字の縦,横サイズ,さらに文字
領域まで規定されているOCR文字に対して,特に有効
である。
As is apparent from the above description, the present invention has the following effects. 1) Character patterns are stored in the M × N area, but n <
The portion of x ≦ N and m <y ≦ M may be simply filled with 0, and the surplus portion is ignored during reading, so that the reading speed is high. 2) It can be applied to characters of any font size and size within the standard character area, and is especially effective for OCR characters whose vertical and horizontal sizes as well as character areas are specified.

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

【図1】図1は,本発明のプリンタ装置の概略システム
構成図である。
FIG. 1 is a schematic system configuration diagram of a printer device of the present invention.

【図2】図2は,本発明における文字格納方法の基本概
念図である。
FIG. 2 is a basic conceptual diagram of a character storage method according to the present invention.

【図3】図3は,本発明装置による文字印字領域の代表
的な例を示す図である。
FIG. 3 is a diagram showing a typical example of a character print area by the device of the present invention.

【図4】図4は,従来における通常の文字印字領域を示
す図である。
FIG. 4 is a diagram showing a conventional normal character print area.

【図5】図5は,従来における縦横任意間隔の印字方法
を示す図である。
FIG. 5 is a diagram showing a conventional printing method at arbitrary vertical and horizontal intervals.

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

A プリンタ B 外部装置 1 入出力装置 2 データバスライン 3 CPU 4 可変メモリ 5 印字制御用メモリ 6 標準文字パターン格納用メモリ 7 任意文字制御用メモリ 8 任意固定文字格納用メモリ 9 バーコード印字制御用メモリ 10 標準バーコードパターン格納用メモリ 41 入力バッファ領域 42 印字情報記憶領域 43 任意パターンバーコード格納領域 44 通常文字外字格納領域 45 任意文字パターン格納領域 46 出力バッファ領域 A Printer B External device 1 Input / output device 2 Data bus line 3 CPU 4 Variable memory 5 Printing control memory 6 Standard character pattern storage memory 7 Arbitrary character control memory 8 Arbitrary fixed character storage memory 9 Bar code printing control memory 10 Standard Bar Code Pattern Storage Memory 41 Input Buffer Area 42 Print Information Storage Area 43 Arbitrary Pattern Bar Code Storage Area 44 Normal Character External Character Storage Area 45 Arbitrary Character Pattern Storage Area 46 Output Buffer Area

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】メモリ内の文字パターン格納において,縦
Mドット,横Nドットの標準文字領域に,縦mドット
(1≦m≦M),横nドットの(1≦n≦N)の有効文
字領域を指定して該文字パターンを格納する手段を備
え,印字の際には,縦mドット,横nドットの文字とし
て取り扱うように構成したことを特徴とするプリンタ装
置。
1. When storing a character pattern in a memory, m vertical dots (1≤m≤M) and horizontal n dots (1≤n≤N) are effective in a standard character area of vertical M dots and horizontal N dots. A printer device comprising means for designating a character area and storing the character pattern, and configured to handle as characters of vertical m dots and horizontal n dots when printing.
【請求項2】標準文字パターン発生手段と,該標準文字
領域内の大きさで標準文字と異なる字体または大きさの
特定の文字のパターンを発生する手段と,印字の際文字
パターン発生手段の種類を選択する手段と,前記特定の
文字の印字を選択したとき,該有効文字領域の文字とし
て読み出し印字する手段を備えたことを特徴とするプリ
ンタ装置。
2. A standard character pattern generating means, a means for generating a pattern of a specific character having a font or a size different from the standard character in the size of the standard character area, and a kind of character pattern generating means at the time of printing. And a means for selecting and printing the specific character and reading and printing as a character in the effective character area.
JP3220764A 1991-08-31 1991-08-31 Printer Pending JPH0557962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3220764A JPH0557962A (en) 1991-08-31 1991-08-31 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3220764A JPH0557962A (en) 1991-08-31 1991-08-31 Printer

Publications (1)

Publication Number Publication Date
JPH0557962A true JPH0557962A (en) 1993-03-09

Family

ID=16756187

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3220764A Pending JPH0557962A (en) 1991-08-31 1991-08-31 Printer

Country Status (1)

Country Link
JP (1) JPH0557962A (en)

Similar Documents

Publication Publication Date Title
EP0355798B2 (en) Label printer
EP0357383B1 (en) Output apparatus
US4979131A (en) Printer apparatus
JPS6335431B2 (en)
EP0351870B1 (en) Information processing device having a function of designating a printing-start position
US4953033A (en) Image forming apparatus for forming images by use of fonts
US5360277A (en) Label printer with selective memory update
JPH04325267A (en) Output method and its device
JPH0557962A (en) Printer
EP0072708B1 (en) Printer
GB2217491A (en) Output apparatus
JP3097818B2 (en) Font data memory device
JPS62208176A (en) Image processor
JP2614251B2 (en) Printer print control method
JPH0462075A (en) Font data recording system of printer
JPH0371028B2 (en)
JPH01264859A (en) Character output apparatus
JPS63242561A (en) Font reducing system
JPH01229666A (en) Printer
JPS6364086A (en) Output unit
JPH02240722A (en) Record controller
JPS58107591A (en) Overlapping character pattern generation system
JPH07132651A (en) Print processor
JPH02202461A (en) Recording device
JPS63102955A (en) Character generator developing system