JPH0378652B2 - - Google Patents

Info

Publication number
JPH0378652B2
JPH0378652B2 JP60226520A JP22652085A JPH0378652B2 JP H0378652 B2 JPH0378652 B2 JP H0378652B2 JP 60226520 A JP60226520 A JP 60226520A JP 22652085 A JP22652085 A JP 22652085A JP H0378652 B2 JPH0378652 B2 JP H0378652B2
Authority
JP
Japan
Prior art keywords
page
buffer
data
print
line
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 - Lifetime
Application number
JP60226520A
Other languages
Japanese (ja)
Other versions
JPS6285321A (en
Inventor
Manabu Ajioka
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP60226520A priority Critical patent/JPS6285321A/en
Publication of JPS6285321A publication Critical patent/JPS6285321A/en
Publication of JPH0378652B2 publication Critical patent/JPH0378652B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、漢字プリンタにおけるコピー修飾
機能に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a copy modification function in a Kanji printer.

〔従来の技術〕[Conventional technology]

第2図は、従来の漢字プリンタ装置のブロツク
図であり、図において、1はホスト計算機よりチ
ヤンネルを通じて送附されるコマンド、2はこの
コマンドを受けるチヤンネルインタフエース部、
3は制御上のワークエリア、4はホストから送附
されるコマンドに伴なうデータ内の論理文字コー
ドを、漢字プリンタ内の実アドレス(物理コー
ド)に変換する変換テーブル、5はテキスト印字
データをページ単位で複数ページ分格納可能なペ
ージバツフア、6はテキスト印字データの指定さ
れた文字をすり換える為の情報・印字データを格
納したコピー修飾バツフア、7はページバツフア
5とコピー修飾バツフア6に基づき文字のすり換
え処理完了後、一行分の印字データを格納するラ
インバツフアで、書き込みと読み出しを並行に行
なう為、ダブル構成する。8は予め各文字コード
に対応する文字パターンをロードしておき、ライ
ンバツフア7から読み出した文字コードより、文
字パターンを出力するフオントメモリ、9はホス
トより送附された論理文字コードを物理文字コー
ドに変換し文字パターンと共に、フオントメモリ
8へ書き込む信号線を示し、10は前記文字パタ
ーンを印刷機構部へ送出するプリント部インタフ
エース、11はプリント部インタフエース10よ
り送出される印字データを示す。
FIG. 2 is a block diagram of a conventional kanji printer device. In the figure, 1 is a command sent from a host computer through a channel, 2 is a channel interface unit that receives this command,
3 is a control work area, 4 is a conversion table that converts logical character codes in data accompanying commands sent from the host to real addresses (physical codes) in the Kanji printer, and 5 is text print data. is a page buffer that can store multiple pages in page units, 6 is a copy modification buffer that stores information and print data for replacing specified characters in text print data, and 7 is a copy modification buffer that stores characters based on page buffer 5 and copy modification buffer 6. After completing the switching process, the line buffer that stores one line of print data is configured in a double configuration to perform writing and reading in parallel. Reference numeral 8 is a font memory that loads character patterns corresponding to each character code in advance and outputs the character patterns based on the character codes read from the line buffer 7. Reference numeral 9 converts logical character codes sent from the host into physical character codes. A signal line for converting and writing the character pattern together with the font memory 8 is shown, 10 is a print section interface for sending the character pattern to the printing mechanism section, and 11 is print data sent from the print section interface 10.

次に動作に付いて説明する。ホスト計算機より
チヤンネルを通じて送られるコマンド1により、
まずテキストデータを修飾する為のコピー修飾デ
ータが送られる。これには、テキストデータのコ
ピー処理(同一ページをくりかえし印字するこ
と)の時、文字をすりかえる先頭ページ、適用ペ
ージ数、ページ内の開始行、適用行数、行内の適
用開始位置が制御情報として、これに続きすり換
える論理文字コードが含まれている。これらのデ
ータは一旦ワークエリア3に入つた後、変換テー
ブル4により論理文字コードを物理文字コードに
変換し、又制御データはそのまま、コピー修飾バ
ツフア6に格納される。次にコマンド1により、
テキストデータが送られ、変換テーブル4を通じ
物理文字コードに変換し、ページバツフア5に収
納される。ページバツフア5に1ページ以上の印
字データがある場合、印字動作を開始し、以降印
字動作は用紙搬送に追従して連続的に行われ、ペ
ージバツフア5内に印字データがなくなれば印字
動作を停止する。この時、テキストデータにコピ
ー修飾が指定されておれば、ページバツフア5と
コピー修飾バツフア6により一行単位に文字コー
ドをすり換え、それをラインバツフア7にロード
する処理を用紙搬送に遅れない様に行なう。印字
動作はページ単位に行われ、行単位には制御出来
ない為である。この時、ラインバツフア7はダブ
ルバツフアの構成の為、一行分のすりかえ処理を
行ないラインバツフア7に収納する処理と、ライ
ンバツフア7上に既に収納されている前行の物理
コードを読み出し、フオントメモリ8により文字
パターンを得て、プリント部インタフエース10
を通じて、印字データ11を送出する処理が並列
に行なう。この場合、1行分のデータを印字する
間に、次の行の印字データを揃える必要がある。
印刷機構部にて用紙を行単位でスタート/ストツ
プ制御することは不可能な為、次行のデータが揃
わない場合はエラーとなる。
Next, the operation will be explained. With command 1 sent from the host computer through the channel,
First, copy modification data for modifying text data is sent. When copying text data (printing the same page repeatedly), the control information includes the first page where characters are replaced, the number of applicable pages, the starting line within the page, the number of applicable lines, and the starting position within the line. , followed by a logical character code to be replaced. Once these data enter the work area 3, the logical character code is converted into a physical character code by the conversion table 4, and the control data is stored in the copy modification buffer 6 as is. Next, with command 1,
Text data is sent, converted into a physical character code through a conversion table 4, and stored in a page buffer 5. When there is print data of one or more pages in the page buffer 5, the printing operation is started, and thereafter the printing operation is performed continuously following paper conveyance, and when there is no printing data in the page buffer 5, the printing operation is stopped. At this time, if copy modification is specified for the text data, character codes are changed line by line by a page buffer 5 and a copy modification buffer 6, and the process of loading the code into a line buffer 7 is carried out without delaying paper conveyance. This is because the printing operation is performed page by page and cannot be controlled line by line. At this time, since the line buffer 7 has a double buffer configuration, it performs the process of replacing one line and stores it in the line buffer 7, reads the physical code of the previous line already stored on the line buffer 7, and uses the font memory 8 to create a character pattern. and print department interface 10
The process of sending the print data 11 is performed in parallel through the print data 11. In this case, while printing one line of data, it is necessary to align the print data of the next line.
Since it is impossible to start/stop the paper line by line in the printing mechanism, an error will occur if the data for the next line is not complete.

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

従来の漢字プリンタ装置は以上の様に構成され
ているので、前行の印字が終るまでに次の行の印
字データのすり換えを完了させておく必要があ
り、印字速度と制御系の処理速度から同一行内に
てすり換え可能な文字数が決定される為、同一ペ
ージ内の局部的な大量の文字コードをすり換え及
びページ内の大量の文字コードのすり換えが難し
く、制限を越えた場合エラーが発生する点及び前
記欠点をおぎなう為には高価な高速制御回路を必
要とするなどの問題点があつた。
Conventional kanji printers are configured as described above, so it is necessary to complete the replacement of the print data for the next line before the print of the previous line is finished, which reduces the printing speed and the processing speed of the control system. Since the number of characters that can be replaced in the same line is determined from , it is difficult to replace a large number of local character codes on the same page or replace a large number of character codes within a page, and if the limit is exceeded, an error will occur. There are problems such as the occurrence of the above-mentioned drawbacks and the need for an expensive high-speed control circuit to overcome the above-mentioned drawbacks.

この発明は上記のような問題点を解消するため
になされたもので、同一ページ内の局部的な大量
文字コードのすり換えがあつても連続印字を行な
い、ページ内に大量の文字コードのすり換えがあ
る場合でも、印字停止しながら正常印字を行なう
安価な漢字プリンタを得ることを目的とする。
This invention was made in order to solve the above-mentioned problems. Even if a large number of character codes are locally replaced on the same page, continuous printing is performed, and the replacement of a large number of character codes on the page is prevented. To provide an inexpensive kanji printer that can perform normal printing while stopping printing even when there is a change.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係る漢字プリンタ装置は、文字コー
ドのすり換えを行単位でなくページ単位に行な
い、その印字データを収納するページ印字バツフ
アを設け、印字のスタート/ストツプを、このバ
ツフアに1ページ分の印字データが収納されたか
否かで制御する様にしたものである。
The kanji printer device according to the present invention replaces character codes not on a line-by-line basis but on a page-by-page basis, provides a page print buffer for storing the print data, and controls printing start/stop for one page in this buffer. Control is performed depending on whether or not print data is stored.

〔作用〕[Effect]

この発明におけるページ印字バツフアは、印字
動作を正常に行なう為の文字コードのすり換え量
をページ単位にて管理して、ページ内の局部的な
大量処理を平均化し、印字スタート/ストツプの
ペーズ印字バツフアによる制御は、ページ内に大
量の文字コードすり換えが発生しても一旦停止を
し印字データを揃えてから再スタートが可能とな
り、エラー発生が防止出来る。
The page printing buffer of this invention manages the amount of character code replacement on a page-by-page basis in order to perform normal printing operations, averages local large-volume processing within a page, and prints pages at print start/stop. Buffer-based control makes it possible to temporarily stop printing and restart after aligning the print data even if a large number of character code changes occur within a page, thereby preventing errors from occurring.

〔発明の実施例〕[Embodiments of the invention]

以下この発明の一実施例を図について説明す
る。第1図において、1はホスト計算機よりチヤ
ンネルを通じて送られるコマンド、2はコマンド
1を受けるとチヤネルインタフエース部、3はワ
ークエリア、4は論理文字コードから、漢字プリ
ンタの物理アドレスへ変換する変換テーブル、5
はテキスト印字データをページ単位で複数ページ
分収納するページバツフア、6はテキストデータ
とすりかえる論理文字コード及び制御情報をスト
アするコピー修飾バツフア、12はページバツフ
ア5とコピー修飾バツフア6により、文字をすり
かえページ単位に収納するページ印字バツフア
で、書き込みと読み出しを並列化する為、ダブル
構成とする。8は予め各文字コードに対応する文
字パターンをロードしておき、ページ印字バツフ
ア12より読み出した物理文字コードより文字パ
ターンを得る為のフオントメモリ、9は、フオン
トメモリ8へ文字パターンを書き込む為のデータ
及び物理文字コードを示す。10は文字パターン
を印刷機構部へ送るプリント部インタフエース、
11はプリント部インタフエース10より送出さ
れる印字データを示す。
An embodiment of the present invention will be described below with reference to the drawings. In Figure 1, 1 is a command sent from the host computer through a channel, 2 is a channel interface section upon receiving command 1, 3 is a work area, and 4 is a conversion table that converts the logical character code to the physical address of the Kanji printer. , 5
1 is a page buffer that stores text print data for multiple pages in units of pages, 6 is a copy modification buffer that stores logical character codes and control information that are replaced with text data, and 12 is a page buffer that stores text print data for each page by replacing characters with the page buffer 5 and copy modification buffer 6. The page print buffer is stored in a double configuration to parallelize writing and reading. Reference numeral 8 is a font memory in which a character pattern corresponding to each character code is loaded in advance and the character pattern is obtained from the physical character code read from the page print buffer 12; 9 is a font memory for writing the character pattern into the font memory 8; Indicates data and physical character code. 10 is a printing unit interface that sends character patterns to the printing mechanism unit;
Reference numeral 11 indicates print data sent from the print section interface 10.

以下この発明の動作を説明する。ホスト計算機
よりチヤネルを通じ送られるコマンド1により、
コピー修飾データが送られる。このデータにより
同一テキストデータを繰り返しするコピー動作に
おいて、指定された場所の文字コードをすり換え
る処理を行なう。従つてコピー修飾データには先
頭ページ、適用ページ数、ページ内の開始行、適
用行数、行内の適用開始位置が制御情報として、
これに続きすり換える論理文字コードが含まれて
いる。これらのデータは一旦ワークエリア3に入
つた後、制御情報はそのまま、論理文字コードは
変換テーブル4により物理コードに変換後、コピ
ー修飾バツフア6にロードされる。次にコマンド
1により、テキストデータが送られ、変換テーブ
ル4を経て、ページバツフア5に収納される。ペ
ージバツフア5に1ページ以上の印字データがた
まれば、コピー修飾バツフア6に従つて、文字コ
ードをすり換えて、ページ印字バツフア12に順
次書き込んで行く。1ページ分の文字コードのす
り換えが完了後、このページ印字バツフア12よ
り物理文字コードを読み出し、フオントメモリ8
より文字パターンを得て、プリンタ部インタフエ
ース10を通じ、印字データ11を印字機構部へ
送出し印字動作をスタートする。ページ印字バツ
フア12はダブル構成の為、文字コードのすり換
え処理と、印字データ11の送出処理とか並列に
行なう為、印字を連続的に行なえ停止しない。万
一大量の文字コードのすり換えが発生し、文字コ
ードのすり換え処理が印字動作を追従出来ない場
合は、ページ単位でストツプ制御を行なえば良
く、エラーの発生することはない。
The operation of this invention will be explained below. With command 1 sent from the host computer through the channel,
Copy modification data is sent. This data is used to perform a process of changing the character code at a designated location in a copy operation that repeats the same text data. Therefore, the copy modification data includes the first page, the number of applicable pages, the starting line within the page, the number of applicable lines, and the application start position within the line as control information.
Contains logical character codes to be replaced following this. Once these data enter the work area 3, the control information remains unchanged, the logical character code is converted into a physical code by the conversion table 4, and then loaded into the copy modification buffer 6. Next, text data is sent by command 1, passed through conversion table 4, and stored in page buffer 5. When one or more pages of print data is accumulated in the page buffer 5, the character codes are changed according to the copy modification buffer 6, and the data is sequentially written into the page print buffer 12. After the character code replacement for one page is completed, the physical character code is read from this page print buffer 12 and stored in the font memory 8.
After obtaining a character pattern, print data 11 is sent to the printing mechanism section through the printer section interface 10 to start the printing operation. Since the page print buffer 12 has a double configuration, the character code replacement process and the print data 11 sending process are performed in parallel, so that printing can be performed continuously without stopping. In the unlikely event that a large amount of character code replacement occurs and the character code replacement processing cannot follow the printing operation, stop control can be performed on a page-by-page basis, and no errors will occur.

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

以上の様にこの発明によれば、文字コードのす
り換えはページ単位で行ないこの結果を収納する
ページ印字バツフアを設け、印字のスタート/ス
トツプをこのバツフア単位で制御する為、安価な
装置で、性能の良いものが得られる効果がある。
As described above, according to the present invention, character codes are replaced on a page-by-page basis, a page print buffer is provided to store the results, and printing start/stop is controlled on a per-buffer basis, so that an inexpensive device can be used. This has the effect of obtaining a product with good performance.

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

第1図はこの発明の実施例による漢字プリンタ
のブロツク図を示し、第2図は従来の漢字プリン
タのブロツク図を示す。1はコマンド、2はチヤ
ネルインターフエース部、3はワークエリア、4
は変換テーブル、5はページバツフア、6はコピ
ー修飾バツフア、8はフオントメモリ、9は文字
パターン、10はプリンタ部インタフエース、1
1は印字データ、12はページ印字バツフアを示
す。なお図中、同一符号は同一又は相当部分を示
す。
FIG. 1 shows a block diagram of a kanji printer according to an embodiment of the present invention, and FIG. 2 shows a block diagram of a conventional kanji printer. 1 is command, 2 is channel interface section, 3 is work area, 4
is a conversion table, 5 is a page buffer, 6 is a copy modification buffer, 8 is a font memory, 9 is a character pattern, 10 is a printer interface, 1
1 indicates print data, and 12 indicates a page print buffer. In the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 1 文字パターンを予めロードしておくメモリ
と、同一テキストデータを繰り返し印字するコピ
ー機能と、テキストデータに対応して指定位置の
文字をすり換えるコピー修飾機能と、コピー修飾
データとを貯えるバツフアメモリ及びテキストデ
ータを収納するページバツフアを有する漢字プリ
ンタにおいて、文字コードのすり換え処理をペー
ジ単位で行ない、その結果をベージ印字バツフア
に収納する様制御し、このページ印字バツフアに
1ページ分の印字データが揃うか否かにより、印
字動作のスタート/ストツプ制御を行なうことを
特徴とする漢字プリンタデータ制御方式。
1. A memory in which a character pattern is preloaded, a copy function that repeatedly prints the same text data, a copy modification function that replaces characters at a specified position in accordance with the text data, and a buffer memory and text that store the copy modification data. In a kanji printer that has a page buffer for storing data, perform character code replacement processing on a page-by-page basis, control the results to be stored in the page print buffer, and check whether one page's worth of print data is collected in this page print buffer. A kanji printer data control system characterized by performing start/stop control of printing operation depending on whether the printing operation is stopped or not.
JP60226520A 1985-10-09 1985-10-09 Kanji (chinese character) printer data control system Granted JPS6285321A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60226520A JPS6285321A (en) 1985-10-09 1985-10-09 Kanji (chinese character) printer data control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60226520A JPS6285321A (en) 1985-10-09 1985-10-09 Kanji (chinese character) printer data control system

Publications (2)

Publication Number Publication Date
JPS6285321A JPS6285321A (en) 1987-04-18
JPH0378652B2 true JPH0378652B2 (en) 1991-12-16

Family

ID=16846415

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60226520A Granted JPS6285321A (en) 1985-10-09 1985-10-09 Kanji (chinese character) printer data control system

Country Status (1)

Country Link
JP (1) JPS6285321A (en)

Also Published As

Publication number Publication date
JPS6285321A (en) 1987-04-18

Similar Documents

Publication Publication Date Title
JPS60116464A (en) Printer
JPH0378651B2 (en)
JPH0263763A (en) Printing apparatus
US6216197B1 (en) Method and apparatus for extending printer memory using a network file system
JPS5876941A (en) Word processing system
JPH0378652B2 (en)
JPS62126430A (en) Printer controller
JPH0330977A (en) Page printer control system
JP2654015B2 (en) Document processing device
JP3064921B2 (en) Printer
JPH0211357A (en) Printing apparatus
JP2001301246A (en) Method for controlling printing
JP2616669B2 (en) Brush typeface creation system
JPS62193838A (en) Printer
JPH02286382A (en) Printing apparatus
JPH0698792B2 (en) Printer device
JPS6161861A (en) Printer control apparatus
JPS63135257A (en) Printing data processing of printer
JPH0465264A (en) Printer and its cache control method
JPH0528405B2 (en)
JPH04232768A (en) Double-side printing control apparatus
JPH06255179A (en) Controller of dot-impact page printer
JPS61149362A (en) Data controlling device
JPH04366674A (en) Printing control device
JPH02130167A (en) Printing control apparatus