JPS62199459A - Apparatus for processing document - Google Patents

Apparatus for processing document

Info

Publication number
JPS62199459A
JPS62199459A JP61041723A JP4172386A JPS62199459A JP S62199459 A JPS62199459 A JP S62199459A JP 61041723 A JP61041723 A JP 61041723A JP 4172386 A JP4172386 A JP 4172386A JP S62199459 A JPS62199459 A JP S62199459A
Authority
JP
Japan
Prior art keywords
font
character
memory
pattern generator
code
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
JP61041723A
Other languages
Japanese (ja)
Inventor
Kazuyuki Honda
和幸 本田
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 JP61041723A priority Critical patent/JPS62199459A/en
Publication of JPS62199459A publication Critical patent/JPS62199459A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To reduce labor for replacing a character kind and to enhance docu ment output efficiency, by mounting an input buffer, a frame memory, a charac ter pattern generator, a detachable character pattern generator, an RAM, a display means and the display and switch part of a means indicating the finish of replacement. CONSTITUTION:The code information of the document stored in an input buffer 10 is subjected to pattern development to be stored in a frame memory 5. At this time, information not present in both of a character pattern generator 3 and a detachable character pattern generator 4 is stored in RAM of CPU2. After the pattern development to the memory 5, the memory content of RAM is investigated and, if there is unprocessed document information, the replacement demand of the detachable character pattern generator 4 is displayed on a display and switch part 11. When the finishing of replacement is informed, the pattern development of unprocessed document information is performed to the memory 5 if there is the character pattern corresponding to the unprocessed document information in the pattern generator 4. When the development of one page is finished, a document is printed by a printer 13.

Description

【発明の詳細な説明】 [a業上の利用分野] 本発明は複数パターンの混在する文書出力を可能にした
文書処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application in Industry] The present invention relates to a document processing device that is capable of outputting documents in which a plurality of patterns coexist.

[従来の技術] 従来、例えばディジープリンタにおけるディジホイール
等のように着脱可能なパターン発生器を有する文書処理
装置では、出力データを発生するホストコンピュータか
ら文字種変更の指示が行なわれた場合、無条件に出力を
停止して、ホイール交換の必要を表示したり、現在装着
されているホイールの文字種と異なるか否かを判別後、
現在のホイールにない文字種の場合のみ、ホイール交換
の必要を表示したりしていた。
[Prior Art] Conventionally, in a document processing device having a removable pattern generator, such as a DigiWheel in a Dizzy printer, when a character type change instruction is issued from a host computer that generates output data, an instruction to change the character type is sent unconditionally. After stopping the output and displaying the need for wheel replacement, or determining whether the character type is different from the currently installed wheel,
Only when the current wheel does not have a character type, a message indicating that the wheel needs to be replaced would be displayed.

[発明が解決しようとする問題点] しかし、いずれかの場合でもホイールにない文字種の指
定が行なわれると印字出力は停止してしまう。従って第
2図の如き、標準文字、イタリック文字を1行毎に繰返
して印字するような場合、例えば装着されているホイー
ルに1つの文字種しかない場合等は、1行毎にホイール
の交換が必要となり、印字操作に手間がかかるという欠
点があった。
[Problems to be Solved by the Invention] However, in any case, if a character type that is not on the wheel is designated, the printout will stop. Therefore, when standard characters or italic characters are printed repeatedly on each line as shown in Figure 2, for example, when the installed wheel has only one type of character, the wheel must be replaced after each line. This has the disadvantage that printing operations are time-consuming.

本発明は上記従来例に鑑みなされたもので、文字種の交
換の手間を少なくし、文書出力の効率を高める文書処理
装置を提供することを目的とする。
The present invention has been made in view of the above-mentioned conventional example, and an object of the present invention is to provide a document processing device that reduces the effort required to exchange character types and improves the efficiency of document output.

[問題点を解決するための手段] この問題を解決する一手段として、例えば第1図に示す
実施例の文書処理装置は、第1のメモリの人力バッファ
10と、第2のメモリのフレームメモリ5と、パターン
発生手段の文字パターン発生器3と着脱可能文字パター
ン発生器4と、記憶手段のCPU2のRAMと、表示手
段と交換終了′を指示する手段の表示及びスイッチ部1
1とを備える。
[Means for Solving the Problem] As a means for solving this problem, for example, the document processing apparatus of the embodiment shown in FIG. 5, a character pattern generator 3 as a pattern generating means, a removable character pattern generator 4, a RAM of the CPU 2 as a storage means, a display means and a display and switch section 1 as a means for instructing the end of exchange.
1.

[作用] かかる第1の構成において、人力バッファ1゜に格納さ
れた文書のコード情報が、順次文字パターン発生器3と
着脱可能文字パターン発生器4によりパターン展開され
て、フレームメモリ5に格納される。この時、いずれの
文字パターン発生器3.4にも存在しない文書情報があ
ると、この情報はCPU2のRAMに行数、桁数、文字
コード数、文字コード列として記憶される。フレームメ
モリ5へのパターン展間が1通り終了すると、RAM7
の記憶を調べ、未処理文書情報があれば表示及びスイッ
チ部11に着脱可能文字パターン発生器4の交・換要求
を表示する。スイッチ15により交換終了が知らされる
と、着脱可能文字パターン発生器4に未処理文書情報に
対応する文字パターンがあるかを調べ、あれば着脱可能
文字パターン発生器4を読み出して、未処理分の文書情
報をフレームメモリ5にパターン展開する。1頁分のフ
レームメモリ5への展開が終了すると、プリンタ部13
ヘドットイメージを出力して印刷を行なう。
[Operation] In the first configuration, the code information of the document stored in the manual buffer 1° is sequentially developed into patterns by the character pattern generator 3 and the removable character pattern generator 4, and is stored in the frame memory 5. Ru. At this time, if there is document information that does not exist in any of the character pattern generators 3.4, this information is stored in the RAM of the CPU 2 as the number of lines, number of digits, number of character codes, and character code string. When one pattern has been transferred to the frame memory 5, the RAM 7
, and if there is unprocessed document information, a request for replacement of the removable character pattern generator 4 is displayed on the display and switch section 11. When the end of the exchange is notified by the switch 15, the removable character pattern generator 4 is checked to see if there is a character pattern corresponding to the unprocessed document information, and if so, the removable character pattern generator 4 is read out and the unprocessed part is stored. The document information is pattern-developed into the frame memory 5. When the development of one page in the frame memory 5 is completed, the printer section 13
Output the head dot image and print.

[実施例] 以下、添付図面に従って本発明の実施例を詳細に説明す
る。
[Examples] Examples of the present invention will be described in detail below with reference to the accompanying drawings.

[文書処理装置の説明(第1図)] 第1図は本発明の実施例の文書処理装置のブロック図で
ある。
[Description of Document Processing Apparatus (FIG. 1)] FIG. 1 is a block diagram of a document processing apparatus according to an embodiment of the present invention.

1は種々のホストコンピュータ14よりの文書情報を受
信し、ドツトイメージに変えてプリンタ部13に出力す
る文書処理装置の制御部である。
Reference numeral 1 denotes a control section of the document processing apparatus that receives document information from various host computers 14, converts it into a dot image, and outputs it to the printer section 13.

2は制御部1の制御を司どるCPUで、例えばマイクロ
プロセッサ等で構成されており、CPU2の制御プログ
ラムを内蔵したROMやワークエリアとしてのRAM等
を備えている。
Reference numeral 2 denotes a CPU that controls the control unit 1, and is composed of, for example, a microprocessor, and includes a ROM containing a control program for the CPU 2, a RAM as a work area, and the like.

3は制御部1に内蔵されている文字パターン発生器、4
は例えば他の書体の文字パターン等を内蔵した着脱可能
文字パターン発生器である。
3 is a character pattern generator built into the control unit 1;
is a removable character pattern generator that contains character patterns of other fonts, for example.

5はプリンタ部13の出力用紙1頁に相当するドツトイ
メージを格納するフレームメモリ、6はフレームメモリ
5のドツトイメージを、例えばシリアルの電気信号(例
えばレーザビームプリンタでのレーザのオン/オフ用信
号)に変換したりして、プリンタ部13に印刷データを
出力するプリンタインタフェース回路である。
5 is a frame memory that stores a dot image corresponding to one page of output paper from the printer section 13; 6 is a frame memory that stores the dot image of the frame memory 5, such as a serial electric signal (for example, a laser on/off signal in a laser beam printer); ) and outputs print data to the printer unit 13.

7は後述するパターン発生を行なっていない文字コード
等を記憶しておく未印字ページバッファである。8はパ
ターン発生を行なっていない書体を記憶しておく書体テ
ーブル、9はホストコンピュータ13との接続を行なう
インタフェース回路で、例えばR5−233C等のイン
タフェース部である。10はインタフェース部9からの
文字コードや制御命令を一時的に蓄えておく入力バッフ
ァ、11は表示およびスイッチ部であり、12は着脱可
能な文字パターン発生器4を制御部本体に着脱するため
のソケットである。13は印字出力を行なう、例えばレ
ーザビームプリンタのようなプリンタ部、14は印字デ
ータの発生源であるホストコンピュータである。
Reference numeral 7 denotes an unprinted page buffer for storing character codes and the like for which no pattern generation has been performed, which will be described later. Reference numeral 8 is a font table for storing fonts for which no pattern has been generated, and 9 is an interface circuit for connection with the host computer 13, such as an interface section such as R5-233C. 10 is an input buffer for temporarily storing character codes and control commands from the interface unit 9; 11 is a display and switch unit; 12 is a buffer for attaching and detaching the removable character pattern generator 4 to the main body of the control unit; It's a socket. 13 is a printer unit such as a laser beam printer that performs print output, and 14 is a host computer that is a source of print data.

かかる構成において、CPU2はホストコンピュータ1
4よりの印字データ及び書体変更命令を含む制御命令等
を、インタフェース部9を経由して入力バッファ10に
格納する。CPU2は入力バッファ10の文字コードの
文字パターンが、文字パターン発生器3あるいは装着さ
れている文字パターン発生器4のいずれかに存在すると
きは、該文字コードをフォントパターンに展開してフレ
ームメモリ5に格納する。入力バッファ10の文字コー
ドに該当するフォントパターンが、M記パターン発生器
3.4のいずれにも存在しないときは、その時点で指定
されていた書体を書体テーブル8へ、フォントパターン
の存在しない印字データを、未印字ページバッファ7へ
ストアする。
In such a configuration, the CPU 2 is the host computer 1
The print data from 4 and control commands including font change commands are stored in the input buffer 10 via the interface section 9. When the character pattern of the character code in the input buffer 10 exists in either the character pattern generator 3 or the installed character pattern generator 4, the CPU 2 develops the character code into a font pattern and stores it in the frame memory 5. Store in. If the font pattern corresponding to the character code in the input buffer 10 does not exist in any of the M pattern generators 3.4, the font specified at that time is transferred to the font table 8, and the font pattern for which no font pattern exists is printed. The data is stored in the unprinted page buffer 7.

1頁分のデータが入力バッファ10に格納されると、C
,P’U2は書体テーブル8及び未印字ページバッファ
7を調べ、未印字の文字コードがあるかをみる。未印字
の文字がある場合、表示及びスイッチ部11に未印字の
書体を表示し、着脱可能文字パターン発生器4の交換を
促す。着脱可能文字パターン発生器4が交換され、表示
及びスイッチ部11の交換完了を示すスイッチ15が押
されると、CPU2は着脱可能文字パターン発生器4を
読み出し、着脱可能文字パターン発生器4に書体テーブ
ル8に該当する書体で、未印字ページバッファ7に記憶
されている文字コードがあ°るかをみる。該当する書体
の文字コードがあれば、文字パターンを着脱可能文字パ
ターン発生器4より読出してフレームメモリ5にストア
する。
When one page worth of data is stored in the input buffer 10, C
, P'U2 checks the font table 8 and unprinted page buffer 7 to see if there is an unprinted character code. If there are unprinted characters, the unprinted font is displayed on the display and switch section 11 to prompt replacement of the removable character pattern generator 4. When the removable character pattern generator 4 is replaced and the switch 15 indicating completion of replacement of the display and switch section 11 is pressed, the CPU 2 reads out the removable character pattern generator 4 and stores the font table in the removable character pattern generator 4. It is checked whether there is a character code stored in the unprinted page buffer 7 for the font corresponding to 8. If there is a character code for the corresponding font, the character pattern is read out from the removable character pattern generator 4 and stored in the frame memory 5.

このようにして、CPU2は1頁分のデータ入力が終了
して、未印字の印字データが全くないか、あるいは未印
字ページバッファ7の未印字データの処理を終了すると
、プリンタインタフエース部6に対してプリンタ部13
へのプリントの指示を行なう。プリンタインタフェース
部6はプリンタ部13の給紙制御等を行ない、フレーム
メモリ5の1頁分のドツトイメージを、例えばレーザプ
リンタでのシリアルのレーザオン/オフ信号に変換し、
1頁分の紙面出力を行なう。
In this way, when the CPU 2 finishes inputting data for one page and there is no unprinted print data at all, or when it finishes processing the unprinted data in the unprinted page buffer 7, the CPU 2 inputs the data to the printer interface section 6. On the other hand, the printer section 13
Instructs to print to. The printer interface unit 6 controls the paper feed of the printer unit 13, converts one page worth of dot images in the frame memory 5 into a serial laser on/off signal for a laser printer, for example, and
Outputs one page of paper.

[印字例の説明(第2図)] 第2図は、1頁分の印字データが1行毎に通常文字、イ
タリック文字で構成される場合を示す図である。
[Explanation of Printing Example (FIG. 2)] FIG. 2 is a diagram showing a case where one page of print data is composed of normal characters and italic characters on each line.

第2図において、1行目、3行目、5行目の文字列20
〜22は通常文字であり、第2行目、第4行目の文字列
23.24はイタリック文字である。
In Figure 2, the character string 20 in the 1st, 3rd, and 5th lines
22 are normal characters, and the character strings 23 and 24 in the second and fourth lines are italic characters.

[書体変更命令の説明(第3図、第4図)]第3図はホ
ストコンピュータ14よりの書体変更制御命令のフォー
マットを示した図である。
[Explanation of font change command (FIGS. 3 and 4)] FIG. 3 is a diagram showing the format of a font change control command from the host computer 14.

30は書体変更開始指令で書体が変更されることを示し
ている。このコードは特殊コード、例えばESC:7−
ド(X’lB’、X” はその数が16進数であること
を示す。以下同様である)等から成る。31は文字の書
体名で8文字で構成される。32は文字コード列で実際
に印字される文字コードや制御コード等を含んでいる。
30 indicates that the font is changed by the font change start command. This code is a special code, for example ESC:7-
(X'lB', Contains character codes and control codes that are actually printed.

14図は第2図に示した印字例に対する書体変更命令を
示したものである。
FIG. 14 shows a font change command for the printing example shown in FIG.

40は第2図の1行目の文字列20のデータフォーマッ
トで、書体名31は通常文字であることを示す“NOR
MAL   ”、文字コード列32は“123ABC”
の文字コード列と、CR(キャリジリターンコード)、
LF(ラインフィードコード)、FF(フオームフィー
ドコード)を含んでいる。文字コード列32のコードは
、例えば具体的に示すとX“31’  (1)、X ’
32゜(2)、X ’33° (3)、X ’41° 
(A)。
40 is the data format of the character string 20 in the first line of Figure 2, and the font name 31 is "NOR" indicating that it is a normal character.
MAL”, character code string 32 is “123ABC”
character code string, CR (carriage return code),
It includes LF (line feed code) and FF (form feed code). Specifically, the codes of the character code string 32 are, for example, X "31' (1), X '
32° (2), X'33° (3), X'41°
(A).

X  ’42”  (B)、X ’43° (C)、 
 X ’OD’  (CR)、X ’OA’  (LF
)となる。同様に43は第2行目の文字列23のデータ
を示したもので、書体名31はイタリック書体を示す“
ITALIC”となっている。
X '42'' (B), X '43° (C),
X 'OD' (CR), X 'OA' (LF
). Similarly, 43 indicates the data of character string 23 on the second line, and font name 31 indicates an italic font.
ITALIC”.

[書体テーブルと未印字バッファの説明(第5図、第6
図)] 第S図は書体テーブル8と未印字バッファ7の関係及び
構成を示す図である。
[Explanation of the font table and unprinted buffer (Figures 5 and 6)
Figure S is a diagram showing the relationship and structure of the font table 8 and the unprinted buffer 7.

書体テーブル8には書体名50.その書体の印字が完了
したかを示す印字完了フラグ51、その書体の印字デー
タを格納している未印字バッファ7のアドレスを示すポ
インタ52を備えている。
The font table 8 has font names 50. It is provided with a print completion flag 51 that indicates whether printing of the font has been completed, and a pointer 52 that indicates the address of the unprinted buffer 7 that stores the print data of the font.

未印字ページバッファ7には未印字の印字レコード毎に
、その未印字の印字レコードの文字位置を示す行54、
何番目かの文字を示す桁55及びその未印字の文字コー
ド列のバイト数56、実際の印字データである文字コー
ド列57、そして同一書体の未印字の印字レコードの先
頭アドレスを示すポインタ53を含んでいる。
The unprinted page buffer 7 includes, for each unprinted print record, a line 54 indicating the character position of the unprinted print record;
A digit 55 indicating the number of characters, the number of bytes 56 of the unprinted character code string, a character code string 57 which is the actual print data, and a pointer 53 indicating the start address of the unprinted print record of the same font. Contains.

第2図に示す印字データ例において、イタリック文字に
対する文字パターンが、内蔵している文字パターン発生
器3や、第4図に示す印字データや制御命令が送られた
時点に装着されている着脱可能文字パターン発生器4に
存在しない場合、イタリック文字に対する印字データが
未印字となる。第6図はこのような場合の書体テーブル
8及び未印字ページバッファ7の具体例を示したもので
ある。
In the print data example shown in Figure 2, the character pattern for italic characters is generated by the built-in character pattern generator 3 or the removable device installed at the time the print data and control commands are sent as shown in Figure 4. If it does not exist in the character pattern generator 4, the print data for italic characters will not be printed. FIG. 6 shows a specific example of the font table 8 and unprinted page buffer 7 in such a case.

書体テーブル8のデータ列60は、書体名が“ITAL
IC”となり、印字完了フラグ51が未印字を示すX’
l°となっている。ポインタ52には未印字ページバッ
ファ7のデータ列63の先頭アドレスが格納されている
。書体テーブル8のデータ列61〜62は全てNuJ1
Mコード(0)であり、他に未印字の書体が存在しない
ことを示している。
The data column 60 of the font table 8 has the font name “ITAL”.
IC", and the printing completion flag 51 becomes X' indicating that it has not been printed.
It is l°. The pointer 52 stores the start address of the data string 63 in the unprinted page buffer 7. Data columns 61 to 62 of font table 8 are all NuJ1.
This is the M code (0), indicating that there are no other unprinted fonts.

未印字ページバツファフのデータ列63は、データ列6
0との関連により、2行目の1文字目より6文字分のデ
ータ“123ABC”がイタリック体で、かつ未印字で
あることを示している。
The data string 63 for unprinted pages is data string 6.
Due to the relationship with 0, data "123ABC" for six characters from the first character on the second line is in italics and indicates that it is not printed.

データ列63のポインタ53には、未印字バッファ7の
データ列64の先頭アドレスが格納されており、データ
列64には4行目のイタリック体の未印字データ列が格
納されている。なおデータ列64のポインタ53のNu
文見(0)コードは、データ列64がイタリック体の未
印字データの最終データであることを示している。なお
図中、“123ABC”は例えばASCiiコード等の
文字コードで格納されている。
The pointer 53 of the data string 63 stores the start address of the data string 64 in the unprinted buffer 7, and the data string 64 stores the unprinted data string in italics in the fourth row. Note that Nu of the pointer 53 of the data string 64
The text (0) code indicates that the data string 64 is the final unprinted data in italics. In the figure, "123ABC" is stored as a character code such as an ASCii code.

[ドツトパターンへの展開環の説明 (第7図〜第9図] 第7図はCPU2が入力バッファ10のコードデータを
フォントパターンに展開したフレームメモリ5に格納す
る動作を示すフローチャートで、本プログラムはCPU
2のROMに格納されている。
[Explanation of expansion ring to dot pattern (Figures 7 to 9) Figure 7 is a flowchart showing the operation in which the CPU 2 stores code data in the input buffer 10 expanded into a font pattern in the frame memory 5. is CPU
It is stored in the ROM of 2.

まずステップS1で、入力バッファ10の読出し用行カ
ウンタGCNTと文字桁カウンタKCNTを共に1にす
る。なおGCNTとKCNTはいずれもCPU2のRA
Mの所定アドレス空間に設けられている。ステップS2
ではRAMの書体名エリアに普通文字であることを示す
”NORMAL”をセットする。ステップS3では入力
バッファ10よりコードデータを入力する。ステップS
4でこのコードデータを調べ、書体変更開始指令30か
を調べる。書体変更開始指令30のときはステップS5
に進み、後述する書体変更処理を行なってステップS3
に戻るが、そうでない時はステップS6に進む。
First, in step S1, both the read line counter GCNT and the character digit counter KCNT of the input buffer 10 are set to 1. Note that both GCNT and KCNT are RA of CPU2.
It is provided in a predetermined address space of M. Step S2
Now, set "NORMAL" indicating normal characters in the font name area of RAM. In step S3, code data is input from the input buffer 10. Step S
In step 4, this code data is checked to see if it is a font change start command 30. When the font change start command is 30, step S5
The process proceeds to step S3, where the font change process described later is performed.
However, if this is not the case, the process proceeds to step S6.

ステップS6では改行コードかを調べ、改行コードなら
ばステップS7に進み、行カウンタGCNTを+1し、
ステップS8で1頁終了かをみる。1頁分の終了でなけ
ればステップS3に戻るが、1頁終了の時はステップS
9に進み、後述する改頁処理を行ない、ステップS10
で行カウンタGCNTを再び1に戻して、再びステップ
S3に戻る。
In step S6, it is checked whether it is a line feed code, and if it is a line feed code, the process proceeds to step S7, where the line counter GCNT is incremented by 1.
In step S8, it is checked whether one page is finished. If one page has not been completed, the process returns to step S3, but if one page has been completed, the process returns to step S3.
9, a page break process to be described later is performed, and the process proceeds to step S10.
Then, the row counter GCNT is returned to 1 again, and the process returns to step S3.

ステップS6で改行コードでない時はステップSttに
進み、復帰コード(CFL)かどうかをみる。CRコー
ドの時はステップS12に進み、桁カウンタKCNTを
1にしてステップS3に戻るが、CRコードでない時は
ステップS13に進み改頁コード(FF)かをみる。改
頁コードの時はステップS9に進み、改頁処理を行なう
が、改頁コードでなければステップS14に進み、文字
コードに基づきフォントパターンを文字パターン発生器
3.4より読出し、フレームメモリ5に展開して格納す
る。ステップS15ではKCNTを+1して再びステッ
プS3に戻り前述の動作を繰返す。
If it is determined in step S6 that it is not a line feed code, the process advances to step Stt to check whether it is a return code (CFL). If it is a CR code, the process advances to step S12, sets the digit counter KCNT to 1, and returns to step S3, but if it is not a CR code, the process advances to step S13 to check whether it is a page break code (FF). If it is a page break code, the process proceeds to step S9 to perform page break processing, but if it is not a page break code, the process proceeds to step S14, where the font pattern is read out from the character pattern generator 3.4 based on the character code and stored in the frame memory 5. Expand and store. In step S15, KCNT is increased by 1 and the process returns to step S3 to repeat the above-described operation.

第8図(a)、(b)は第7図のステップS5に示した
書体変更処理のフローチャートである。
FIGS. 8(a) and 8(b) are flowcharts of the font change process shown in step S5 of FIG.

まずステップS20で内蔵文字パターン発生器3、或は
文字パターン発生器4のいずれかに、該当する文字パタ
ーンの書体が存在するかをみる。
First, in step S20, it is checked whether the built-in character pattern generator 3 or the character pattern generator 4 has a font with the corresponding character pattern.

書体がある時はステップS21に進みリターンするが、
書体が存在しない時はステップS22に進み、書体テー
ブル8に書体用のテーブルが既に設けられているかをみ
る。書体テーブル8にテーブルが未設定のときはステッ
プS24に進み、書体テーブル8に空エリアがあってテ
ーブルの追加が可能かどうかをみる。追加が可能の時は
ステップS26に進むが、追加できない時はステップS
25に進み、表示及びスイッチ部11にエラー表示を行
なって動作を停止する。
If there is a font, proceed to step S21 and return, but
If the font does not exist, the process advances to step S22, and it is checked whether a font table is already provided in the font table 8. If no table has been set in the font table 8, the process advances to step S24, and it is checked whether there is an empty area in the font table 8 and it is possible to add a table. If addition is possible, proceed to step S26, but if addition is not possible, proceed to step S26.
The process proceeds to step 25, where an error message is displayed on the display and switch section 11 and the operation is stopped.

ステップS26では未印字ページバッファ7に空エリア
があって、追加が可能かどうかをみる。
In step S26, it is checked whether there is an empty area in the unprinted page buffer 7 and it is possible to add it.

追加できない時はエラーとしてステップS25に進むが
、追加可能のときはステップS27に進み、書体テーブ
ル8にテーブルの追加を行なう。
If the font cannot be added, the process proceeds to step S25 as an error, but if the font can be added, the process proceeds to step S27, where the table is added to the font table 8.

これは新たにテーブルを作成する時は、第6図の60で
示したように、書体名50と印字完了フラグ51をオフ
にしてセットし、ポインタ52には未印字ページバッフ
ァ7のアドレスデータをセットする。一方、既に書体テ
ーブル8に書体のテーブルがある時は、未印字ページバ
ッファ7にデータをセットする。これは例えば第6図で
説明すると、未印字ページバッファ7のコード列64が
最終であったとすると、ポインタ53のNullコード
を次のコード列の先頭アドレスに変え、その先頭アドレ
スで示されるアドレスより新たにコード列を追加する。
When creating a new table, the font name 50 and print completion flag 51 are set to OFF, as shown at 60 in FIG. set. On the other hand, if a font table already exists in the font table 8, data is set in the unprinted page buffer 7. This can be explained with reference to FIG. 6, for example. If the code string 64 in the unprinted page buffer 7 is the last, the Null code in the pointer 53 is changed to the start address of the next code string, and the address indicated by the start address is Add a new code string.

なおこの新たに追加されたコード列のポインタ53には
NufLlコードがセットされる。
Note that the NufLl code is set in the pointer 53 of this newly added code string.

ステップ528では未印字ページバッファ7の追加され
たコード列の行数54、桁数55にはそれぞれGCNT
とKCNTの値がセットされる。
In step 528, the number of rows 54 and the number of digits 55 of the added code string in the unprinted page buffer 7 are GCNT.
and the value of KCNT are set.

ステップS29で文字コードバイト数56をカウントす
る文字数カウンタMJCNTを0にし、ステップS30
以降で書体に該当する文字コード列の読出しを行なう、
ステップs31で書体変更開始命令30を読み込むとス
テップS32に進み、未印字ページバッファ7の文字コ
ードバイト数56にMJCNの値をセットする。書体変
更開始命令30でなければステップS33に進み、ステ
ップS38にかけて制御コードかをみる。なおステップ
S33〜ステツプS40は前述のステップ36〜ステツ
プS13と同様であるため、説明は省略する。文字コー
ドの時はステップ344で、未印字パージバッファ7の
文字コード列57に順次文字コードをセットし、ステッ
プ5S45でKCNTとMJCNTを+1する。
In step S29, the character number counter MJCNT that counts the number of character code bytes, 56, is set to 0, and in step S30
After that, the character code string corresponding to the font will be read out.
When the font change start command 30 is read in step s31, the process advances to step S32, and the value of MJCN is set in the character code byte number 56 of the unprinted page buffer 7. If it is not the font change start command 30, the process advances to step S33, and the process goes to step S38 to check if it is a control code. Note that steps S33 to S40 are the same as steps S36 to S13 described above, and therefore their explanations will be omitted. If it is a character code, the character code is sequentially set in the character code string 57 of the unprinted purge buffer 7 in step 344, and KCNT and MJCNT are incremented by 1 in step 5S45.

制御コードが読出されると、ステップS41〜S43で
更に未印字ページバッファ7にコード列を追加する。こ
のとき先程NulfLコードをセットしたコード列のポ
インタ53には、次のコード列の先頭アドレスをセット
し、行54、桁55にはそれぞれGCNTとKCNTの
値をセットし、文字コードバイト数56にはMJCNT
の値をセットする。
When the control code is read, a code string is further added to the unprinted page buffer 7 in steps S41 to S43. At this time, the start address of the next code string is set in the pointer 53 of the code string where the NulfL code was set earlier, the values of GCNT and KCNT are set in row 54 and column 55, respectively, and the character code byte number 56 is set. is MJCNT
Set the value of

、第9図は1頁のデータ処理終了後、書体テーブル8を
チェックして未印字の書体があるかを調べる改ページ処
理を示すフローチャートである。
, FIG. 9 is a flow chart showing a page break process in which, after data processing for one page is completed, the font table 8 is checked to see if there is any unprinted font.

CPU2は1ペ一ジ分のデータのフォントパターンの展
開の終了後、ステップS50で書体テーブル8を調べ書
体名50の部分がNull(ゼロ)でないか調べる。ス
テップS51で書体名がNullでなく、かつステップ
S52で印字完了フラグ51がオフ(x゛1°)である
書体があるとステップS53に進み、その書体名を表示
及びスイッチ部11に表示する。ステップS54では表
示及びスイッチ部11のスイッチ15のオン、即ち、該
当する書体のフォントが格納されている文字パターン発
生器4がソケット12に装着されるのを待つ0文字パタ
ーン発生器4がソケット12に装着されて、スイッチ1
5がオンされるとステップS55に進み該当する書体が
あるかをみる。該当する書体があればステップS56に
進み、文字パターンに展開してフレームメモリ5にスト
アして、ステップS57で書体テーブル8の該当する印
字完了フラグ51をオンにする。ステップS55で該当
する書体が無ければ再びステップS53に戻り、前述の
動作を繰返す。
After completing the development of the font pattern for one page of data, the CPU 2 checks the font table 8 in step S50 to see if the font name 50 part is null (zero). If there is a font whose font name is not Null in step S51 and the print completion flag 51 is off (x゛1°) in step S52, the process proceeds to step S53, and the font name is displayed on the display and switch section 11. In step S54, the 0 character pattern generator 4 waits for the switch 15 of the display and switch unit 11 to be turned on, that is, the character pattern generator 4 storing the font of the corresponding typeface is attached to the socket 12. switch 1
When 5 is turned on, the process advances to step S55 to check whether there is a corresponding font. If there is a corresponding font, the process proceeds to step S56, where it is developed into a character pattern and stored in the frame memory 5, and the corresponding printing completion flag 51 of the font table 8 is turned on in step S57. If there is no corresponding font in step S55, the process returns to step S53 and the above-described operations are repeated.

第6図の場合を例にとって説明すると“ITALIC”
が未印字の書体であり、上述のスイッチ15の操作を検
出した場合、CPU2は着脱可能文字パターン発生器4
に“ITALIC”の書体に対する文字パターンが存在
するか調べる。”ITALIC”の書体に対する文字パ
ターンが存在しない場合、再度“ITALIC“という
書体名を表示及びスイッチ部11に表示し、別の着脱可
能文字パターン発生器4をソケット12に装着した事を
示すスイッチ15の操作を待つ。
To explain the case in Figure 6 as an example, “ITALIC”
is an unprinted font and the CPU 2 detects the operation of the switch 15 described above, the removable character pattern generator 4
Check to see if there is a character pattern for the font “ITALIC” in . If the character pattern for the font "ITALIC" does not exist, the font name "ITALIC" is displayed again on the switch section 11, and the switch 15 indicates that another removable character pattern generator 4 is attached to the socket 12. Wait for the operation.

着脱可能文字パターン発生器4に“ITALIC”の書
体に対する文字パターンが存在すると、CPU2は書体
テーブル8のポインタ53の値により未印字ページバッ
ファ7の未印字の各文字コード列のアドレスを求め、そ
の文字コード列57の文字パターンを着脱可能文字パタ
ーン発生器4より読み出し、フレームメモリ5へ展開し
てストアする。これにより、第2行目と第4行目の文字
列が文字パターンに展開されてフレームメモリ5に格納
されることになる。
If the removable character pattern generator 4 has a character pattern for the font "ITALIC", the CPU 2 determines the address of each unprinted character code string in the unprinted page buffer 7 based on the value of the pointer 53 of the font table 8, and calculates the address of each unprinted character code string in the unprinted page buffer 7. The character pattern of the character code string 57 is read out from the removable character pattern generator 4, developed and stored in the frame memory 5. As a result, the character strings in the second and fourth lines are expanded into character patterns and stored in the frame memory 5.

CPU2は各書体での上述の処理が終了した場合、ステ
ップS57に進み、書体テーブル8での処理が終了した
書体に対する印字完了フラグ51をオン(x ’o’ 
)にし、書体テーブル8での書体名のある各書体での印
字完了フラグ51が全てオンになるまで、着脱可能文字
発生器4の交換を表示及びスイッチ部11に表示する。
When the above-mentioned processing for each font has been completed, the CPU 2 proceeds to step S57 and turns on the printing completion flag 51 for the font for which the processing in the font table 8 has been completed (x 'o'
), and the replacement of the removable character generator 4 is displayed on the display and switch section 11 until all the printing completion flags 51 for each font with the font name in the font table 8 are turned on.

書体テーブル8での書体名のある各書体での印字完了フ
ラグが全てオンになると、ステップ358に進み、プリ
ンタインタフェース部6にプリントの指示を行ない、フ
レームメモリ5より1頁分のドツトイメージをプリンタ
部13に出力して印字出力を得る。
When all the print completion flags for each font with a font name in the font table 8 are turned on, the process advances to step 358, where a printing instruction is given to the printer interface unit 6, and one page of dot images is sent to the printer from the frame memory 5. 13 to obtain a printed output.

第6図の場合は、第2行目と第4行目の“ITALIC
゛の書体でのフォントパターンへの展開処理を終了する
と、“ITALIC”の書体に対する印字完了フラグ5
1をX゛0°にする。第6図での未印字の書体はイタリ
ック体のみであるため、その時点でプリントの指示を行
ない、1頁分の出力を得ることになる。
In the case of Fig. 6, “ITALIC” in the second and fourth lines
When the process of developing the font pattern in the font ``'' is completed, the printing completion flag 5 for the font ``ITALIC'' is set.
Set 1 to X゛0°. Since the only unprinted font in FIG. 6 is italic, a print instruction is given at that point, and one page worth of output is obtained.

尚、本実施例ではビデオ信号による印字出力について説
明したが、フレームメモリは特に印字に限定されるもの
ではないため、ディスプレイ装置のような画面出力用の
ビデオメモリにも適用できることはもちろんである。
Although this embodiment has described print output using a video signal, the frame memory is not limited to printing, and can of course also be applied to a video memory for screen output such as a display device.

また、本実施例ではプリンタ部がページ単位で印字を行
なうページプリンタとして、1ペ一ジ分のドツトイメー
ジをフレームメモリ上に生成するようにしたが、例えば
インパクトプリンタのように、逐次的に文字出力を行な
うプリンタの場合等では、現在の書体を印字後、用紙の
逆送り等を行なって再びページの先頭に戻し、次に未印
字の文字パターンのみの印字処理を行なうようにしても
良い。なお、本実施例の文書情報は図形情報であっても
良い。
Furthermore, in this embodiment, the printer unit is a page printer that prints on a page-by-page basis, and generates a dot image for one page on the frame memory. In the case of a printer that performs output, after printing the current font, the paper may be reversed to return to the top of the page again, and then only unprinted character patterns may be printed. Note that the document information in this embodiment may be graphic information.

以上説明したように本実施例によれば、未印字の書体及
びそれらの出力データを記憶し、未印字の出力を後に°
行なう事により、書体変更に伴う操作が軽減できるとい
う効果がある。
As explained above, according to this embodiment, unprinted fonts and their output data are stored, and the unprinted fonts are stored later.
This has the effect of reducing the amount of operations involved in changing the font.

[発明の効果] 以上述べた如く本発明によれば、例えば書体の変更等に
伴い該当する文字パターンがない時も。
[Effects of the Invention] As described above, according to the present invention, even when there is no corresponding character pattern due to a change in font, for example.

印刷データの入力が停止することがなく、更に該当する
フォントパターンがないたびに、フォントパターンを交
換する必要がなくなるため、文書出力の効率が良くなる
という効果がある。
The input of print data does not stop, and there is no need to exchange font patterns every time a corresponding font pattern is not found, which improves the efficiency of document output.

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

第1図は本実施例の文書処理装置のブロック図、 第2図は印字出力例を示す図、 第3図は入力データのフォーマットを示す図、 第4図は第2図の印字例の入力フォーマットを示す図、 第5図は書体テーブルと未印字ページバッファの構成と
関連を示す図、 第6図は第2図の印字例における書体テーブルと未印字
ページバッファの具体例を示す図、第7図はフレームメ
モリへのドツトパターン展開を示すフローチャート、 第8図(a)、(b)は書体変更処理のフローチャート
、 第9図は改ページ処理のフローチャートである。 図中、1・・・制御部、2・・・CPtJ、3・・・文
字パターン発生器、4・・・着脱可能文字パターン発生
器、5・・・フレームメモリ、6・・・プリンタインタ
フェース部、7・・・未印字ページバッファ、8・・・
書体テーブル、10・・・入力バッファ、11・・・表
示及び文字パターン発生器、12・・・ソケット、13
・・・プリンタ部、14・・・ホストコンピュータであ
る。 特許出願人  キャノン株式会社 −ゝ 第2図
Figure 1 is a block diagram of the document processing device of this embodiment, Figure 2 is a diagram showing an example of printed output, Figure 3 is a diagram showing the format of input data, and Figure 4 is the input of the example of printing shown in Figure 2. Figure 5 is a diagram showing the structure and relationship of the font table and unprinted page buffer; Figure 6 is a diagram showing a specific example of the font table and unprinted page buffer in the printing example of Figure 2; FIG. 7 is a flowchart showing dot pattern development in the frame memory, FIGS. 8(a) and (b) are flowcharts of font change processing, and FIG. 9 is a flowchart of page break processing. In the figure, 1...Control unit, 2...CPtJ, 3...Character pattern generator, 4...Removable character pattern generator, 5...Frame memory, 6...Printer interface unit , 7...unprinted page buffer, 8...
Font table, 10... Input buffer, 11... Display and character pattern generator, 12... Socket, 13
. . . Printer section, 14 . . . Host computer. Patent applicant: Canon Co., Ltd. - Figure 2

Claims (4)

【特許請求の範囲】[Claims] (1)文書情報を入力して格納する第1のメモリと、該
第1のメモリの文書情報をパターン化するパターン発生
手段と、パターン化された少なくとも1頁分の文書イメ
ージを格納する第2のメモリと、前記パターン発生手段
にない文書情報に対応した情報を記憶する記憶手段と、
該記憶手段の情報に基づき前記パターン発生手段の交換
指示表示を行なう表示手段と、交換終了を知らせる手段
とを備え、交換が終了すると前記記憶手段に対応するパ
ターンを前記パターン発生手段より読出して前記第2の
メモリに格納するようにしたことを特徴とする文書処理
装置。
(1) A first memory for inputting and storing document information, a pattern generation means for patterning the document information in the first memory, and a second memory for storing a patterned document image for at least one page. a memory, and a storage means for storing information corresponding to document information not in the pattern generation means;
Display means for displaying a replacement instruction for the pattern generation means based on information in the storage means, and means for notifying completion of the exchange, and when the exchange is completed, the pattern corresponding to the storage means is read out from the pattern generation means and the A document processing device characterized in that data is stored in a second memory.
(2)第2のメモリは第1のメモリの文書情報の行記憶
手段と文字位置記憶手段及び前記文書情報のコード記憶
手段とを備えたことを特徴とする特許請求の範囲第1項
記載の文書処理装置。
(2) The second memory comprises a line storage means for document information, a character position storage means, and a code storage means for the document information of the first memory. Document processing device.
(3)パターン発生手段は固定のパターン発生手段と着
脱可能なパターン発生手段とを備え、交換指示表示に基
づき前記着脱可能なパターン発生手段を交換するように
したことを特徴とする特許請求の範囲第1項記載の文書
処理装置。
(3) The pattern generating means includes a fixed pattern generating means and a removable pattern generating means, and the removable pattern generating means is replaced based on a replacement instruction display. The document processing device according to item 1.
(4)種々のホストコンピュータとの接続が可能なコー
ドインタフェース部を有していることを特徴とする特許
請求の範囲第1項記載の文書処理装置。
(4) The document processing device according to claim 1, further comprising a code interface unit that can be connected to various host computers.
JP61041723A 1986-02-28 1986-02-28 Apparatus for processing document Pending JPS62199459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61041723A JPS62199459A (en) 1986-02-28 1986-02-28 Apparatus for processing document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61041723A JPS62199459A (en) 1986-02-28 1986-02-28 Apparatus for processing document

Publications (1)

Publication Number Publication Date
JPS62199459A true JPS62199459A (en) 1987-09-03

Family

ID=12616337

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61041723A Pending JPS62199459A (en) 1986-02-28 1986-02-28 Apparatus for processing document

Country Status (1)

Country Link
JP (1) JPS62199459A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0554021A (en) * 1991-05-10 1993-03-05 Hitachi Ltd Information processing equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0554021A (en) * 1991-05-10 1993-03-05 Hitachi Ltd Information processing equipment

Similar Documents

Publication Publication Date Title
JPH0640257B2 (en) Information output device
US5731800A (en) Output method and apparatus
JPH01196096A (en) output device
JP2000105794A (en) Method for printing bag code
JPH03213367A (en) Multicolor printer
JP2705760B2 (en) Image data output device
JP2699385B2 (en) Printing device
JP3450869B2 (en) Bit image data generation device and bit image data generation method
JPH0346020A (en) Document processing system
JP2525333B2 (en) Output device
JP2903516B2 (en) Document processing device
JPH0216068A (en) Image forming device
JPH0583384B2 (en)
JP2690567B2 (en) Printing control device
JP3040624B2 (en) Pattern generator
JPS6073670A (en) Output unit
JPH0373998A (en) Character pattern data generating device
JP2967861B2 (en) Output device
JP3119094B2 (en) Character output device
JPH0442322A (en) Document output device
JPH10111678A (en) Font files
JPH03112668A (en) printing device
JPS637963A (en) Printing apparatus
JPS61286177A (en) Document-forming device
JPH0747724A (en) Printer