JPS6367167A - Pi character processing of printer - Google Patents
Pi character processing of printerInfo
- Publication number
- JPS6367167A JPS6367167A JP61211746A JP21174686A JPS6367167A JP S6367167 A JPS6367167 A JP S6367167A JP 61211746 A JP61211746 A JP 61211746A JP 21174686 A JP21174686 A JP 21174686A JP S6367167 A JPS6367167 A JP S6367167A
- Authority
- JP
- Japan
- Prior art keywords
- buffer
- page
- command
- data
- load
- 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
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J5/00—Devices or arrangements for controlling character selection
- B41J5/30—Character or syllable selection controlled by recorded information
- B41J5/44—Character or syllable selection controlled by recorded information characterised by storage of recorded information
- B41J5/46—Character or syllable selection controlled by recorded information characterised by storage of recorded information on internal storages
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明はプリンタの外字処理方式に関するものである
。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printer's external character processing method.
第3図は例えば特開昭54−94833号公報に示され
た従来のプリンタの外字処理方式を示すブロック図で、
図において、11はチャネルに接続されるチャネルイン
タフェース、1はこのチャネルインタフェース11から
のデータを受付けるバッファ、2はバッファ1よジ送ら
れるデータを格納スるコマンドバッファであって、フォ
ームズ・コントロール・バッファ、ライトコマンドのバ
ッファ、ロードコマンドのバッファが含まれる。FIG. 3 is a block diagram showing a conventional printer external character processing method disclosed in, for example, Japanese Patent Laid-Open No. 54-94833.
In the figure, 11 is a channel interface connected to the channel, 1 is a buffer that receives data from this channel interface 11, 2 is a command buffer that stores data sent from buffer 1, and is a forms control buffer. , a write command buffer, and a load command buffer.
3はコマンドバッファ2のロードコマンドの外字コード
と外字パターン金記憶する一時バッファであって、これ
には2段準備されており、2ペ一ジ分のデータが貯えら
れる。4はコマンドバッファ2のライトコマンドを文字
コードのベージデータとして蓄積するページバッファ、
5は前記ページバッファ4から一行単位で文字コードを
受けとるラインバッファで、2段あり、ページバッファ
4からデータを受けとる側と、プリンタ制御部7ヘデー
タを送る側と、交互に切換わる。6(d:全体を制御す
るマイクロプロセッサである。7はラインバッファ5よ
り文字コードを受けとり、該文字コードを番地データと
してフォントメモリ8をアクセスするプリント制御部で
ある。8は文字パターンを記憶するフォントメモリで、
外字パターンのエリアも含まれる。9はフォントメモリ
8からの文字パターンデータをシリアルビットデータと
しテ、プリンタ部へ転送するためのラインビットバッフ
ァである。10は前記ラインピットバッファ9よりのデ
ータをプリンタ部へ送るためのインタフェースのライン
である。Reference numeral 3 denotes a temporary buffer for storing the external character code and external character pattern of the load command of the command buffer 2. This buffer has two stages and can store data for two pages. 4 is a page buffer that stores the write command of command buffer 2 as character code page data;
Reference numeral 5 denotes a line buffer for receiving character codes line by line from the page buffer 4, which has two stages and is alternately switched between the side receiving data from the page buffer 4 and the side sending data to the printer control unit 7. 6 (d: A microprocessor that controls the entire system. 7 is a print control unit that receives character codes from the line buffer 5 and accesses the font memory 8 using the character codes as address data. 8 stores character patterns. in font memory,
Also includes the area for custom character patterns. Reference numeral 9 denotes a line bit buffer for converting the character pattern data from the font memory 8 into serial bit data and transferring it to the printer unit. 10 is an interface line for sending data from the line pit buffer 9 to the printer section.
次に動作について説明する。まずチャネルインターフェ
ース11より送られてきたコマンドはバッファ1を経由
して、コマンドバッファ2へ格納される。該コマンドの
うちフォームズ・コントロール・バッファのデータによ
り、印刷するページのフォーマットが決められる。続け
て送られてくるライトコマンドは、順にページバッファ
4に文字コードとして蓄積され、1ペ一ジ分のデータが
完成したら、ラインバッファ5へ行単位のデータとして
転送される。ページバッファ4はラインバッファ5ヘデ
ータを送っている間にも、次のページのデータをコマン
ドバッファ2を経由して受けとる。ラインバッファ5は
、ページバッファ4より送られてきたデータ(即ち文字
コード)をプリント制御部7によりフォントメモリ8の
番地データとして文字パターンを読み出す。読み出され
た文字パターンはラインピットバッファ9によりシリア
ルビットデータに変換されプリンタ部へのインターフェ
ース10を介してプリントデータとして転送される。次
にチャネルインターフェース11より送られて@たコマ
ンドの外字処理について説明する。チャネルインターフ
ェース11より送うれてきたコマンドに、ロードコマン
ドがあった場合には該ロードコマンドの文字コードと文
字パターンとを一時パツファ3(−記憶する。次に該ロ
ードコマンドの対象となるページより以前の1ペ一ジ分
のデータの印刷終了直後の、ページ更新時間ニ該一時パ
ツファ3に格納した外字パターンをフォントメモリ8へ
格納する。そして、ロードコマンドの対象となる該ペー
ジの文字コードをページバッファ4より読み出した時に
、外字パターンの文字コードが含まれていると、既に該
外字パターンはフォントメモリ8に格納されているので
、外字パターンのロードの為に印刷動作を中断すること
なく、連続した印刷動作を可能としていた。Next, the operation will be explained. First, a command sent from the channel interface 11 is stored in the command buffer 2 via the buffer 1. Among the commands, the data in the forms control buffer determines the format of the page to be printed. The successively sent write commands are sequentially stored in the page buffer 4 as character codes, and when one page's worth of data is completed, they are transferred to the line buffer 5 as line-by-line data. Even while the page buffer 4 is sending data to the line buffer 5, it receives data for the next page via the command buffer 2. The line buffer 5 uses the print control unit 7 to read out a character pattern from the data sent from the page buffer 4 (ie, character code) as address data in the font memory 8 . The read character pattern is converted into serial bit data by the line pit buffer 9 and transferred as print data via the interface 10 to the printer section. Next, the external character processing of the @ command sent from the channel interface 11 will be explained. If there is a load command among the commands sent from the channel interface 11, the character code and character pattern of the load command are temporarily stored in the buffer 3 (-). Immediately after printing one page of data is completed, the external character pattern stored in the temporary puffer 3 is stored in the font memory 8 at the page update time.Then, the character code of the page that is the target of the load command is If the character code of a custom character pattern is included when reading from the buffer 4, the custom character pattern is already stored in the font memory 8, so printing can be performed continuously without interrupting the printing operation to load the custom character pattern. This enabled printing operations that were
従来のプリンタの外字処理方式は以上のように構成され
ているので、ロードコマンドのページデータは印刷ペー
ジの次のページの分まで、あるいは外字パターン用一時
バッファ分までしか、ページバッファに蓄積できないた
めに、外字のロードが連続的でホストからのデータ入力
が断続的であると、ページバッファへのライトコマンド
の入力が、一時的に印字出力に追いつかず、印刷動作が
中断することがあり、この場合にはホストからの入力が
途絶えるという問題点があった。Since the custom character processing method of conventional printers is configured as described above, the page data of the load command can only be stored in the page buffer up to the next page of the print page or the temporary buffer for the custom character pattern. In addition, if external characters are continuously loaded and data input from the host is intermittent, the write command input to the page buffer may not be able to catch up with the print output temporarily, causing the printing operation to be interrupted. In some cases, there was a problem that input from the host was interrupted.
この発明は上記のような問題点を解消するためになされ
たもので、外字パターンのロードコマンドが複数ページ
分蓄積できるようにするとともに、外字のロードがある
かないかにかかわらず、ホストからのデータ入力が断続
的であったとしても、連続した印刷動作を可能とするプ
リンタの外字処理方式を提供することを目的とする。This invention was made in order to solve the above-mentioned problems, and it makes it possible to store multiple pages of custom character pattern load commands, and also allows data input from the host to be processed regardless of whether custom characters are loaded or not. An object of the present invention is to provide an external character processing method for a printer that enables continuous printing operation even if the printing operation is intermittent.
本発明に係るプリンタの外字処理方式はライトコマンド
を一時バッファに記憶することにより、該ライトコマン
ドのページのロードコマンド、即チ外字パターンを、該
ライトコマンドと共に、ページバッファに格納するので
、多数のページのデータをページバッファに蓄積するこ
とを可能としたものである。The printer's custom character processing method according to the present invention stores the write command in a temporary buffer, and stores the page load command of the write command, i.e., the custom character pattern, in the page buffer together with the write command. This allows page data to be stored in a page buffer.
本発明における一時バッファには、1ペ一ジ分のライト
コマンドの文字コードが蓄積され、その蓄積内容は、ロ
ードコマンドで入力する文字パタ−ンに続いてページバ
ッファに入力する。In the present invention, the temporary buffer stores character codes of write commands for one page, and the stored contents are input into the page buffer following the character pattern input with the load command.
以下、本発明の一実施例を図(二ついて説明する。 An embodiment of the present invention will be described below with reference to two figures.
図中、第3図と同一の部分は同一の符号をもって図示し
た第1図は一時パッフ7の位置を変更したドツトプリン
タのコントロール部のブロック図である。1 is a block diagram of a control section of a dot printer in which the position of the temporary puff 7 has been changed. In FIG.
次に動作について説明する。まず、3は一時バッファで
、チャネルインターフェース11から送られてきたライ
トコマンドをコマンドバッファ2を経由して、1ペ一ジ
分のページデータとして一時記憶する。この一時バッフ
ァは2段設は工あり、2ペ一ジ分のベージデータが貯え
られる。4はページバッファで、チャネルインターフェ
ース11から送られてきたロードコマンド、即ち、外字
パターン金、コマンドバッファ2を経由して蓄積し、そ
の後に該ロードコマンドと同じページのライトコマンド
を一時パツファ3からベージデータとして蓄積する。Next, the operation will be explained. First, a temporary buffer 3 temporarily stores a write command sent from the channel interface 11 via the command buffer 2 as page data for one page. This temporary buffer has two stages and can store page data for two pages. 4 is a page buffer that stores load commands sent from the channel interface 11, that is, external character patterns, via the command buffer 2, and then stores write commands for the same page as the load commands from the temporary buffer 3. Accumulate as data.
プリンタへのライトコマンドでは、チャネルインターフ
ェース11を介して1行分の文字コードカ送られてくる
。これはバッファ1とコマンドバッファ2を経由して一
時パツファ3に入力される。In a write command to the printer, a character code for one line is sent via the channel interface 11. This is input to the temporary puffer 3 via buffer 1 and command buffer 2.
ライトコマンドは次々とチャネルインターフェース11
より指示されるので一時バッファ3には1ペ一ジ分のデ
ータが貯えられる。またロードコマンド4M様にコマン
ドバッファ2へ送られてくるが、ロードコマンドの場合
は直接ページバッファ4へ貯えられる。一時バッファ3
に貯えられ九1ページ分のデータと同じページのロード
コマンドが全てページバッファに貯えられた時点で、一
時バッファの該データがページバッファの該ロードコマ
ンドの後に格納される。ページバッファ4には常時複数
ページ分のデータの蓄積が可能である。Write commands are sent to channel interface 11 one after another.
Therefore, the data for one page is stored in the temporary buffer 3. Also, a load command 4M is sent to the command buffer 2, but in the case of a load command, it is directly stored in the page buffer 4. temporary buffer 3
When the data for 91 pages and the load command for the same page are all stored in the page buffer, the data in the temporary buffer is stored after the load command in the page buffer. The page buffer 4 can always store data for a plurality of pages.
ページバッファ4に蓄積されたデータは順にマイクロプ
ロセッサ6によって解読され、ロードコマンドであれば
、フォントメモリ8の外字エリア内に、外字コードと外
字パターンとを格納し、また、ライトコマンドであれば
ラインバッファ5へ、ベージデータとして移される。引
続いてプリント制御部7によりラインバッファ5のベー
ジデータをフォントメモリ80番地データとして文字パ
ターンがラインピットバッファ9を経由してプリンタ部
のインターフェース10へ送出される。これらの動作は
マイクロプロセッサ6が制御する。The data accumulated in the page buffer 4 is sequentially decoded by the microprocessor 6, and if it is a load command, a custom character code and a custom character pattern are stored in the custom character area of the font memory 8, and if it is a write command, a line The data is transferred to buffer 5 as page data. Subsequently, the print control section 7 uses the page data in the line buffer 5 as font memory 80 address data and sends out the character pattern via the line pit buffer 9 to the interface 10 of the printer section. These operations are controlled by the microprocessor 6.
第2図は前述の動作を説明するためのタイムチャートで
ある。図中、WおよびLはライトコマンドおよびロード
コマンドを示す。Xは外字パターンのロードを含む1ペ
ージのデータ送出時間で、本発明C二よれば、連続して
データ送出が可能であり、送出時間は可変長である。Y
は用紙の1ページ送り時間(1ページの印刷時間)、Z
はページ更新時間を示している。FIG. 2 is a time chart for explaining the above-mentioned operation. In the figure, W and L indicate a write command and a load command. X is the data transmission time for one page including loading of the custom character pattern, and according to the present invention C2, data can be transmitted continuously, and the transmission time is variable length. Y
is the paper feeding time for one page (printing time for one page), Z
indicates the page update time.
このタイムチャートでは、チャネルインターフェース1
1を介して第(n+1)ページから第(n+3)ページ
まで送られ、そのうち第(n+1)/< −シと第(n
+ 2 )ページにロードコマンドが含まれている場
合を想定している。一時バッファ3はページ単位で2個
を切り替えて使っている。In this time chart, channel interface 1
1 from the (n+1)th page to the (n+3)th page, among which the (n+1)th/< -th and (nth
+2) It is assumed that the page contains a load command. Two temporary buffers 3 are used by switching between them on a page-by-page basis.
ロードコマンドは、該ロードコマンドが到着した時点で
ページバッファ4に貯えられ、ページ内のロードコマン
ドが全てページバッファ4に貯えられた時点で一時パツ
ファ3よりページバッファ4にライトコマンドが移され
る。ページ内にロードコマンドがない場合には、該ペー
ジのコマンドがチャネルから全て送られた時点で一時バ
ッファ3よりページバッファ4ヘライトコマンドが移さ
れる。The load command is stored in the page buffer 4 when the load command arrives, and the write command is transferred from the temporary puffer 3 to the page buffer 4 when all the load commands in the page are stored in the page buffer 4. If there is no load command in a page, the page buffer 4 write command is transferred from the temporary buffer 3 when all commands for the page have been sent from the channel.
なお、上記実施例(第2図)では、ロードコマンドをペ
ージの最後におくよう(ニしたが、ページのどの位置に
おいてもよく、コマンドの数も複数の指定ができる。こ
れはライトコマンドでも同様である。Xのデータ送出時
間の複数ページの平均がYの用紙送り時間より長いとき
、あるいは1ページ内のロードコマンドの数が多く、Z
のページ更新時間内に処理出来ないとき、こういう場合
には、プリント動作が中断せざるを得ない。しかし、毎
ページ、外字のロードが多量C1続かない限り、十分連
続プリントが可能である。また、第2図ではフォントメ
モリ8の読み出し時間を一定としたが、ページ内のプリ
ントデータの量によって読み出し時間も変化し、ページ
更新時間2も、フォントメモリ8の読み出し終了直後か
ら、次ページのフォントメモリ8の読み出し開始直前ま
でとなる。Note that in the above embodiment (Figure 2), the load command is placed at the end of the page, but it can be placed at any position on the page, and multiple commands can be specified.This also applies to write commands. When the average data sending time for X over multiple pages is longer than the paper feeding time for Y, or when the number of load commands in one page is large, Z
If processing cannot be completed within the page update time, in such a case, the printing operation must be interrupted. However, as long as a large number of external characters do not continue to be loaded for each page, continuous printing is possible. In addition, although the readout time of the font memory 8 is set constant in FIG. 2, the readout time changes depending on the amount of print data in the page, and the page update time 2 also changes from immediately after the readout of the font memory 8 to the next page. This is until just before the start of reading from the font memory 8.
以上のようC二、本発明によれば、ライトコマンドを一
時パツファに記憶することにより、ライトコマンドのペ
ージのロードコマンド(外字ハターン)をライトコマン
ドと共にページバッファに格納するようにしたので、外
字パターンのロードによって中断されることもなく連続
的に高能率のプリント動作が可能となる。また、チャネ
ルインターフェースからのコマンドがページバッファ全
域にわたって複数ページ分格納されるので、効率よく、
チャネルとのインターフェースが行える効果がある。As described above, C2. According to the present invention, by temporarily storing the write command in the buffer, the page load command (external character pattern) of the write command is stored in the page buffer together with the write command, so that the external character pattern Continuous high-efficiency printing operation is possible without being interrupted by loading. In addition, commands from the channel interface are stored for multiple pages across the entire page buffer, allowing efficient
This has the effect of being able to interface with channels.
第1図は本発明の一実施例を示すプリンタの外字処理方
式のブロック図、第2図は第1図の動作を示すタイムチ
ャート、第3図は従来のプリンタの外字処理方式のブロ
ック図である。
図において、1はバッファ、2はコマンドバッファ、3
は一時バッファ、4はページバッファ、8はフォントメ
モリである。
tJ 1−y1雫 同−峙511伺−ゴし1詳相当郁ゲ
乞示J。
特許出願人 三菱電機株式会社
手続補正書(自発)FIG. 1 is a block diagram of a custom character processing method of a printer showing an embodiment of the present invention, FIG. 2 is a time chart showing the operation of FIG. 1, and FIG. 3 is a block diagram of a conventional printer custom character processing method. be. In the figure, 1 is a buffer, 2 is a command buffer, and 3 is a buffer.
is a temporary buffer, 4 is a page buffer, and 8 is a font memory. tJ 1-y1 Shizuku Same-tachi 511 visit-goshi 1 detail equivalent Ikugebeishi J. Patent applicant: Mitsubishi Electric Corporation Procedural amendment (voluntary)
Claims (1)
ードを受け取つて蓄積するページバッファと、前記ペー
ジバッファの文字コードによつて文字パターンを読み出
し、該ページのデータを印刷しデータとして出力するフ
ォントメモリと、前記フォントメモリに記憶されている
文字パターン以外の文字コードがライトコマンドによつ
て指定された場合にロードコマンドによつて該フォント
メモリに外字パターンをロードするプリンタの外字処理
方式において、前記ライトコマンドの文字コードを一時
バッファに一時記憶し、該ライトコマンドの対象となる
ページの外字パターンを先にページバッファに蓄積し、
その後に一時バッファに記憶した該ライトコマンドをペ
ージバッファに蓄積するようにしたことを特徴とするプ
リンタの外字処理方式。a page buffer that receives and stores character codes for one to several pages as a write command; a font memory that reads a character pattern according to the character code of the page buffer, prints the data of the page, and outputs it as data; In a printer's custom character processing method in which a custom character pattern is loaded into the font memory by a load command when a character code other than the character pattern stored in the font memory is specified by a write command, the write command Temporarily store the character code in a temporary buffer, store the external character pattern of the page targeted by the write command in the page buffer first,
A non-character processing method for a printer, characterized in that the write command stored in a temporary buffer is then stored in a page buffer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61211746A JPS6367167A (en) | 1986-09-10 | 1986-09-10 | Pi character processing of printer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61211746A JPS6367167A (en) | 1986-09-10 | 1986-09-10 | Pi character processing of printer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6367167A true JPS6367167A (en) | 1988-03-25 |
Family
ID=16610897
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61211746A Pending JPS6367167A (en) | 1986-09-10 | 1986-09-10 | Pi character processing of printer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6367167A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04148421A (en) * | 1990-10-12 | 1992-05-21 | Fujitsu Ltd | Portable terminal equipment |
| US7438330B2 (en) | 2002-12-10 | 2008-10-21 | Mitsui Mining & Smelting Co., Ltd. | Vehicle door lock actuator |
-
1986
- 1986-09-10 JP JP61211746A patent/JPS6367167A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04148421A (en) * | 1990-10-12 | 1992-05-21 | Fujitsu Ltd | Portable terminal equipment |
| US7438330B2 (en) | 2002-12-10 | 2008-10-21 | Mitsui Mining & Smelting Co., Ltd. | Vehicle door lock actuator |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4300206A (en) | Flexible text and image generator for a raster printer | |
| US4943936A (en) | Print control apparatus controlling utilization state of plural format blocks | |
| GB1558458A (en) | Raster printing system | |
| CA1044606A (en) | Merger and multiple translate tables in a buffered printer | |
| JPH06282411A (en) | Circuit and method for expansion of data | |
| US5371838A (en) | Dot printer with a reduced average number of dot-expansion operations | |
| JPS6463159A (en) | Printer | |
| JPS58117036A (en) | Print control device | |
| JPH0890846A (en) | Print buffer device | |
| KR100252107B1 (en) | Method and apparatus for transfer printing data | |
| JPS61100472A (en) | Printer-controlling system | |
| JPH041068A (en) | Printer device | |
| JPH04128069A (en) | Printing control apparatus of printer | |
| JPS5973978A (en) | Printing control apparatus | |
| JPS62278052A (en) | Dot image data input system for printer | |
| JPS62193838A (en) | Printer | |
| JPS61100473A (en) | Printer-controlling system | |
| KR19990055081A (en) | Image data processing device and method | |
| JPS5882378A (en) | Print control system | |
| JP3103276B2 (en) | Image recording method and apparatus | |
| JPH04314558A (en) | Method for controlling rule mark printing of printer | |
| JPH0573651A (en) | Picture processor | |
| JPS62180452A (en) | Data transfer circuit | |
| JPS6371374A (en) | Pie-character processing system | |
| JPS63138417A (en) | Printer |