JPS6277633A - Printer controller - Google Patents

Printer controller

Info

Publication number
JPS6277633A
JPS6277633A JP60217167A JP21716785A JPS6277633A JP S6277633 A JPS6277633 A JP S6277633A JP 60217167 A JP60217167 A JP 60217167A JP 21716785 A JP21716785 A JP 21716785A JP S6277633 A JPS6277633 A JP S6277633A
Authority
JP
Japan
Prior art keywords
line
buffer
size
character
memory
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.)
Granted
Application number
JP60217167A
Other languages
Japanese (ja)
Other versions
JPH0378651B2 (en
Inventor
Tomoya Nishi
智哉 西
Mitsuhiro Amari
天利 光博
Kenji Suzuki
憲次 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60217167A priority Critical patent/JPS6277633A/en
Priority to US06/908,661 priority patent/US4707153A/en
Priority to DE19863632603 priority patent/DE3632603A1/en
Publication of JPS6277633A publication Critical patent/JPS6277633A/en
Publication of JPH0378651B2 publication Critical patent/JPH0378651B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K2215/00Arrangements for producing a permanent visual presentation of the output data
    • G06K2215/0002Handling the output data
    • G06K2215/0062Handling the output data combining generic and host data, e.g. filling a raster
    • G06K2215/0065Page or partial page composition

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To decrease the capacity of a line buffer by writing character patterns in a paper image memory at a line after line division processing when character patterns are written in the paper image memory. CONSTITUTION:A line of size larger than prescribed size stored in a page buffer 2 is divided by an editing control circuit 3 into plural lines of size smaller than the prescribed size by using a forms control buffer 1 stored with line size data on all lines, and the divided lines are stored in a working buffer 4. An expansion control circuit 6 carries out line-by-line expansion processing by the working buffer 4 and a character pattern memory 5. In this case, the line buffer memory used as temporary storage may have only the prescribed size smaller than maximum line size, so the capacity of the line buffer memory is decreased.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、ホストからの指示に基づいて、英文字あるい
は漢字プリンタを制御するプリンタ制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a printer control device that controls an English or Kanji printer based on instructions from a host.

〔発明の背景〕[Background of the invention]

従来のプリンタ制御装置では、ページバッファに行単位
に記憶されている文字コードをもとに文字パターンを発
生して、行単位に該文字パターンを用紙イメージメモリ
へ書込み、プリンタへ出力していた。この場合、種々の
理由により、文字パターンを一度行バッファメモリへ書
込み、書込み終了後、行バッファメモリの内容を用紙イ
メージメモリへ書込んでいる。したがって、行バッファ
メモリの奥行きは最大行サイズの大きさを必要とし、こ
のためプリント行の行サイズが大きくなるにつれて行バ
ッファメモリの容量が増加するという問題があった。な
お、この種のプリンタ制御装置の公知技術としては、例
えば特願昭53−107132号が挙げられる。
In a conventional printer control device, a character pattern is generated based on character codes stored line by line in a page buffer, and the character pattern is written line by line to a paper image memory and output to a printer. In this case, for various reasons, the character pattern is written once to the line buffer memory, and after the writing is completed, the contents of the line buffer memory are written to the paper image memory. Therefore, the depth of the line buffer memory needs to be as large as the maximum line size, and as a result, there is a problem in that the capacity of the line buffer memory increases as the line size of the print line increases. Incidentally, as a known technique of this type of printer control device, for example, Japanese Patent Application No. 107132/1984 can be cited.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、プリントできる最大行サイズと同じ奥
行きを行バッファメモリが持つことを不要とし、最大行
サイズより小さな奥行きを持つ行バッファメモリによっ
て、それよりも大きな行サイズの行をプリント可能とす
るプリンタ制御装置を提供することにある。
An object of the present invention is to eliminate the need for a line buffer memory to have the same depth as the maximum line size that can be printed, and to make it possible to print lines with a larger line size by using a line buffer memory that has a depth smaller than the maximum line size. An object of the present invention is to provide a printer control device for controlling a printer.

[発明の概要〕 本発明は、プリンタ制御装置内部において、規定サイズ
より大きな行サイズの行を、規定サイズより小さな行サ
イズを持つ複数個の行へ分割し、この分割後の行単位に
文字パターンを行バッファメモリを介して用紙イメージ
メモリへ書込むことにより、行バッファメモリの奥行き
を最大行サイズより小さな規定サイズだけで済ませ、行
バッファメモリの容量を小さくするものである。
[Summary of the Invention] The present invention divides a line with a line size larger than a specified size into a plurality of lines with a line size smaller than the specified size within a printer control device, and creates a character pattern in each line after the division. By writing this into the paper image memory via the line buffer memory, the depth of the line buffer memory can be reduced to a prescribed size smaller than the maximum line size, thereby reducing the capacity of the line buffer memory.

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

以下、本発明の一実施例について図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は、本発明のプリンタ制御装置の一実施例のブロ
ック図である。フォームズコントロールバッファ1はペ
ージを構成するすべての行の行サイズを記憶しており、
ページバッファ2は印刷する文字の文字コードを行単位
に記憶している。編集制御回路3は、フォームズコント
ロールバッファ1とページバッファ2より行分割処理を
行う。
FIG. 1 is a block diagram of an embodiment of a printer control device of the present invention. Forms control buffer 1 stores the line sizes of all the lines that make up the page,
The page buffer 2 stores character codes of characters to be printed line by line. The editing control circuit 3 performs line division processing using the forms control buffer 1 and page buffer 2.

作業用バッファ4は編集制御回路3が行った行分割処理
の結果を記憶しており、文字パターンメモリ5は、文字
コードに対応するドツトパターンを記憶している。展開
制御回路6は作業用バッファ4と文字パターンメモリ5
より行単位に文字展開処理を行う。行バッファメモリ7
は、展開制御回路6が文字展開処理を行うときに、一時
記憶として使用されるものである。用紙イメージメモリ
8は、1ビツトが印刷用紙の1ドツトに対応しており、
行バッファメモリ7に対する展開制御回路6の文字展開
処理が終了すると、行バッファメモリ7の内容が該用紙
イメージメモリ8へ転送される。
The work buffer 4 stores the results of the line division process performed by the editing control circuit 3, and the character pattern memory 5 stores dot patterns corresponding to character codes. The development control circuit 6 has a working buffer 4 and a character pattern memory 5.
Character expansion processing is performed line by line. Row buffer memory 7
is used as temporary storage when the expansion control circuit 6 performs character expansion processing. In the paper image memory 8, 1 bit corresponds to 1 dot on the printing paper.
When the character expansion process of the expansion control circuit 6 for the line buffer memory 7 is completed, the contents of the line buffer memory 7 are transferred to the paper image memory 8.

第2図は第1図におけるフォームズコントロールバッフ
ァ1の説明図である。フォームズコントロールバッファ
1は、ページを構成するすべての行の行サイズを記憶し
ている。第2図において、PはページのM行目の行サイ
ズであり、同様にQは(’M +1 )行目の行サイズ
、Rは(M+2)行目の行サイズである。
FIG. 2 is an explanatory diagram of the forms control buffer 1 in FIG. 1. Forms control buffer 1 stores the line sizes of all lines making up a page. In FIG. 2, P is the line size of the Mth line of the page, Q is the line size of the ('M +1)th line, and R is the line size of the (M+2)th line.

第3図は第1図におけるページバッファ2の説明図であ
る。ページバッファ2は、印刷する文字の文字コードを
行単位に記憶している。第3図において、XAはrAJ
の文字コードである。同様にXB、XC,XD、XE、
XFは、それぞれrBJ 、rcJ 、rDJ 、rE
J 、rFJの文字コードである。第3図の例では、ペ
ージバッファ2はM行目としてrAJ、rBJの文字コ
ードを記憶している。同様に、(M+1)行目としてr
CJの文字コードを、(M+2)行目としてrDJ 、
rEJ 、rFJの文字コードをそれぞれ記憶している
FIG. 3 is an explanatory diagram of the page buffer 2 in FIG. 1. The page buffer 2 stores character codes of characters to be printed line by line. In Figure 3, XA is rAJ
This is the character code of Similarly, XB, XC, XD, XE,
XF are rBJ, rcJ, rDJ, rE, respectively
J, rFJ character code. In the example shown in FIG. 3, the page buffer 2 stores character codes rAJ and rBJ as the Mth line. Similarly, as the (M+1)th row, r
Set the character code of CJ to the (M+2)th line as rDJ,
It stores the character codes rEJ and rFJ, respectively.

第4図は、第1図における展開制御回路6がページバッ
ファ2の内容にもとづいて文字パターンメモリ5より文
字パターンを読込み、行バッファメモリ7へ書込む様子
を説明するものである。このときフォームズコントロー
ルバッファ1の内容にもとづいて、行中における文字の
位置合せも同時に行うので、行バッファメモリ7の奥行
きは最大行サイズだけ必要である。行バッファメモリ7
の幅は、処理し易い大きさでよい。第4図(a)は、展
開制御回路6が第2図のフォームズコントロールバッフ
ァ1と第3図のページバッファ2のM行目の内容にもと
づいて、rAJの文字パターンを行バッファメモリ7へ
書込む処理や終了した後の行バッファメモリ7の内容で
ある。第4図(b)は、展開制御回路6が行バッファメ
モリ7の内容を読込み、rBJの文字パターンと合成し
て再び行バッファメモリ7へ書込む処理を終了した後の
行バッファメモリ7の内容である。該当行について行バ
ッファメモリ7に対する展開制御回路6の書込み処理が
すべて終了すると、行バッファメモリ7の内容は用紙イ
メージメモリ8へ転送される。
FIG. 4 explains how the development control circuit 6 in FIG. 1 reads a character pattern from the character pattern memory 5 based on the contents of the page buffer 2 and writes it into the line buffer memory 7. At this time, based on the contents of the forms control buffer 1, character alignment within the line is also performed at the same time, so the depth of the line buffer memory 7 needs to be equal to the maximum line size. Row buffer memory 7
The width may be a size that is easy to process. FIG. 4(a) shows that the expansion control circuit 6 writes the character pattern rAJ to the line buffer memory 7 based on the contents of the M-th line of the forms control buffer 1 of FIG. 2 and the page buffer 2 of FIG. This is the contents of the row buffer memory 7 after the loading process or the completion of the loading process. FIG. 4(b) shows the contents of the line buffer memory 7 after the expansion control circuit 6 has finished the process of reading the contents of the line buffer memory 7, composing it with the rBJ character pattern, and writing it back to the line buffer memory 7. It is. When all write processing by the expansion control circuit 6 to the line buffer memory 7 for the relevant line is completed, the contents of the line buffer memory 7 are transferred to the paper image memory 8.

第5図は、第2図のフォームズコントロールバッファ1
と第3図のページバッファ2の内容にもとづいて、文字
パターンが用紙イメージメモリ8へ書込まれた結果を示
すものであり、M行目にrAJ 、rBJ、(M+1)
行目のrCJ、(M+2)行目のrD」、rE」、rF
」の文字パターンが書込まれている。
Figure 5 shows the forms control buffer 1 in Figure 2.
This shows the result of writing a character pattern to the paper image memory 8 based on the contents of the page buffer 2 shown in FIG.
rCJ on the row, rD", rE", rF on the (M+2) row
” character pattern is written.

行バッファメモリ7の内容はそのまシ用紙イメージメモ
リ8へ転送される。また、用紙イメージメモリ8の1ビ
ツトは、用紙の1ドツトに対応している。このため、行
バッファメモリ7の奥行きは印刷できる最大行サイズだ
け必要になり、行バッファメモリ7の容量が大きくなる
問題が発生する。行バッファメモリ7の容量を小さくす
るためには、展開制御回路6が取り扱わねばならない行
の最大行サイズを小さくすればよい。
The contents of the line buffer memory 7 are directly transferred to the paper image memory 8. Further, one bit in the paper image memory 8 corresponds to one dot on the paper. For this reason, the depth of the line buffer memory 7 is required to be equal to the maximum line size that can be printed, resulting in a problem that the capacity of the line buffer memory 7 becomes large. In order to reduce the capacity of the row buffer memory 7, the maximum row size of the rows that the expansion control circuit 6 must handle may be reduced.

第1図の編集制御回路3は、展開制御回路6が取り扱う
行の行サイズをすべて検査し、規定サイズより大きな行
サイズの行を規定サイズより小さな行サイズの複数行へ
分割する行分割処理を行う、即ち1編集制御回路3は、
フォームズコントロールバッファlとページバッファ2
の内容にもとづいて行分割処理を行い、結果を作業用バ
ッファ4へ書込む。
The editing control circuit 3 in FIG. 1 inspects the line sizes of all the lines handled by the expansion control circuit 6, and performs line division processing to divide lines with line sizes larger than the specified size into multiple lines with line sizes smaller than the specified size. In other words, the 1 editing control circuit 3
Forms control buffer l and page buffer 2
Line division processing is performed based on the contents of , and the results are written to the work buffer 4.

第9図(a)は編集制御回路3の詳細を示すブロック図
であり、第9図(b)はその動作を説明するためのフロ
ーチャートである。
FIG. 9(a) is a block diagram showing details of the editing control circuit 3, and FIG. 9(b) is a flowchart for explaining its operation.

第9図(a)において、3】は汎用レジスタであり、各
種データを保持している。32は命令実行制御部であり
、展開制御回路3上で実行されるプログラムを解釈し、
展開制御回路3の各ハードウェアへ実行指示を出す。3
3は演算器データバスであり、展開制御回路3の各ハー
ドウェアへ転送されるデータが経由する。35は演算器
であり、汎用レジスタ31の内容を入力として演算を行
う。
In FIG. 9(a), 3] is a general-purpose register that holds various data. 32 is an instruction execution control unit that interprets the program executed on the expansion control circuit 3;
An execution instruction is issued to each piece of hardware in the expansion control circuit 3. 3
3 is an arithmetic unit data bus, through which data transferred to each hardware of the expansion control circuit 3 passes. 35 is an arithmetic unit which performs arithmetic operations using the contents of the general-purpose register 31 as input.

36はアドレスレジスタ、37はデータレジスタであり
、メモリアクセスを行うときに使用する。
36 is an address register, and 37 is a data register, which are used when performing memory access.

38はメモリアクセス制御部であり、展開制御回路3と
メモリ1,2,4との間のインタフェースを制御する。
A memory access control unit 38 controls the interface between the expansion control circuit 3 and the memories 1, 2, and 4.

39は外部バスであり、メモリ1゜2.4とのデータ転
送に使用される。
39 is an external bus, which is used for data transfer with memory 1.2.4.

編集制御回路3はフォームズコントロールバッファ1に
記憶されている行サイズを外部バス39を介してデータ
レジスタ37へ読込み(ステップ90)、この読込んだ
行サイズを演算器35にて規定サイズと比較する(ステ
ップ91)。行サイズが規定サイズより小さいかあるい
は等しいときは、行サイズをそのま\データレジスタ3
7ヘセツトし、外部バス1,39を介して作業用バッフ
ァ4へ書込む(ステップ92)。次にページバッファ2
に記憶されている対応する行の文字コードをページバッ
ファ2から作業用バッファ4へ転送する(ステップ93
)。行サイズが規定サイズより大きなときは、その行を
規定サイズより小°さな複数行へ分割する。最初に、分
割後の第1行の行サイズを作業用バッファ4へ書込む(
ステップ94)。次にページバッファ2に記憶されてい
る対応する行の文字コードをページバッファ2から外部
バス39を介してデータレジスタ37へ読込み(ステッ
プ95)、該文字コードを演算器35にて行分割後の文
字コードへ変換する(ステップ96)、この変換した文
字コードをデータレジフタ3フヘセツトし、外部バス3
9を介して作業用バッファ4へ書込む(ステップ97)
。この処理を分割後のすべての行について繰り返す(ス
テップ98)。
The edit control circuit 3 reads the line size stored in the forms control buffer 1 into the data register 37 via the external bus 39 (step 90), and compares the read line size with the specified size in the arithmetic unit 35. (Step 91). If the row size is smaller than or equal to the specified size, leave the row size unchanged\data register 3.
7 and writes it to the work buffer 4 via the external buses 1 and 39 (step 92). Next page buffer 2
The character code of the corresponding line stored in the page buffer 2 is transferred to the work buffer 4 (step 93
). When the line size is larger than the specified size, the line is divided into multiple lines smaller than the specified size. First, write the line size of the first line after division to the work buffer 4 (
Step 94). Next, the character code of the corresponding line stored in the page buffer 2 is read from the page buffer 2 to the data register 37 via the external bus 39 (step 95), and the character code is read into the data register 37 by the arithmetic unit 35 after dividing the line. Convert to character code (step 96), set this converted character code to data register 3, and transfer to external bus 3.
9 to the working buffer 4 (step 97)
. This process is repeated for all lines after division (step 98).

第6図は事業バッファ4の説明図である。作業用バッフ
ァ4には、第2図におけるフォームズコントロールバッ
ファ1と第3図におけるページバッファ2にもとづいて
、編集制御回路3が行分割処理を行った結果が格納され
る。第6図において、SはN行目の行サイズであり、同
様にT、U、Vはそれぞれ(N+1)行目、(N+2)
行目。
FIG. 6 is an explanatory diagram of the business buffer 4. The work buffer 4 stores the results of line division processing performed by the editing control circuit 3 based on the forms control buffer 1 in FIG. 2 and the page buffer 2 in FIG. 3. In FIG. 6, S is the row size of the Nth row, and similarly, T, U, and V are the (N+1)th and (N+2)th rows, respectively.
Row number.

(N+3)行目の行サイズである。XAはrAJの文字
コードであり、同様にXB、XD、XE。
This is the line size of the (N+3)th line. XA is the character code of rAJ, and similarly XB, XD, and XE.

X、 FはそれぞれrBJ 、rDJ 、rEJ 、r
FJの文字コードである。XC−1/2は、rCJ を
、上下に二等分したときの上半分のドツトパターンに対
する文字コードであり、同様にXC−2/2は「C」の
下半分のドツトパターンに対する文字コードである。第
2図のフォームズコントロールバッファ1と第3図のペ
ージバッファ2で規定されている(N+1)行目は、作
業用バッファ4では(N+1)行目と(N+2)行目の
2行に分割されている。M行目と(N+2)行目は、そ
のまき作業用バッファのN行目の(N+3)行目になっ
ている。すなわち、行サイズの関係は、S=P、T=U
=Q/2.V=R である。また、rCJの文字コードはXCからXC−1
/2とXC−2/2の2個になっている。
X, F are rBJ, rDJ, rEJ, r, respectively
This is the character code of FJ. XC-1/2 is the character code for the dot pattern in the upper half when rCJ is divided into upper and lower halves, and XC-2/2 is the character code for the dot pattern in the lower half of "C". be. The (N+1)th line defined in the forms control buffer 1 in Figure 2 and the page buffer 2 in Figure 3 is divided into two lines, the (N+1)th line and the (N+2)th line, in the work buffer 4. ing. The Mth line and the (N+2)th line are the Nth line and (N+3)th line of the winding work buffer. In other words, the row size relationship is S=P, T=U
=Q/2. V=R. Also, the character code of rCJ is from XC to XC-1
There are two: /2 and XC-2/2.

展開制御回路6は、作業用バッファ4の内容にしたがっ
て文字展開処理を行う。すなわち、展開制御回路6は作
業用バッファ4に行単位に記憶されている行分割後の行
サイズと印刷する文字コートにもとづいて、文字パター
ンメモリ5より文字パターンを読込み1行バッファメモ
リ7へ書込む。
The expansion control circuit 6 performs character expansion processing according to the contents of the work buffer 4. That is, the development control circuit 6 reads a character pattern from the character pattern memory 5 and writes it to the single-line buffer memory 7 based on the line size after line division and the character coat to be printed, which are stored line by line in the working buffer 4. It's crowded.

展開制御回路6が取り扱う行の行サイズはすべて規定サ
イズ以下になっているので、行バッファメモリ7の奥行
きは、規定サイズだけあればよい。
Since the row sizes of the lines handled by the expansion control circuit 6 are all below the specified size, the depth of the row buffer memory 7 only needs to be the specified size.

第10図(a)は展開制御回路6の詳細を示すブロック
図、第10図(b)はその動作を説明するためのフロー
チャートである。
FIG. 10(a) is a block diagram showing details of the expansion control circuit 6, and FIG. 10(b) is a flowchart for explaining its operation.

第10図(a)において、61は第1のアドレスレジス
タおよびデータレジスタであり、展開制御回路6が外部
バス39を介して作業用バッファ4を読むときに使用す
る662は第2のアドレスレジスタおよびデータレジス
タであり、展開制御回路6が外部バス80を介して文字
パターンメモリから文字パターンを読むときに使用する
663は第3のアドレスレジスタ3およびデータレジス
タ3であり、展開制御回路6が外部バス81を介して文
字パターンメモリ8へ文字パターンを書くときに使用す
る。64は行バツフアアドレスレジスタであり、行バッ
ファメモリ7の読み出しあるいは書込みを行うときのア
ドレスを示す。65は汎用レジスタ、67は演算器、6
8は命令実行制御部である。80.81は外部バスであ
り、展開制御回路6とメモリ5,8の間のデータ転送に
使用される。82は拡大/縮小回路であり、展開制御回
路6が文字パターンメモリ5から読込んだ文字パターン
の拡大/縮小を行う。83はシフト/マージ回路であり
、拡大/縮小回路82で拡大/縮小した文字パターンの
シフトを行ったり、行バッファメモリ7に格納されてい
る文字パターンと拡大/縮小した文字パターンのマージ
を行う。
In FIG. 10(a), 61 is a first address register and a data register, and 662, which is used when the expansion control circuit 6 reads the work buffer 4 via the external bus 39, is a second address register and a data register. 663, which is a data register and is used when the expansion control circuit 6 reads a character pattern from the character pattern memory via the external bus 80, is the third address register 3 and data register 3; It is used when writing a character pattern to the character pattern memory 8 via 81. A row buffer address register 64 indicates an address when reading or writing to the row buffer memory 7. 65 is a general-purpose register, 67 is an arithmetic unit, 6
8 is an instruction execution control section. 80.81 is an external bus, which is used for data transfer between the expansion control circuit 6 and the memories 5 and 8. Reference numeral 82 denotes an enlargement/reduction circuit, which enlarges/reduces the character pattern read from the character pattern memory 5 by the expansion control circuit 6. A shift/merge circuit 83 shifts the character pattern enlarged/reduced by the enlargement/reduction circuit 82 and merges the character pattern stored in the line buffer memory 7 with the enlarged/reduced character pattern.

展開制御回路6は、外部バス39を介して作業用バッフ
ァ4から行サイズをデータレジスタ61へ読込み、これ
を汎用レジスタ65へ退避する。
The expansion control circuit 6 reads the line size from the work buffer 4 into the data register 61 via the external bus 39 and saves it into the general-purpose register 65.

その後、展開制御回路6は、外部バス39を介して作業
用バッファ4から文字コードをデータレジスタ61へ読
込む(ステップ101)。そして。
Thereafter, the expansion control circuit 6 reads the character code from the work buffer 4 into the data register 61 via the external bus 39 (step 101). and.

文字コードから文字サイズを2行サイズと文字コードと
から行中の位置を、それぞれ演算器67で計算する(ス
テップ102)。次に文字サイズに合わせて拡大/縮小
回路82を初期化し1文字パターンの拡大/縮小の準備
をする(ステップ103)。また、文字パターンの行中
の位置に合わせてシフト/マージ回路83と行バツフア
アドレスレジスタ64を初期化し、文字パターンを行バ
ッファメモリ7へ書込む準備をする(ステップ104)
。次に、外部バス80を介して文字パターンメモリ5か
ら文字パターンをデータレジスタ62へ読込み、拡大/
縮小回路82で拡大あるいは縮小しくステップ105)
、シフト/マージ回路83でシフト、さらに行バッファ
メモリ7の内容とマージしくステップ106)、行バッ
ファメモリ7へ文字パターンを書込む(ステップ107
)。
The character size is calculated from the character code, and the position in the line is calculated from the line size and the character code, respectively, by the calculator 67 (step 102). Next, the enlarging/reducing circuit 82 is initialized according to the character size to prepare for enlarging/reducing one character pattern (step 103). Also, the shift/merge circuit 83 and the row buffer address register 64 are initialized according to the position of the character pattern in the row, and preparations are made to write the character pattern into the row buffer memory 7 (step 104).
. Next, the character pattern is read from the character pattern memory 5 into the data register 62 via the external bus 80, and enlarged/
The reduction circuit 82 enlarges or reduces the image (step 105).
, shifted by the shift/merge circuit 83, and then merged with the contents of the row buffer memory 7 (step 106), and writing the character pattern to the row buffer memory 7 (step 107).
).

次に行バッファメモリ7が文字パターンで一杯になった
か判定しくステップ108)、一杯のときは行バッファ
メモリ7の内容を用紙イメージメモリ8へ転送する(ス
テップ110)。これを1行分の文字パターンを用紙イ
メージメモリ8へ書込むまで繰り返す(ステップ111
)。行バッファメモリ7が文字パターンで一杯になって
いないときは、一杯になるまで繰り返し行バッファメモ
リ7へ文字パターンを書込む(ステップ109)。
Next, it is determined whether the line buffer memory 7 is full of character patterns (step 108), and if it is full, the contents of the line buffer memory 7 are transferred to the paper image memory 8 (step 110). This is repeated until one line of character pattern is written to the paper image memory 8 (step 111).
). If the line buffer memory 7 is not full of character patterns, character patterns are repeatedly written into the line buffer memory 7 until it is full (step 109).

なお、行バッファメモリ7が文字パターンで一杯。Note that the line buffer memory 7 is full of character patterns.

になっていないときでも1行の終わりでは、行バッファ
メモリ7の内容を文字パターンメモリ8へ転送する(ス
テップ112)。
At the end of one line even when the character pattern memory 7 is not set, the contents of the line buffer memory 7 are transferred to the character pattern memory 8 (step 112).

第7図(a)は展開制御回路6が第6図における作業用
バッファ4の(N+1)行目の内容にしたがって、文字
パターンメモリ5から文字パターンを読込み、行バッフ
ァメモリ7へ書込む処理が終了した後の行バッファメモ
リ7の内容である。
FIG. 7(a) shows a process in which the expansion control circuit 6 reads a character pattern from the character pattern memory 5 and writes it to the line buffer memory 7 according to the contents of the (N+1)th line of the working buffer 4 in FIG. This is the contents of the row buffer memory 7 after the completion.

同様に第7図(b)は、第6図における作業用バッファ
4の(N+2)行目の内容にしたがって、文字パターン
が行バッファメモリ7へ書込まれた結果である。展開制
御回路6が行う行バッファメモリ7の書込みがすべて終
了すると、行バッファメモリ7の内容は、用紙イメージ
メモリ8へ転送される。
Similarly, FIG. 7(b) shows the result of writing a character pattern into the line buffer memory 7 in accordance with the contents of the (N+2)th line of the working buffer 4 in FIG. When all writing to the line buffer memory 7 by the expansion control circuit 6 is completed, the contents of the line buffer memory 7 are transferred to the paper image memory 8.

第8図は、第6図における作業用バッファ4の内容にし
たがって、文字パターンが用紙イメージメモリへ書込ま
れた結果を示している。第8図において、N行目に「A
」、「B」の文字パターンが書込まれている。同様に(
N+1)行目には[Cjの上半分の文字パターンが、(
N+2)行目には「C」の下半分の文字パターンが、(
N+3)行目には「DJ、「E」、「F」の文字パター
ンがそれぞれ書込まれている。すなわち、行分割処理前
の第2図におけるフォームズコントロールバッファ1と
第3図におけるページバッファ2 ′にもとづいて文字
パターンが書込まれている第5図の用紙イメージメモリ
8の内容と、行分割処理後の作業用バッファ4にもとづ
いて文字パターンが書込まれている第8図の用紙イメー
ジメモリ8の内容は同じになっている。
FIG. 8 shows the result of writing a character pattern into the paper image memory according to the contents of the working buffer 4 in FIG. In Figure 8, “A” is shown in the Nth line.
” and “B” character patterns are written. Similarly (
In the N+1)th line, the upper half character pattern of [Cj is (
On the N+2)th line, the lower half of the character pattern of “C” is (
On the N+3)th line, character patterns of "DJ", "E", and "F" are written, respectively. That is, the contents of the paper image memory 8 in FIG. 5 in which character patterns are written based on the forms control buffer 1 in FIG. 2 before the line division process and the page buffer 2' in FIG. 3, and the contents of the paper image memory 8 in FIG. The contents of the paper image memory 8 in FIG. 8, in which the character pattern is written based on the later working buffer 4, are the same.

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

以上説明したごとく本発明によれば、文字パターンを用
紙イ、メージメモリへ書込む場合1行分割処理を行った
後の行で文字パターンを用紙イメージメモリへ書込むの
で、このとき一時記憶として使用する行バッファメモリ
の奥行きが小さくて済み、行バッファメモリの容量を小
さくできる。
As explained above, according to the present invention, when writing a character pattern to a paper image memory, the character pattern is written to the paper image memory in the line after one-line division processing, so that it is used as a temporary memory at this time. The depth of the row buffer memory for processing can be reduced, and the capacity of the row buffer memory can be reduced.

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

第1図は本発明の一実施例を示すブロック図、第2図は
フォームズコントロールバツファの内容の説明図、第3
図はページバッファの内容の説明図、第4図は行バッフ
ァメモリに対する文字展開処理の説明図、第5図は用紙
イメージメモリに対する文字展開処理の説明図、第6図
は作業用バッファの内容の説明図、第7図は本発明によ
る行バッファメモリに対する文字展開処理の説明図、第
8図は同じく本発明による用紙イメージメモリに対する
文字展開処理の説明図、第9図(a)は編集制御回路の
詳細を示すブロック図、第9図(b)は編集制御回路の
動作手順を示すフローチャート、第10図(a)は展開
制御回路の詳細を示すブロック図、第10図(b)は展
開制御回路の動作手順を示すフローチャートである。 1・・・フォームズコントロール、  2・・・ページ
バッファ、 3・・・編集制御回路、 4・・・作業用
バッファ、  5・・・文字パターンメモリ、6・・・
展開制御回路、 7・・・行バッファメモリ。 8・・・用紙イメージメモリ。 第4図 rα)(b) 第5区 第6図 第7図 1 () j 第8図 第10図 (a−> 3つ
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is an explanatory diagram of the contents of the forms control buffer, and Fig. 3 is a block diagram showing an embodiment of the present invention.
Figure 4 is an explanatory diagram of the contents of the page buffer, Figure 4 is an explanatory diagram of the character expansion process for the line buffer memory, Figure 5 is an explanatory diagram of the character expansion process for the paper image memory, and Figure 6 is an illustration of the contents of the work buffer. 7 is an explanatory diagram of the character expansion process for the line buffer memory according to the present invention, FIG. 8 is an explanatory diagram of the character expansion process for the paper image memory according to the present invention, and FIG. 9(a) is an illustration of the editing control circuit. 9(b) is a flowchart showing the operation procedure of the editing control circuit, FIG. 10(a) is a block diagram showing details of the expansion control circuit, and FIG. 10(b) is a flowchart showing the operation procedure of the editing control circuit. 3 is a flowchart showing the operating procedure of the circuit. 1... Forms control, 2... Page buffer, 3... Edit control circuit, 4... Work buffer, 5... Character pattern memory, 6...
Expansion control circuit, 7... row buffer memory. 8...Paper image memory. Figure 4 rα) (b) District 5 Figure 6 Figure 7 Figure 1 () j Figure 8 Figure 10 (a-> 3

Claims (1)

【特許請求の範囲】[Claims] (1)文字コードをもとに文字パターンを発生してプリ
ントアウトするプリンタ制御装置において、ページを構
成する行の行サイズを記憶するフォームズコントロール
バッファ、文字コードを記憶するするページバッファ、
前記文字コードに対応した文字パターンを記憶する文字
パターンメモリ、プリントアウトする文字の文字パター
ン群を記憶する用紙イメージメモリ、前記用紙イメージ
メモリの一時記憶として使用する行バッファメモリ及び
作業用バッファの各メモリを具備し、且つ、前記フォー
ムズコントロールバッファに記憶されている行サイズを
規定サイズと比較し、規定サイズより小さな行サイズの
行については、該当行サイズと前記ページバッファに記
憶されている対応する行の文字コード群を1組として前
記作業用バッファへ行単位に書込み、規定サイズより大
きな行サイズの行については、規定サイズより小さな行
サイズの複数行へ分割し、各分割毎に分割後の行サイズ
と文字コードとを1組として前記作業用バッファへ行単
位に書込む編集制御手段と、前記分割後の行単位に、前
記作業用バッファメモリの文字コードに対応する文字パ
ターンを前記文字パターンメモリから続出し、前記作業
用バッファメモリの行サイズにしたがって前記行バッフ
ァメモリに展開した後、前記用紙イメージメモリへ書込
む展開制御手段とを有することを特徴とするプリンタ制
御装置。
(1) In a printer control device that generates and prints out character patterns based on character codes, a forms control buffer stores the line size of the lines that make up a page, a page buffer stores character codes,
A character pattern memory that stores a character pattern corresponding to the character code, a paper image memory that stores a group of character patterns of characters to be printed out, a line buffer memory and a work buffer that are used as temporary storage for the paper image memory. and compares the line size stored in the forms control buffer with a specified size, and for lines whose line size is smaller than the specified size, compares the line size with the corresponding line stored in the page buffer. A group of character codes are written as one set to the work buffer line by line, and lines with a line size larger than the specified size are divided into multiple lines with line sizes smaller than the specified size, and for each division, the line after the division is written. editing control means for writing a set of size and character code into the work buffer line by line; and the character pattern memory writes a character pattern corresponding to the character code in the work buffer memory in line units after the division. 2. A printer control device, further comprising: a rasterization control means for rasterizing the data into the line buffer memory according to the line size of the working buffer memory and then writing it into the paper image memory.
JP60217167A 1985-09-30 1985-09-30 Printer controller Granted JPS6277633A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP60217167A JPS6277633A (en) 1985-09-30 1985-09-30 Printer controller
US06/908,661 US4707153A (en) 1985-09-30 1986-09-17 Printer controller
DE19863632603 DE3632603A1 (en) 1985-09-30 1986-09-25 METHOD AND DEVICE FOR PRINTER CONTROL

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60217167A JPS6277633A (en) 1985-09-30 1985-09-30 Printer controller

Publications (2)

Publication Number Publication Date
JPS6277633A true JPS6277633A (en) 1987-04-09
JPH0378651B2 JPH0378651B2 (en) 1991-12-16

Family

ID=16699907

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60217167A Granted JPS6277633A (en) 1985-09-30 1985-09-30 Printer controller

Country Status (3)

Country Link
US (1) US4707153A (en)
JP (1) JPS6277633A (en)
DE (1) DE3632603A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02150376A (en) * 1988-11-30 1990-06-08 Mita Ind Co Ltd Page printer
JP2002282976A (en) * 2001-03-27 2002-10-02 Fuji Giken:Kk Release lifter for sheet metal press die

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2570684B2 (en) * 1985-02-08 1997-01-08 セイコーエプソン株式会社 Character pattern generator for Dot Tomato Rix serial printer
JPS63106080A (en) * 1986-06-27 1988-05-11 Hitachi Ltd Picture display system
JPS63145036A (en) * 1986-12-09 1988-06-17 Tokyo Electric Co Ltd Printing method in label printer
US4942390A (en) * 1987-04-01 1990-07-17 International Business Machines Corporation Method and apparatus for generating a character image
JPH0755572B2 (en) * 1987-06-01 1995-06-14 株式会社日立製作所 Printer
US4929099A (en) * 1988-01-19 1990-05-29 Qume Corporation Multi-line serial printer
US5290110A (en) * 1988-03-07 1994-03-01 Canon Kabushiki Kaisha Document processing apparatus capable of printing multisized characters
US5044796A (en) * 1989-01-19 1991-09-03 Hewlett-Packard Company Bidirectional printing method in accordance with vertical breaks
DE4009137A1 (en) * 1989-03-23 1990-09-27 Siemens Ag Control system for laser write head - has several processors dedicated to different tasks which operate in parallel resulting in speedy adaption and integration
US5020115A (en) * 1989-07-10 1991-05-28 Imnet Corporation Methods and apparatus for dynamically scaling images
JP2946548B2 (en) * 1989-08-28 1999-09-06 ブラザー工業株式会社 Page printer with editing function
US5746524A (en) * 1995-09-13 1998-05-05 Nec Corporation Printing control apparatus for spacing 1-byte and 2-byte characters
GB9621475D0 (en) * 1996-10-15 1996-12-04 Itw Ltd A method of operating a thermal printer
US7649788B2 (en) * 2006-01-30 2010-01-19 Unity Semiconductor Corporation Buffering systems for accessing multiple layers of memory in integrated circuits
US8477162B1 (en) 2011-10-28 2013-07-02 Graphic Products, Inc. Thermal printer with static electricity discharger
US8482586B1 (en) 2011-12-19 2013-07-09 Graphic Products, Inc. Thermal printer operable to selectively print sub-blocks of print data and method
US8553055B1 (en) 2011-10-28 2013-10-08 Graphic Products, Inc. Thermal printer operable to selectively control the delivery of energy to a print head of the printer and method

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3999168A (en) * 1974-11-11 1976-12-21 International Business Machines Corporation Intermixed pitches in a buffered printer
JPS526419A (en) * 1975-07-07 1977-01-18 Fuji Xerox Co Ltd Dot matrix convertor
JPS52105734A (en) * 1976-03-01 1977-09-05 Canon Inc Signal coverter
US4241340A (en) * 1978-05-26 1980-12-23 Harris Corporation Apparatus for generating displays of variable size characters
JPS5534725A (en) * 1978-08-31 1980-03-11 Matsushita Electric Ind Co Ltd Printer
DE3138721A1 (en) * 1980-09-29 1982-05-06 Canon K.K., Tokyo Word-processing system
US4447888A (en) * 1981-06-16 1984-05-08 International Business Machines Corporation Mixed pitch display
JPS58191166A (en) * 1982-05-06 1983-11-08 Ricoh Co Ltd Thermal line printer
US4591846A (en) * 1982-09-28 1986-05-27 Burroughs Corp. Real time cell specification processor
US4563677A (en) * 1982-10-19 1986-01-07 Victor Technologies, Inc. Digital character display
JPS60154082A (en) * 1984-01-24 1985-08-13 Tokyo Electric Co Ltd Method for printing italic character in dot printer
US4627749A (en) * 1984-02-21 1986-12-09 Pitney Bowes Inc. Character generator system for dot matrix printers
US4655622A (en) * 1984-08-29 1987-04-07 Kabushiki Kaisha Toshiba Printer control apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02150376A (en) * 1988-11-30 1990-06-08 Mita Ind Co Ltd Page printer
JP2002282976A (en) * 2001-03-27 2002-10-02 Fuji Giken:Kk Release lifter for sheet metal press die

Also Published As

Publication number Publication date
DE3632603A1 (en) 1987-04-02
US4707153A (en) 1987-11-17
JPH0378651B2 (en) 1991-12-16
DE3632603C2 (en) 1991-11-14

Similar Documents

Publication Publication Date Title
JPS6277633A (en) Printer controller
US5410672A (en) Apparatus and method for the handling of banded frame buffer overflows
JPS63205257A (en) Printing control system
JPH02185475A (en) Printing apparatus
JPH0345076A (en) Processing system for picture data
JP3029136B2 (en) Output method and device
JPH07177348A (en) Printer device
JP2502530B2 (en) Printer
JPH01290448A (en) Character generator
JP2001096854A (en) Apparatus and method for printing processing
JP3143118B2 (en) Printer and print image pattern development method
JP2733347B2 (en) Output device
JP2715475B2 (en) Graphic output device
JP2699386B2 (en) Image recording device
JP2940270B2 (en) Serial printer
JPS60136824A (en) Printer control device
JPS61158384A (en) Character processor
JP3591096B2 (en) How to control a page printer
JPH03112668A (en) Printer
JPH03155268A (en) Picture output controller
JPS60132271A (en) Paint-out processing system
JPH0383666A (en) Image processing device
JPH086542A (en) Character font and method and device for pattern expansion of same
JPH0926781A (en) Plotting processing device
JPH10240613A (en) Memory access control mehtod and device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term