JPS594706B2 - Print pattern generator - Google Patents

Print pattern generator

Info

Publication number
JPS594706B2
JPS594706B2 JP52014977A JP1497777A JPS594706B2 JP S594706 B2 JPS594706 B2 JP S594706B2 JP 52014977 A JP52014977 A JP 52014977A JP 1497777 A JP1497777 A JP 1497777A JP S594706 B2 JPS594706 B2 JP S594706B2
Authority
JP
Japan
Prior art keywords
line
character
raster
printing
characters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP52014977A
Other languages
Japanese (ja)
Other versions
JPS53100737A (en
Inventor
正男 加藤
明 石山
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP52014977A priority Critical patent/JPS594706B2/en
Publication of JPS53100737A publication Critical patent/JPS53100737A/en
Publication of JPS594706B2 publication Critical patent/JPS594706B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Digital Computer Display Output (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 この発明は、印字方式に関するものである。[Detailed description of the invention] The present invention relates to a printing method.

ディジタルメモリを有してドットパターンにより印字を
行う印字装置において、従来用いられていた印字方法は
、メモリ上にページイメージで文字の配列を示し各文字
はキャラクタアドレス(メモリのアドレスの上位ビット
)により表わされる領域(以後ページバッファと呼ぷ)
と各文字を具現化するためのドットパターンを示してい
る領域(以後フォントメモリと呼ぷ)と印字する際の各
文字のラスタナンバを示している領域(以後ラスタイン
デックスと呼ぷ)を有していて、印字する際は行の始め
でラスタインデックスをインシユライズすなわちクリア
した後、ページバッファより順次1行分の文字コードを
読み込みられるとラスタインデックス値とによりフォン
トメモリをアクセスしドットパターンに変換してl行の
第1ラスタを印字し、次にラスタインデックスを更新し
て同一行の始めから再びページバッファを読み込み順次
l行の第2ラスタを印字する。さらにラスタインデック
スを更新し前記と同様にして印字し、全ラスタを印字後
ろの行の印字は終了しページバッファ上の次の行に遷移
して同様な方法で1行を印字する。この繰り返しにより
1ページを印字するという方法である。従来は、フォン
トメモリ内に有するドットパターンをそのまま印字して
おり、行サイズが異なるとそれに対応してメモリ内にド
ットパターンとして持たなければならないので、行サイ
ズはメモリ容量の制限から少数に限られ、なおかつ行の
なかでの文字の位置は常に一定となり図1のように印字
出来ないという欠点を有していた。
The conventional printing method used in printing devices that have digital memory and print in dot patterns is to arrange characters in a page image on the memory, and each character is identified by a character address (upper bits of the memory address). The area represented (hereinafter referred to as page buffer)
It has an area that shows the dot pattern to embody each character (hereinafter referred to as font memory) and an area that shows the raster number of each character when printing (hereinafter referred to as raster index). When printing, after incilizing or clearing the raster index at the beginning of a line, when character codes for one line are read sequentially from the page buffer, the font memory is accessed based on the raster index value, converted to a dot pattern, and then printed. The first raster of a row is printed, then the raster index is updated, the page buffer is read again from the beginning of the same row, and the second raster of l rows is sequentially printed. Further, the raster index is updated and printing is performed in the same manner as described above, printing of all rasters is completed, the printing of the subsequent line is completed, the process moves to the next line on the page buffer, and one line is printed in the same manner. This method is repeated to print one page. Conventionally, the dot patterns stored in the font memory are printed as they are, and if the line size differs, the corresponding dot pattern must be stored in the memory, so the line size is limited to a small number due to memory capacity limitations. , and had the disadvantage that the position of the characters within a line was always constant, making it impossible to print as shown in FIG.

この発明の目的とするところは前記の如き従来の問題点
を除去するものであり、印字に際して行サイズの指定が
任意となりまた行内の任意の位置に文字をおくことがで
き、したがつて少量のメモリ容量で柔軟性にとんだ印刷
パターンを印字出来るという効果を有する印字方式を援
供することにある。
The purpose of this invention is to eliminate the above-mentioned conventional problems, and it is possible to specify the line size arbitrarily when printing, and to place characters at any position within the line. An object of the present invention is to provide a printing method having the effect of printing a printing pattern with great flexibility depending on the memory capacity.

この発明の特徴とするところは、ラスタナンバをコント
ロールするためのラスタインデックスレジスタテーブル
と、各行に対応した行情報、具体的には行サイズ、文字
の行内の位置、文字サイズ等を示している制御メモリを
有していて、各行の始めにラスタインデツクステーブル
へ制御メモリの情報を転送し、各ラスタ印字後ラスタイ
ンデツクスをハードウエアまたは、プロセツサにより更
新し、ページバツフア内のラスタインデツクス番号によ
り1つのラスタインデツクスレジスタを参照しながらフ
オントメモリをアクセスすることにより柔軟性にとんだ
印字を行なおうとするものである。
The features of this invention include a raster index register table for controlling raster numbers, and a control memory that indicates line information corresponding to each line, specifically line size, character position within the line, character size, etc. The control memory information is transferred to the raster index table at the beginning of each line, and after each raster is printed, the raster index is updated by hardware or a processor, and one raster index number in the page buffer is stored. This attempts to perform printing with great flexibility by accessing the font memory while referring to the raster index register.

次に、第2図に示す本発明の実施例によつて詳細に説明
する。
Next, the embodiment of the present invention shown in FIG. 2 will be explained in detail.

図中、1は入カバツフア、3は送られてきたデータを印
刷形式に編集するための編集エリア、5はページバッフ
ア、2はページバツフア5をアドレスするプログラムカ
ウンタ、6は行内の位置や行サイズの情報を有する初期
値テーブル、7はラスタナンバを示すラスタインデツク
スレジスタテーブル、8は空白を印字するか、文字を印
字するかを判定する判定回路、9はフオントメモリのア
ドレスを示すアドレスレジスタ、10はフオントメモリ
、11は出力バツフア、12は並直変換器をそれぞれ示
す。
In the figure, 1 is an input buffer, 3 is an editing area for editing sent data into a print format, 5 is a page buffer, 2 is a program counter that addresses the page buffer 5, and 6 is a position within a line or line size. 7 is a raster index register table indicating the raster number; 8 is a determination circuit for determining whether to print a blank space or a character; 9 is an address register indicating the address of the font memory; 10 11 represents a font memory, 11 represents an output buffer, and 12 represents a parallel-to-serial converter.

第3図はページバツフア5内における1行のデータ形式
を示すもので1行内のデータは文字を示す部分とライン
エンド情報とその行の先頭アドレスを示す部分からなり
、キヤラクタ部分は2つにわかれており、1つはラスタ
インデツクスレジスタナンバを示し、他はフオントメモ
リの土位アドレスを示すキヤラクタアドレスからなつて
いる。
Figure 3 shows the data format of one line in the page buffer 5. The data in one line consists of a part indicating characters, line end information, and a part indicating the start address of the line, and the character part is divided into two parts. One is a raster index register number, and the other is a character address that is a local address of the font memory.

入カバツフア1には印字すべき文字コードが送られてく
る。編集エリア3では文字コードをそれに対応する文字
のフオントが格納されているフオントメモリ10のアド
レスに変換し、ページバツフア5に1ページの帳票の文
字配列に合わせて書き込む。また、ページの各行に対応
した行サイズ、それぞれの行内における文字の位置、文
字の大きさを示す情報が入カバツフア1を通して初期値
テーブル6に書き込まれる。
A character code to be printed is sent to input buffer 1. In the editing area 3, the character code is converted into the address of the font memory 10 in which the font of the character corresponding to the character code is stored, and is written into the page buffer 5 in accordance with the character arrangement of one page of the form. Further, information indicating the line size corresponding to each line of the page, the position of characters within each line, and the size of the characters is written into the initial value table 6 through the input buffer 1.

初期値テーブル6には各行に関し行サイズ、即ち1行中
のラスタ数と、行内における文字の位置を行の上端から
文字が始まるまでのラスタ数を負の値で記憶する文字位
置情報と、各文字の大きさをそのラスタ数で表わす文字
サイズ情報とが格納されている。印字にあたつては行の
切り替え毎に初期値テーブル6から該当する行の情報が
ラスタインデツクスレジスタ7(以下RIと略称する)
に移される。
The initial value table 6 contains, for each line, the line size, that is, the number of rasters in one line, character position information that stores the position of the character in the line as a negative value, the number of rasters from the top of the line to the start of the character, and Character size information representing the size of the character by its raster number is stored. For printing, each time a line is switched, information on the corresponding line is transferred from the initial value table 6 to the raster index register 7 (hereinafter abbreviated as RI).
will be moved to

R7の情報はページバツフアで文字アドレスとともに指
定されたレジスタ番号の内容が選択され、判定回路8に
て判定される。一方、プログラムカウンタ2の制御によ
り文字アドレスが読み出される。aの値が負の場合には
アドレスレジスタ9には空白を示すアドレスが設定され
る。1ラスタ進む毎にR7中のaの値は1ずつ更新され
る。
As for the information in R7, the content of the register number specified together with the character address in the page buffer is selected and judged by the judgment circuit 8. On the other hand, the character address is read under the control of the program counter 2. If the value of a is negative, an address indicating a blank space is set in the address register 9. The value of a in R7 is updated by 1 every time one raster advances.

aの値が正の場合にはその値がラスタ番号としてページ
バツフア5からのアドレスと合成されてフオントメモリ
10をアクセスすることになる。ラインエンド検出回路
13で1ラスタの読み出しを検出するとR7のRIRO
即ち行サイズ数を1減じる。これを順次繰り返しRIR
OがOとなつたことを検出すると1行分のフオントが発
生されたことを検出しプログラムカウンタ2を+1して
第3図17の次の行の先頭アドレスを読み、プログラム
カウンタ2セツトし、かつ初期値テーブル6から次の行
の情報を読み出してRI7に移す。このような動作を繰
り返すことによつて1ページ分のドツト情報に変換され
た印字データが発生される。フオントメモリ10の出力
は出力バツフア11を通つて並直変換回路12で直列な
情報に変換されて印字装置に送られる。
If the value of a is positive, that value is combined with the address from the page buffer 5 as a raster number, and the font memory 10 is accessed. When the line end detection circuit 13 detects reading of one raster, the RIRO of R7
That is, the row size number is decreased by 1. Repeat this sequentially RIR
When it detects that O has become O, it detects that a font for one line has been generated, increments program counter 2 by 1, reads the start address of the next line in FIG. 3, and sets program counter 2. Then, the information in the next row is read from the initial value table 6 and transferred to the RI 7. By repeating such operations, print data converted into dot information for one page is generated. The output of the font memory 10 passes through an output buffer 11, is converted into serial information by a parallel-to-serial conversion circuit 12, and is sent to a printing device.

次に、文字サイズの指定についてその詳細を第6図に示
す。
Next, details of character size specification are shown in FIG.

Rのカウント値は1ラスタ印字毎に+1される。The count value of R is incremented by 1 for each raster print.

その時カウント値の符号は符号検出器により検出され、
マイナスの時は空白を印字するようにコントロールされ
る。従つて、初期値の与え方により行内の任意の位置に
文字を印字出来る。すなわちある行の印字開始後カウン
トが零になつて初めて印字を開始(フオントメモリの最
初のワードから)する。またカウント値は文字サイズに
よりnビツトシフトしてトータル5ビツトがラスタ番号
として認識されることにより文字の単純拡大が実施され
る。(これは列方向の拡大であり、行方向の拡大はFO
ntdata/WOrdの送出クロツクを一にすること
により行なわれる。n 第3図に示すようにカウント値は判定回路8にあるシフ
ト回路に移される。
At that time, the sign of the count value is detected by a sign detector,
When it is negative, it is controlled to print a blank space. Therefore, characters can be printed at any position within a line depending on how the initial value is given. That is, printing is started (from the first word of the font memory) only when the count reaches zero after printing of a certain line is started. Further, the count value is shifted by n bits depending on the character size, and the total of 5 bits is recognized as a raster number, thereby performing simple enlargement of the character. (This is column-wise expansion; row-wise expansion is FO
This is done by making the sending clocks of ntdata/WORD the same. n As shown in FIG. 3, the count value is transferred to a shift circuit in the determination circuit 8.

ラスタ番号が5ビツトで表わされるとすると、文字サイ
ズがノーマルを指定しているときはカウント値の下位5
ビツトがラスタ番号として出力する。2倍の文字サイズ
が指定されていると1ビツトシフトされ最下位1ビツト
を除く下位5ビツトが出力される。
Assuming that the raster number is represented by 5 bits, when the character size is set to normal, the lower 5 bits of the count value
Bits are output as raster numbers. If twice the character size is specified, the character is shifted by 1 bit and the lower 5 bits excluding the lowest 1 bit are output.

従つて、2ラスタに1回だけラスタ番号が更新される。
つまり同じパターンが2度ずつ読み出され2倍の大きさ
の文字が得られる。文字の印字終了後、すなわち5ビツ
ト分(異なる32w0rd)を印字後各文字サイズ共桁
上りにより再び符号がマイナスとなり、よつてその行が
終了するまでSpaceを供給する。
Therefore, the raster number is updated only once every two rasters.
In other words, the same pattern is read out twice, resulting in twice the size of the characters. After printing characters, that is, after printing 5 bits (different 32w0rd), the sign becomes negative again due to carry for each character size, and Space is supplied until the line ends.

初期値テーブルをページバッフア5内の各行の先頭に持
ち、ラスタインデツクスレジスタテーブルの更新のため
のハードウエアを持つ場合あるいは、判定回路の動作を
プロセッサによりプログラム的に実行jる場合にも同様
の効果を有することが出来る。
The same applies when the page buffer 5 has an initial value table at the beginning of each row and has hardware for updating the raster index register table, or when the operation of the determination circuit is executed programmatically by a processor. It can have the following effect.

以上に述ぺた如き構成であるから本発明にあつては、次
の如き効果を得ることが出来る。
With the configuration as described above, the present invention can provide the following effects.

各行に対応して初期値テーブルを持つていて、印字の際
はそのうちの1つを選択してラスタインデツタスレジス
タを使用するので、各行について任意の大きさの行サイ
ズを指定することが出来また少量のメモリ容量で行内の
任意の位置に文字を印字することが出来る。
Each line has an initial value table, and when printing, one of them is selected and the raster index register is used, so any line size can be specified for each line. Also, characters can be printed at any position within a line with a small amount of memory capacity.

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

第1図は、従来の印字方式では印字出来なかつた印字パ
ターンの例を示す図、第2図は本発明の一実施例を示す
印字方式のプロツクダイアグラム、第3図は、ページバ
ツフア内の1行のデータ形式を示す図、第4図は、ラス
タインデツクスレジスタテーブルの構成図、第5図は、
初期値テーブル内の1行に対応するデータ形式を示す図
、第6図は、文字制御の詳細図。 符号の説明、6・・・・・・初期値テーブル、7・・・
・・・ラスタインデツクスレジスタテーブル、8・・・
・・・判定回路、13・・・・・・ラインエンド検出回
路。
FIG. 1 is a diagram showing an example of a printing pattern that could not be printed using conventional printing methods, FIG. Figure 4 shows the row data format. Figure 4 is a configuration diagram of the raster index register table. Figure 5 shows the configuration of the raster index register table.
A diagram showing a data format corresponding to one line in the initial value table, and FIG. 6 is a detailed diagram of character control. Explanation of symbols, 6...Initial value table, 7...
...Raster index register table, 8...
. . . Judgment circuit, 13 . . . Line end detection circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 複数のラスタからなる文字のドットパターンを格納
するフォントメモリと、印字情報のキャラクタアドレス
とレジスタ番号とを記憶するページバッファと、それぞ
れ異なる印字位置と文字サイズの組み合わせを含む印字
情報を記憶し、前記レジスタ番号で指定される複数のレ
ジスタと、前記キャラクタアドレスで示されるフォント
メモリの領域の文字のドットパターンを前記レジスタ番
号で指定されるレジスタの制御情報に従つたタイミング
及び縮小又は拡大率で読み出す手段とを有する印字パタ
ーン発生装置。
1. A font memory that stores dot patterns of characters made up of multiple rasters, a page buffer that stores character addresses and register numbers of print information, and print information that includes different combinations of print positions and character sizes, Read out the dot patterns of characters in the plurality of registers specified by the register number and the area of the font memory indicated by the character address at a timing and reduction or enlargement rate according to control information of the register specified by the register number. A printing pattern generating device having means.
JP52014977A 1977-02-16 1977-02-16 Print pattern generator Expired JPS594706B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52014977A JPS594706B2 (en) 1977-02-16 1977-02-16 Print pattern generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52014977A JPS594706B2 (en) 1977-02-16 1977-02-16 Print pattern generator

Publications (2)

Publication Number Publication Date
JPS53100737A JPS53100737A (en) 1978-09-02
JPS594706B2 true JPS594706B2 (en) 1984-01-31

Family

ID=11876028

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52014977A Expired JPS594706B2 (en) 1977-02-16 1977-02-16 Print pattern generator

Country Status (1)

Country Link
JP (1) JPS594706B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04831U (en) * 1990-04-19 1992-01-07
US11456572B2 (en) 2018-12-26 2022-09-27 Panasonic Intellectual Property Management Co., Ltd. Light source measurement apparatus

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5611264A (en) * 1979-07-11 1981-02-04 Hitachi Ltd Vertical printing system on chinese character printer
JPS5870387A (en) * 1981-10-21 1983-04-26 Fujitsu Ltd Page printer
JPS5917585A (en) * 1982-07-21 1984-01-28 株式会社日立製作所 Reading system for character generator
JPS6359542A (en) * 1986-07-31 1988-03-15 Pfu Ltd Printing system for small character
JPS63285587A (en) * 1987-05-18 1988-11-22 株式会社リコー Character processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04831U (en) * 1990-04-19 1992-01-07
US11456572B2 (en) 2018-12-26 2022-09-27 Panasonic Intellectual Property Management Co., Ltd. Light source measurement apparatus

Also Published As

Publication number Publication date
JPS53100737A (en) 1978-09-02

Similar Documents

Publication Publication Date Title
JPS6073671A (en) Pattern processor
JPS594706B2 (en) Print pattern generator
EP0120481A2 (en) Method and device for selecting a character shape for each character of a text, e.g. of Arabic, according to four classes
JPS5816189B2 (en) Character pattern generation method
JPH0228474B2 (en)
JPS5853338B2 (en) Dot pattern output method
JPS6230436B2 (en)
JPS61158384A (en) Character processor
KR890001867B1 (en) Latter image modulating method and device
KR940006121B1 (en) Korean character image implementation method in printer
JP2655621B2 (en) Management information output device
JPH0596811A (en) Printing method
JPS58119865A (en) Printing mode for ruled line
JPS61144688A (en) Character generation system
JPH0426137B2 (en)
JPS594710B2 (en) pattern generator
JPS63115196A (en) Italic character generator
JPS62103154A (en) Character pattern memory circuit
JPS61173951A (en) Printing control apparatus
JPS61282885A (en) Pixel pattern generator
JPS6282046A (en) High-speed enlarging printing apparatus utilizing external character
JPS6366671B2 (en)
JPS6011887A (en) Character pattern reading system
JPS61175049A (en) Printing control device
JPS59172881A (en) Picture information processing system