JPS62209483A - Character output unit - Google Patents

Character output unit

Info

Publication number
JPS62209483A
JPS62209483A JP61052232A JP5223286A JPS62209483A JP S62209483 A JPS62209483 A JP S62209483A JP 61052232 A JP61052232 A JP 61052232A JP 5223286 A JP5223286 A JP 5223286A JP S62209483 A JPS62209483 A JP S62209483A
Authority
JP
Japan
Prior art keywords
character
line
print data
print
pointer
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
JP61052232A
Other languages
Japanese (ja)
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP61052232A priority Critical patent/JPS62209483A/en
Publication of JPS62209483A publication Critical patent/JPS62209483A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、外部装置より文字コードおよび改行コード
および復帰コードを含む出力指定用制御命令を入力して
文字出力を行う文字出力装置に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a character output device that outputs characters by inputting an output designation control command including a character code, line feed code, and return code from an external device. be.

〔従来の技術〕[Conventional technology]

従来、この種の装置では文字の強調を行う場合、インパ
クトプリンタでは同じ位置に同じ文字を打ち、ハンマ等
による多少の機械的ずれやインクの2重塗布を利用して
重ね打ちにより行っていた。またノンインパクトプリン
タでのインクの2重塗布を利用して重ね打ちを行う場合
があった。
Conventionally, when emphasizing characters in this type of device, an impact printer prints the same characters in the same position, and the characters are overprinted using a slight mechanical shift using a hammer or the like or double application of ink. There have also been cases where overprinting has been performed using double application of ink with a non-impact printer.

あるいは蓄積管を利用した表示装置では、同じ位置に同
じ文字を再度表示することで、画面上の輝度を明るくし
、文字の強調を行う場合があった。
Alternatively, in a display device using a storage tube, the same character may be displayed at the same position again to brighten the brightness on the screen and emphasize the character.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

ところが、印字位置の精度の高いインパクトプリンタ(
例えばレーザビームプリンタ)やビデオRAM方式によ
るラスクスキャン型のディスプレイ装置では、これら重
ね打ちを意図したデータを同じ位置に全く同じフォント
パターンを展開するため、出力結果において、重ね打ち
による強調の効果を出せないという問題点を有していた
。また特にタイプライタ等のインパクトプリンタ用のソ
フトウェア(とりわけワードプロセシングソフトウェア
)に対し、これら印字位置精度の高い出力装置では、強
調という機能において、互換性をとりにくいという問題
点を有していた。
However, impact printers with high printing position accuracy (
For example, in a laser beam printer) or a rask scan type display device using a video RAM method, data intended for overprinting is developed in exactly the same font pattern at the same position, so it is possible to create an emphasis effect by overprinting in the output result. The problem was that there was no Furthermore, with respect to software for impact printers such as typewriters (particularly word processing software), these output devices with high printing position accuracy have a problem in that it is difficult to ensure compatibility with the emphasis function.

この発明は、上記の問題点を解消するためになされたも
ので、インパクトプリンタ用の印字データを利用してノ
ンインパクトプリンタで重ね合せによる強調印字が行え
る文字出力装置を提供することを目的とする。
The present invention was made to solve the above problems, and an object of the present invention is to provide a character output device that can perform emphasized printing by overlapping with a non-impact printer using print data for an impact printer. .

〔問題点を解決するための手段〕 この発明に係る文字出力装置は、同一行に対する同一文
字コードが同一桁に2行にわたってバッファに記憶され
る場合に、先行行によるフレームメモリへのフォントパ
ターン展開終了後、後続行の各桁の文字コードおよび先
行行の各桁の文字コードとをそれぞれ順次指示する指示
手段と、この指示手段がそれぞれ指示する各桁の文字コ
ードとを順次比較して、それぞれの指示手段が指示する
文字コードが一致する場合に、後続行の文字コードを指
示する指示手段が指示する文字コードに対応するフォン
トパターンのフレームメモリへの展開アドレスを先行行
による展開アドレスに比べて所定ドツト移行させて展開
するパターン展開制御手段とを設けたものである。
[Means for Solving the Problems] The character output device according to the present invention develops a font pattern in the frame memory using the preceding line when the same character code for the same line is stored in the buffer over two lines in the same column. After completion, the instruction means sequentially indicates the character code of each digit of the succeeding line and the character code of each digit of the preceding line, and the character code of each digit indicated by this instruction means is sequentially compared, and each When the character codes indicated by the indicating means match, the expansion address in the frame memory of the font pattern corresponding to the character code indicated by the indicating means indicating the character code of the subsequent line is compared with the expansion address of the preceding line. A pattern development control means is provided for developing a pattern by moving a predetermined dot.

〔作用〕[Effect]

この発明においては、同一行に対する同一文字コードが
同一桁に2行にわたってバッファに記憶される場合、す
なわち、重ね文字が発生した場合は、重ね文字を要求す
る文字コードが記憶されたバッファ上の2行の各桁の文
字コードを指示手段にそれぞれ順次指示させて、パター
ン展開制御手段がそれぞれが指示する文字コードが一致
する場合に、後続行を指示する指示手段が指示する文字
コードに対応するフォントパターンのフレームメモリへ
の展開アドレスを先行行の同一文字のパターン展開アド
レスよりも所定ドツト移行させて展開させる。
In this invention, when the same character code for the same line is stored in the buffer over two lines in the same column, that is, when overlapping characters occur, two The character code of each digit of the line is sequentially instructed by the instruction means, and when the character codes instructed by the pattern expansion control means match, the font corresponding to the character code instructed by the instruction means is used to instruct the subsequent line. The expansion address of the pattern in the frame memory is shifted by a predetermined dot from the pattern expansion address of the same character in the preceding line.

〔実施例〕〔Example〕

第1図はこの発明の一実施例を示す文字出力装置の一例
を示す構成ブロック図であり、1はプリンタ装置本体で
、文字を出力する。2は例えばマイクロプロセッサから
構成されるCPU、3はプログラムメモリで、CPU2
のプログラム自体やプリント用各種テーブル等を記憶し
ている。4はページバッファで、外部に接続されたコン
ピュータ10(外部装置)の印字データを蓄える。5は
パターン発生制御回路で、ページバッファ4の情報に応
じてフォントパターンの発生制御を行う。
FIG. 1 is a block diagram showing an example of a character output device according to an embodiment of the present invention, in which 1 is a main body of a printer device for outputting characters. 2 is a CPU composed of, for example, a microprocessor; 3 is a program memory;
The program itself and various tables for printing are stored. A page buffer 4 stores print data from the computer 10 (external device) connected externally. Reference numeral 5 denotes a pattern generation control circuit, which controls the generation of font patterns according to information in the page buffer 4.

パターン発生制御回路5はフォントパターンの発生制御
を行うプロセッサ(図示しない)を有している。6はフ
レームメモリで、1ページに相当するドツトイメージを
格納する。7はフォントメモリで、プリントに使用する
各文字のフォントパターンを格納する。8は例えばR5
232Cのようなインタフェース回路、9はビデオイン
タフェース回路で、フレームメモリ6のドツトイメージ
をシリアルの電気信号に変換し、例えばレーザビームプ
リンタでのレーザのオン/オフ信号に変換する。なお、
コンピュータ1oは印字データの発生源として機能する
The pattern generation control circuit 5 has a processor (not shown) that controls the generation of font patterns. A frame memory 6 stores a dot image corresponding to one page. A font memory 7 stores the font pattern of each character used for printing. 8 is for example R5
An interface circuit such as 232C and a video interface circuit 9 convert the dot image in the frame memory 6 into a serial electrical signal, such as a laser on/off signal in a laser beam printer. In addition,
The computer 1o functions as a print data generation source.

コンピュータ10とプリンタ装置本体1とは。What is the computer 10 and the printer main body 1?

インタフェース回路8を介して接続されており、コンピ
ュータ10からの印字データは、インタフェース回路8
を経由してCPU2に取り込まれ、順次ページバッファ
4へ格納される。1ペ一ジ分の印字データの格納を終了
したら、CPU2はパターン発生制御回路5へ文字の展
開とページバッファ4での印字データの開始アドレスの
指示を行う。パターン発生制御回路5は、ページバッフ
ァ4の印字データに対する文字コードに応じて順次フォ
ントパターンをフレームメモリ6ヘパターンを展開する
。1ペ一ジ分の印字データに対するフレームメモリ6へ
のフォントパターン展開が終了すると、パターン発生制
御回路5はフォントパターン展開終了をCPU2に通知
する。CPU2はフォントパターンの展開終了を検知し
たら、ビデオインタフェース回路9にビデオ信号化の指
示を行う。これを受けて、ビデオインタフェース回路9
は1ペ一ジ分のドツトイメージであるフレームメモリ6
の各ドツトを順次レーザのオン/オフ用シリアル信号に
変換し、このページの出力を得る。
It is connected via an interface circuit 8, and print data from the computer 10 is sent to the interface circuit 8.
The data is taken into the CPU 2 via the CPU 2 and sequentially stored in the page buffer 4. When the storage of print data for one page is completed, the CPU 2 instructs the pattern generation control circuit 5 to develop characters and to specify the start address of the print data in the page buffer 4. The pattern generation control circuit 5 sequentially develops font patterns into the frame memory 6 according to character codes for print data in the page buffer 4. When the font pattern development in the frame memory 6 for one page of print data is completed, the pattern generation control circuit 5 notifies the CPU 2 of the completion of the font pattern development. When the CPU 2 detects the end of the font pattern development, it instructs the video interface circuit 9 to convert it into a video signal. In response to this, the video interface circuit 9
is a frame memory 6 which is a dot image for one page.
Each dot is sequentially converted into a serial signal for turning on/off the laser, and the output of this page is obtained.

次に第2図および第3図(a)、(b)を参照しながら
この発明による強調印字動作について説明する。
Next, the emphasized printing operation according to the present invention will be explained with reference to FIG. 2 and FIGS. 3(a) and 3(b).

第2図はこの発明による強調印字出力の一例を示す模式
図であり、11はプリント用紙で、例えば横印字形式で
3行を印字した場合を示しである。11a〜11cは各
ライン印字出力を示し、ライン印字出力11bの第3番
目の文字「G」が強調印字文字である。
FIG. 2 is a schematic diagram showing an example of emphasized print output according to the present invention, in which 11 is a printing paper and shows a case where, for example, three lines are printed in horizontal printing format. 11a to 11c indicate each line print output, and the third character "G" of the line print output 11b is an emphasized print character.

第3図(a)、(b)は第2図に示す各ライン印字出力
11a〜11cの印字データを説明する図であり、同図
(a)において、12a〜12dは各ライン印字データ
で、ライン印字データ12aは印字文字rA、B、C,
DJの後にキャリッジリターンコードCRとラインフィ
ードコードLFが付加され、ライン印字データ12bは
印字文字rE、F、G、H」の後にキャリッジリターン
コードCRのみが付加され、次に強調印字のためのライ
ン印字データ12cが続く。ライン印字データ12cは
空白(図中Δで示す)が2つ続きその後に、印字文字「
G」 、キャリッジリターンコードCRとラインフィー
ドコードLFが付加される。ライン印字データ12dは
印字文字「工。
FIGS. 3(a) and 3(b) are diagrams for explaining the print data of each line print output 11a to 11c shown in FIG. 2, and in FIG. 3(a), 12a to 12d are each line print data, Line print data 12a includes print characters rA, B, C,
A carriage return code CR and a line feed code LF are added after DJ, and line print data 12b has only a carriage return code CR added after the print characters "rE, F, G, H", and then a line for emphasis printing. Print data 12c follows. The line print data 12c has two blank spaces (indicated by Δ in the figure) followed by the print character "
G'', a carriage return code CR and a line feed code LF are added. The line print data 12d is the printed character “K”.

J、に、LJの後に7オワードフイードFFが付加され
る構成となる。
J, has a configuration in which 7 reward feed FFs are added after LJ.

同図(b)において、13a〜13cは各ライン印字デ
ータを示し、ライン印字データ13aは印字文字rA、
B、C,DJの後にキャリッジリターンコードCRとラ
インフィードコードLFが付加され、ライン印字データ
13bは印字文字rE 、F 、GJの後に、バックス
ペースコードBSが付加され、さらに印字文字rG 、
HJおよびキャリッジリターンコードCRとラインフィ
ードコードLFが付加され、ライン印字データ13cは
印字文字r1.J、に、LJの後に、フォワードフィー
ドFFが付加される構成となる。    ”第2図に示
すライン印字出力11a〜11cをプリント紙11に印
字させる場合は、第3図(a)に示すように、ライン印
字データ12a。
In the same figure (b), 13a to 13c indicate each line print data, and the line print data 13a is a print character rA,
A carriage return code CR and a line feed code LF are added after B, C, DJ, and the line print data 13b has a backspace code BS added after the print characters rE, F, GJ, and further print characters rG,
HJ, a carriage return code CR, and a line feed code LF are added, and the line print data 13c becomes the print character r1. A forward feed FF is added to J, after LJ. ``When printing the line print outputs 11a to 11c shown in FIG. 2 on the print paper 11, as shown in FIG. 3(a), the line print data 12a.

12bを印字したのち、改行せずに、同じラインをライ
ン印字データ12cにより、すなわち、2つの空白で印
字文字「G」の位置まで進み、印字文字rGJのみ再度
印字するか、または第3図(b)に示されるように、ラ
イン印字データ13aによる印字およびライン印字デー
タ13bにより印字文字rE 、F 、GJを印字した
のち、バックスペースコードBSにより1文字分だけ、
すなわち印字文字「G」の位置まで戻り、その後印字文
字rG 、HJを印字させるかの2通りがある。
After printing 12b, without starting a new line, proceed to the position of the printing character "G" on the same line using the line printing data 12c, that is, with two spaces, and print only the printing character rGJ again, or print the same line as shown in Fig. 3 ( As shown in b), after printing the characters rE, F, and GJ using the line print data 13a and the line print data 13b, one character is printed using the backspace code BS.
That is, there are two options: return to the position of the printed character "G" and then print the printed characters rG and HJ.

CPU2はこれらのライン印字データ11a〜11d 
、12a 〜72cを第4図に示す印字データ形式に基
づいてレコード化されてページバッファ4へ格納される
The CPU 2 prints these line print data 11a to 11d.
, 12a to 72c are converted into records based on the print data format shown in FIG. 4 and stored in the page buffer 4.

第4図はこの発明による印字データレコード形式を説明
する模式図であり、21は印字データレコードで、21
aはポインタで、次の行(ライン)の印字データレコー
ドを指示している。21bは行データで、印字位置を示
す、21cは桁データで、印字位置を示す。21dは文
字数データで、各行に印字する文字数が格納される。2
1eは印字データで、各行に印字する印字文字が格納さ
れる。なお、印字データレコード21は処理の都合E、
行データ21b1桁データ21c9文字数データ21d
、印字データ21eの順になるようにネスティングし、
1ページの終了は次の印字データレコード21のポイン
タ27aを[nu I I 1にするようにしである。
FIG. 4 is a schematic diagram illustrating the print data record format according to the present invention, where 21 is a print data record;
A is a pointer that points to the print data record of the next line. 21b is line data indicating the print position, and 21c is digit data indicating the print position. 21d is character count data, which stores the number of characters to be printed on each line. 2
1e is print data in which print characters to be printed on each line are stored. Note that the print data record 21 is processed due to processing reasons E,
Line data 21b 1 digit data 21c 9 character count data 21d
, print data 21e are nested in this order,
At the end of one page, the pointer 27a of the next print data record 21 is set to [nu I I 1.

第5図(a) 、 (b)は第3図(a) 、 (b)
に示すライン印字データを第4図に示す印字デ−タレコ
ード21で表現した模式図であり、第2図に示すライン
印字データ11a〜11cは印字データレコード31a
〜31dで表現され、第3図(a)で示すライン印字デ
ータ12a〜12dは印字データレコード32a〜32
dで表現される。
Figures 5(a) and (b) are similar to Figure 3(a) and (b).
This is a schematic diagram in which the line print data shown in FIG. 2 is expressed as the print data record 21 shown in FIG.
31d, and line print data 12a to 12d shown in FIG. 3(a) are print data records 32a to 32.
It is expressed as d.

パターン発生制御回路5は、第5図(a)。The pattern generation control circuit 5 is shown in FIG. 5(a).

(b)に示す印字データレコード31a〜31dもしく
は32a〜32dを処理してフォントパターンの展開を
行う。
Print data records 31a to 31d or 32a to 32d shown in (b) are processed to develop a font pattern.

次に第6図(a)、(b)を参照しながらパターン発生
制御回路5の動作について説明する。
Next, the operation of the pattern generation control circuit 5 will be explained with reference to FIGS. 6(a) and 6(b).

第6図(a)、(b)は第1図に示すパターン発生制御
回路5の動作を説明する図であり、第5図(a)、(b
)と同一のものには同じ符号を付している。P1〜P5
はポインタで、ポインタP1は、実際にフォントパター
ン展開を行う印字データレコードを指示し、ポインタP
2は、ポインタP1の指示する印字データレコードでの
行データ21b9桁データ21cでの行位置と同じ行位
置の印字データレコード群の先頭の印字データレコード
を指示し、ポインタP3はポインタP1の示す印字デー
タレコードでの行データ21b 。
6(a) and 6(b) are diagrams for explaining the operation of the pattern generation control circuit 5 shown in FIG. 1, and FIGS.
) are given the same reference numerals. P1-P5
is a pointer, pointer P1 points to the print data record where the font pattern is actually developed, and pointer P1
2 indicates the first print data record of the print data record group at the same line position as the line data 21b and 9-digit data 21c in the print data record pointed to by pointer P1, and pointer P3 points to the print data record pointed to by pointer P1. Row data 21b in the data record.

桁データ21cでの行位置と同じ行位置の印字データレ
コード群の中の各印字データが同一かどうかのチェック
を行うための印字データレコードを指示し、ポインタP
4はポインタP1で指示されるフォントパターンの展開
を行う印字データレコードの中で実際にフォントパター
ンの展開を行おうとする印字データを指示し、ポインタ
P5はポインタP3で指示される印字データレコードの
中で、実際に同一かどうかのチェックを行う印字データ
を指示する。
Indicates the print data record for checking whether each print data in the print data record group at the same line position as the line position in column data 21c is the same, and points the pointer P
4 indicates the print data for which the font pattern is to be actually developed in the print data record indicated by the pointer P1, and the pointer P5 indicates the print data in the print data record indicated by the pointer P3. Indicates the print data to be checked to see if it is actually the same.

第6図(a)に示す場合、パターン発生制御回路5での
各ポインタP1〜P5は、CPU2からの文字展開の指
示が実行された場合、最初の印字データレコード31a
 (印字文字rA 、 B 、 C。
In the case shown in FIG. 6(a), each pointer P1 to P5 in the pattern generation control circuit 5 points to the first print data record 31a when a character development instruction from the CPU 2 is executed.
(Printed characters rA, B, C.

D」に対する)を指示する。パターン発生制御回路5は
、ポインタPLの指示する印字データレコード31aの
行データ21b9桁データ21cによりフレームメモリ
6上のパターン展開のスタートアドレスを求めるととも
に、印字データレコード31aの先頭の印字文字rAJ
をポインタP4が指示するようにセットする。次いで、
パターン発生制御回路5はポインタP4が指示する印字
文字rAJに相当するフォントパターンをフレームメモ
リ6へ格納し、順次ポインタP4を次の印字文字rB」
を指示するようにセットし、フレームメモリ6上のパタ
ーン展開のスタートアドレスを求め、前述同様にフォン
トパターンをフレームメモリ6へ格納する。ポインタP
iの指示する印字データレコード31aでの文字数デー
タ21dに格納される値分のパターン展開終了時、ポイ
ンタP2の内容を調べ、ポインタP1と同じであればポ
インタPLの示す印字データレコード31aでのポイン
タ21aの内容をポインタP1にロードし、次の印字デ
ータレコード31bを指示するようにセットする。ポイ
ンタP1の変更の際、もし、新しくポインタPiの指示
した印字データレコード31c中の行データ21b9桁
データ21Cの行の値とポインタP2の指示する印字デ
ータレコード3Ib中の行の値とが異なる場合、ポイン
タP2の値をポインタP1の値に一致させる。
) for "D". The pattern generation control circuit 5 determines the start address of pattern development on the frame memory 6 based on the line data 21b and 9-digit data 21c of the print data record 31a pointed to by the pointer PL, and also calculates the start address of the pattern development on the frame memory 6, and generates the print character rAJ at the beginning of the print data record 31a.
is set as indicated by pointer P4. Then,
The pattern generation control circuit 5 stores the font pattern corresponding to the print character rAJ pointed to by the pointer P4 in the frame memory 6, and sequentially moves the pointer P4 to the next print character rB.
is set so as to instruct the font pattern, the start address of pattern development on the frame memory 6 is obtained, and the font pattern is stored in the frame memory 6 in the same manner as described above. pointer P
When the pattern expansion for the value stored in the character count data 21d in the print data record 31a indicated by i is completed, the contents of the pointer P2 are checked, and if it is the same as the pointer P1, the pointer in the print data record 31a indicated by the pointer PL is The contents of 21a are loaded into pointer P1 and set to point to the next print data record 31b. When changing the pointer P1, if the value of the line of the line data 21b 9-digit data 21C in the print data record 31c that the pointer Pi points to is different from the line value of the line in the print data record 3Ib that the pointer P2 points to. , make the value of pointer P2 match the value of pointer P1.

もし、2つの行の値が同じ場合、すなわち、重ね打ちの
発生しうる場合は、パターン発生制御回路5は、ポイン
タP3の値をポインタP2の値と一致させるとともに、
ポインタP3の指示する印字データレコード31bの先
頭の印字文字rEJをポインタP5で指示させるように
セットする。そして、ポインタPLの指示する印字デー
タレコード3Ib中の各印字文字をポインタP4で指示
させ、順次フレームメモリ6へのパターン展開を実行さ
せる。その際、ポインタP4の指示する印字文字と同じ
桁の印字文字をポインタP5で指示させて行き、もし、
印字文字が同一の場合、ポインタP4の指示する印字文
字を、例えば1ドツト移行させてパターン展開を実行す
る。またポインタP4とポインタP5とが指示する印字
文字が異なる場合、既にフレームメモリ6上に発生され
たフォントパターンとOR処理を行いながらパターン展
開を行う。すなわち、印字データレコード31bの印字
文字rE 、FJは印字データレコード31cの空白と
のOR処理がなされてフレームメモリ6に展開される。
If the values of the two rows are the same, that is, if overprinting may occur, the pattern generation control circuit 5 makes the value of the pointer P3 match the value of the pointer P2, and
The first print character rEJ of print data record 31b pointed to by pointer P3 is set to be pointed to by pointer P5. Then, each print character in the print data record 3Ib pointed to by the pointer PL is pointed to by the pointer P4, and pattern expansion into the frame memory 6 is executed sequentially. At that time, pointer P5 points to the print character in the same digit as the print character pointed to by pointer P4, and if
If the printed characters are the same, the printed character indicated by the pointer P4 is shifted, for example, by one dot, and pattern development is executed. Further, if the print characters indicated by pointer P4 and pointer P5 are different, the pattern is developed while performing OR processing with the font pattern already generated on the frame memory 6. That is, the printed characters rE and FJ of the printed data record 31b are expanded into the frame memory 6 after being ORed with the blank space of the printed data record 31c.

また第3図(b)に示されるように、バックスペースコ
ードBSが付加される場合は、第5図(b)に示される
ように印字データレコード32a〜32dが構成される
ため、第6図(b)に示されるように、ポインタPiが
指示する印字データレコード32cの印字文字rGHJ
を処理する場合、印字データレコード32cの行データ
21bが「3」であるため、ポインタP4が印字文字r
G 、HJの中の「G」を指示するとき、ポインタP5
は印字文字rE 、F 、GJの中の「G」を指示する
ので、同じ桁の印字文字が同一であるとパターン発生制
御回路5が判断して、印字文字「G」を、印字方向に対
して1ドツト移行してパターンを展開させる。
Further, as shown in FIG. 3(b), when the backspace code BS is added, the print data records 32a to 32d are configured as shown in FIG. 5(b), so that As shown in (b), the print character rGHJ of the print data record 32c pointed to by the pointer Pi
When processing, the line data 21b of the print data record 32c is "3", so the pointer P4 points to the print character r.
When specifying "G" in G, HJ, pointer P5
indicates the printed character "G" among the printed characters rE, F, and GJ, so the pattern generation control circuit 5 determines that the printed characters in the same digit are the same, and changes the printed character "G" to the printing direction. Then move one dot and develop the pattern.

第7図(a)・〜(C)はこの発明によるフォントパタ
ーン展開動作を説明する模式図であり、同図(a)は第
5図(a)に示す印字データレコード31bによる印字
文字rQJのフレームメモリ6へのフォントパターン展
開状態を示し、例えば1文字が32X32ドツトで構成
され、例えばに+1番地のビット7から順次に+n番地
にかけて展開される。同図(b)は第5図(a)に示す
印字データレコード31cによる印字文字rGJのフレ
ームメモリ6への独立したフォントパターン展開状態を
示し、k+1番地のビット6から順次に+n番地にかけ
て展開した場合を示しである。同図(C)は同図(a)
によるフォントパターン展開後、同図(b)によるフォ
ントパターン展開した場合を示し、強調印字用のフォン
トパターンである。
FIGS. 7(a) to 7(C) are schematic diagrams for explaining the font pattern expansion operation according to the present invention, and FIG. This shows the state of font pattern development in the frame memory 6. For example, one character is composed of 32×32 dots, and is developed sequentially from bit 7 of address +1 to address +n, for example. FIG. 5(b) shows the independent font pattern development state of the print character rGJ in the frame memory 6 by the print data record 31c shown in FIG. 5(a), and the font pattern is developed sequentially from bit 6 of address k+1 to address +n This shows the case. The same figure (C) is the same figure (a)
The font pattern shown in FIG. 3B is developed after the font pattern is developed according to the method shown in FIG.

第8図(a)、(b)はこの発明による強調文字の展開
動作の他の例を示す模式図であり、同図(a)において
、41a〜41eはライン印字データで、第2行目に印
字文字rG、H,IJを強調印字する場合を示しである
FIGS. 8(a) and 8(b) are schematic diagrams showing other examples of the expansion operation of emphasized characters according to the present invention. In FIG. 8(a), 41a to 41e are line print data, and the second line This figure shows the case where printed characters rG, H, and IJ are printed in an emphasized manner.

同図(b)において、51a〜51eは印字データレコ
ードで、第4図および第6図(a)。
In the same figure (b), 51a-51e are print data records, FIG. 4 and FIG. 6 (a).

(b)と同一のものには同じ符号を付している。Components that are the same as those in (b) are given the same reference numerals.

ポインタP1が印字データレコード51dを指示し、ポ
インタP2が印字データレコード51bを指示している
とさ、ポインタP3も最初は印字データレコード51b
を指示する。このため、ポインタP4が指示する印字文
字「H」が1ドツト移行してフレームメモリ6に展開さ
れ、次にポインタP3が印字データレコード51cを指
示するため、印字文字「I」が1ドツト移行されてフレ
ームメモリ6に展開される。従って、ポインタP1が印
字データレコード51dを指示している間は、ポインタ
P3の移動により印字文字rlJおよびrlJも1ドツ
ト移行して展開される。
When pointer P1 points to print data record 51d and pointer P2 points to print data record 51b, pointer P3 also initially points to print data record 51b.
instruct. Therefore, the print character "H" pointed to by the pointer P4 moves one dot and is developed in the frame memory 6, and then the pointer P3 points to the print data record 51c, so the print character "I" moves one dot. and is developed into the frame memory 6. Therefore, while the pointer P1 is pointing to the print data record 51d, the print characters rlJ and rlJ are also expanded by moving one dot as the pointer P3 moves.

なお、L記実施例では、同一の行・桁に同一の文字コー
ドがページバッファ4に記憶される場合に同一のフォン
トパターンを所定ドツト移行してフレームメモリ6に展
開する場合について説明したが、同一の行・桁に同一の
文字コードがページバッファ4に記憶される場合にあら
かじめ登録される同一文字の太文字フォントを選択する
ように構成してもよい。
In the embodiment L, a case has been described in which when the same character code is stored in the same line and column in the page buffer 4, the same font pattern is transferred to a predetermined dot and developed in the frame memory 6. If the same character code is stored in the same line/column in the page buffer 4, a bold font of the same character registered in advance may be selected.

また上記実施例では、1頁分のドツトイメージである所
のフレームメモリを利用して1ドツトずつ移行させてパ
ターンの展開を実行したが、印字ヘッドの移動を行うイ
ンパクトプリンタ等では前の印字データを記憶しておき
、同一コードが指示されるときに、印字ヘッドを移動さ
せて印字するようにすれば同様の効果が得られる。さら
に、ノンインバクドブ“リンクの場合も、行単位でのパ
ターン展開を行う方式では、同一行が複数の場合、それ
らの印字コードを比較して、同一であれば重ね打ちする
処理を行えるように構成すれば同様の効果が得られる。
Furthermore, in the above embodiment, the pattern is developed by moving dots one by one using the frame memory, which is a dot image for one page, but in an impact printer or the like that moves the print head, the previous print data A similar effect can be obtained by storing the code and moving the print head to print when the same code is specified. Furthermore, even in the case of non-in-back dove links, in the method of developing patterns line by line, if there are multiple lines of the same line, it is necessary to compare the printing codes of those lines and, if they are the same, to overprint them. A similar effect can be obtained.

さらに、上記実施例では、展開されたフォントパターン
をプリンタで出力する場合について説明したが、表示装
置であっても構わない。
Further, in the above embodiment, the case where the developed font pattern is outputted by a printer has been described, but it may be outputted by a display device.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、この発明は同一行に対する同一文
字コードが同一桁に所定性にわたってバッファに記憶さ
れる場合に、先行行によるフレームメモリへのフォント
パターン展開終了後、後続行の各桁の文字コードおよび
先行行の各桁の文字コードとをそれぞれ順次指示する指
示手段と、この指示手段がそれぞれ指示する各桁の文字
コードとを順次比較して、それぞれの指示手段が指示す
る文字コードが一致する場合に、後続行の文字コードを
指示する指示手段が指示する文字コードに対応スフオン
ドパターンのフレームメモリへの展開アドレスを先行行
による展開アドレスに比べて所定ドツト移行させて展開
するパターン展開制御手段とを設けたので、ノンインパ
クトプリンタ用の印字データをそのまま使用してレーザ
ビームプリンタ等で重ね合せによる強調文字を印字でき
る優れた利点を有する。
As explained above, when the same character code for the same line is stored in the buffer in the same column for a predetermined period, after the font pattern development in the frame memory by the preceding line is completed, the characters in each column of the subsequent line An instruction means that sequentially indicates the code and the character code of each digit of the preceding line, and the character code of each digit indicated by this instruction means are sequentially compared, and the character codes indicated by each instruction means match. pattern expansion control that expands the expansion address of the suffon pattern into the frame memory by shifting a predetermined dot compared to the expansion address of the preceding line, corresponding to the character code specified by the instruction means that instructs the character code of the subsequent line. Since the present invention is provided with means, there is an excellent advantage that the printing data for a non-impact printer can be used as is to print emphasized characters by overlapping with a laser beam printer or the like.

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

第1図はこの発明の一実施例を示す文字出力装置の−・
例を示すブロック図、第2図はこの発明による強調印字
出力の一例を示す模式図、第3図(a)、(b)は第2
図に示す各ライン印字出力の印字データを説明する図、
第4図はこの発明による印字データレコード形式を説明
する模式図、第5図(a) 、 (b)は第3図(a)
 、 (b)に示すライン印字データを第4図に示す印
字データレコードで表現した模式図、第6図(a)。 (b)は第1図に示すパターン発生制御回路の動作を説
明する図、第7図(a)〜(C)はこの発明によるフォ
ントパターン展開動作を説明する模式図、第8図(a)
、(b)はこの発明による強調文字の展開動作の他の例
を示す模式図である。 図中、1はプリンタ装置本体、2はCPU、3はプログ
ラムメモリ、4はページバッファ、5はパターン発生制
御回路、6はフレームメモリ、7はフォントメモリ、8
はインタフェース回路、9はビデオインタフェース回路
、1oはコンピュータ、P1〜P5はポインタである。 図面のコアI鶏1.内1゛;に変更なし)第1図 1ニア1リシグク託し栄乍ト 第2図 第3図 12d〜IJにLO 13c〜IJKL■ 第4図 第5図 第6図 第7図 第7図(c) 第8図 JにLMe−−41e 手 続 ネ市 正 ↑脣 (方式) %式% 2、発明の名称    文字出力装置 3、補正をする者 事件との関係  特許出願人 住所 東京都大川区下丸子3丁目30番2号名称 (1
00)キャノン株式会社 代表者 賀 来 龍三部 4、代理人〒150 東京都渋谷区桜丘町31番16号 廣信ビル6階6、補
正の対象 図面 7、補正の内容 図面全部を別紙のように補正する。 以上
FIG. 1 shows a character output device according to an embodiment of the present invention.
A block diagram showing an example, FIG. 2 is a schematic diagram showing an example of emphasized print output according to the present invention, and FIGS.
A diagram explaining the print data of each line print output shown in the figure,
FIG. 4 is a schematic diagram explaining the print data record format according to the present invention, and FIGS. 5(a) and (b) are similar to FIG. 3(a).
FIG. 6(a) is a schematic diagram in which the line print data shown in FIG. 4 is expressed by the print data record shown in FIG. 4. (b) is a diagram explaining the operation of the pattern generation control circuit shown in FIG. 1, FIGS. 7(a) to (C) are schematic diagrams explaining the font pattern development operation according to the present invention, and FIG. 8(a)
, (b) are schematic diagrams showing another example of the expansion operation of emphasized characters according to the present invention. In the figure, 1 is the printer main body, 2 is the CPU, 3 is the program memory, 4 is the page buffer, 5 is the pattern generation control circuit, 6 is the frame memory, 7 is the font memory, 8
9 is an interface circuit, 9 is a video interface circuit, 1o is a computer, and P1 to P5 are pointers. Drawing core I chicken 1. No change in 1゛;) Figure 1 Figure 1 Near 1 Risiguku Entrustment Figure 2 Figure 3 12d to IJ LO 13c to IJKL ■ Figure 4 Figure 5 Figure 6 Figure 7 Figure 7 ( c) LMe--41e in Figure 8 J Procedure Ne City Correct ↑脣 (Method) % Formula % 2. Name of the invention Character output device 3. Relationship to the amendment person case Patent applicant address Okawa-ku, Tokyo Shimomaruko 3-30-2 Name (1
00) Canon Co., Ltd. Representative Ryu Kaku Sanbu 4, Agent 6th floor 6, Hironobu Building, 31-16 Sakuragaoka-cho, Shibuya-ku, Tokyo 150, drawing 7 subject to amendment, content of amendment All drawings are attached as attached. to correct. that's all

Claims (1)

【特許請求の範囲】[Claims] 外部装置より入力される文字コードおよび制御コードを
記憶するバッファと、このバッファに格納された前記文
字コードに対応する各文字のフォントパターンをフォン
トメモリより読み出しフレームメモリに展開して文字を
表示または出力させる文字出力装置において、同一行に
対する同一文字コードが同一桁に2行にわたって前記バ
ッファに記憶される場合に、先行行によるフレームメモ
リへのフォントパターン展開終了後、後続行の各桁の文
字コードおよび前記先行行の各桁の文字コードとをそれ
ぞれ順次指示する指示手段と、この指示手段がそれぞれ
指示する各桁の文字コードとを順次比較して、それぞれ
の指示手段が指示する文字コードが一致する場合に、後
続行の文字コードを指示する指示手段が指示する文字コ
ードに対応するフォントパターンのフレームメモリへの
展開アドレスを前記先行行による展開アドレスに比べて
所定ドット移行させて展開するパターン展開制御手段と
を具備したことを特徴とする文字出力装置。
A buffer that stores character codes and control codes input from an external device, and the font pattern of each character corresponding to the character code stored in this buffer is read from the font memory, expanded to the frame memory, and displayed or output as a character. In a character output device, when the same character code for the same line is stored in the buffer over two lines in the same column, after the font pattern has been developed in the frame memory by the preceding line, the character code and character code of each digit in the subsequent line are stored in the buffer. An instruction means for sequentially indicating the character code of each digit of the preceding row, and the character code of each digit indicated by the instruction means are sequentially compared, and the character codes indicated by the respective instruction means match. pattern development control for developing a development address in a frame memory of a font pattern corresponding to a character code indicated by the instruction means for instructing a character code of a subsequent line by shifting a predetermined dot from the development address of the preceding line; A character output device characterized by comprising means.
JP61052232A 1986-03-10 1986-03-10 Character output unit Pending JPS62209483A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61052232A JPS62209483A (en) 1986-03-10 1986-03-10 Character output unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61052232A JPS62209483A (en) 1986-03-10 1986-03-10 Character output unit

Publications (1)

Publication Number Publication Date
JPS62209483A true JPS62209483A (en) 1987-09-14

Family

ID=12908981

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61052232A Pending JPS62209483A (en) 1986-03-10 1986-03-10 Character output unit

Country Status (1)

Country Link
JP (1) JPS62209483A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56117280A (en) * 1980-02-22 1981-09-14 Tokyo Shibaura Electric Co Semiiangle character processing system
JPS5941052A (en) * 1982-08-31 1984-03-07 Ricoh Co Ltd Character pattern generator

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56117280A (en) * 1980-02-22 1981-09-14 Tokyo Shibaura Electric Co Semiiangle character processing system
JPS5941052A (en) * 1982-08-31 1984-03-07 Ricoh Co Ltd Character pattern generator

Similar Documents

Publication Publication Date Title
US5878198A (en) Information processing apparatus and method and memory medium storing information processing program
JPS62209483A (en) Character output unit
JPH0746352B2 (en) Font conversion method
JP2682984B2 (en) Output device
JPS59201870A (en) Printer
JPH0263762A (en) Output apparatus
JP2000181673A (en) Document printer
JPH06100905B2 (en) Pattern output method
JP2525333B2 (en) Output device
JPH0570856B2 (en)
JP2940914B2 (en) Output device
JPH0225348A (en) Image output device
JPH0630927B2 (en) Pattern output method
JP2555557B2 (en) Character processor
JP2966847B2 (en) Character processor
JP2685724B2 (en) Document processing method
JPS63307976A (en) Recorder
JPH0771858B2 (en) output method
JPS59123046A (en) Display system of document processor
JPS62199459A (en) Apparatus for processing document
JPS63221043A (en) Two-sided printing image generator
JPH0776904B2 (en) Document editing device
JPS63180166A (en) Document output device
JPH08202333A (en) Character processor
JPS63199647A (en) Document output device