JPS58201192A - Printing controller - Google Patents

Printing controller

Info

Publication number
JPS58201192A
JPS58201192A JP8521882A JP8521882A JPS58201192A JP S58201192 A JPS58201192 A JP S58201192A JP 8521882 A JP8521882 A JP 8521882A JP 8521882 A JP8521882 A JP 8521882A JP S58201192 A JPS58201192 A JP S58201192A
Authority
JP
Japan
Prior art keywords
double
data
pixel
print
printing
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
JP8521882A
Other languages
Japanese (ja)
Inventor
Yasushi Ueda
植田 恭
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Tokyo Shibaura Electric Co 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 Toshiba Corp, Tokyo Shibaura Electric Co Ltd filed Critical Toshiba Corp
Priority to JP8521882A priority Critical patent/JPS58201192A/en
Publication of JPS58201192A publication Critical patent/JPS58201192A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/10Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers by matrix printers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To perform double-height character printing with simple constitution and to lighten the processing load on a host side equipment, by interposing a double-size print data generating circuit between a picture element memory and a printer print data register. CONSTITUTION:The double-size print data generating circuit 207 is interposed on a data transfer line between the picture-element memory 204 and printer print data register 206. This double-size print data generating circuit 207 enlarges picture element data in read longitudinal dot strings into a double-height dot character pattern with regard to only picture data within a range specified by the double-height print table in a main memory 201 among picture-element data read out of the picture-element data 204, and divides them into two upper and lower double-size dot strings, which are set in the printer print data register 206.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はドツトインパクト式のシリアルプリンタに用い
られる印字制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a print control device used in a dot impact type serial printer.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

ドツトインパクト式のシリアルプリンタにおいて、第1
図(、)に示すような全角文字パターンに対し、同図(
b)乃至(d)に示すような各種の倍角印字を行なう際
、従来では、ホスト側の機器にて、同図(b)乃至(d
)に示す文字パターンに相当する画素データを生成し、
この画素データを1行印字単位で印字制御部に送出して
、印字出力する方式を採っていた。この際の従来の印字
制御手段を第2図及び第3図を参照して説明する。
The first dot-impact type serial printer
For the full-width character pattern shown in the figure (,),
Conventionally, when performing various types of double-width printing as shown in b) to (d), the host side equipment
) generates pixel data corresponding to the character pattern shown in
This pixel data is sent to the print control unit in units of one line to be printed out. The conventional printing control means used in this case will be explained with reference to FIGS. 2 and 3.

第2図は印字制御部の構成要素を示すブロック図である
。図中、101はプリンタ制御700グラム、及びホス
ト機器(H−CPU)からの受信データのうち画素デー
タを除いたデータ等を保持する主メモリ、102は主メ
モリ10ノ内の制御プログラムを実行する処理装置(以
下CPUと称す)であり、印字制御部全体の制御を司る
FIG. 2 is a block diagram showing the constituent elements of the print control section. In the figure, 101 is a main memory that holds 700 grams of printer control and data received from the host device (H-CPU) excluding pixel data, and 102 is a main memory that executes a control program in the main memory 10. This is a processing device (hereinafter referred to as CPU) and controls the entire printing control section.

103はホスト機器(H−CPU)との間のデータ送受
信を司るインタフェイス部である。104はホスト機器
(H−CPU)よシ送信されてぐる行単位の画素データ
を保持する画素メモリである。
Reference numeral 103 denotes an interface unit that controls data transmission and reception with the host device (H-CPU). A pixel memory 104 holds pixel data transmitted from the host device (H-CPU) in units of rows.

105はCPU 102からの指令信号に基づきプリン
タ制御信号(pc)を発生したシ、プリンタからのステ
ータス情報(STU)をCPU 102に伝えたシする
プリンタコントロール部である。ここでプリンタ制御信
号(PC)としては、プリンタの紙送シ、印字ヘッド移
動、印字のオーバードライブ等、各種機械的構成部分の
駆動信号があり、またプリンタからのステータス情報(
STU)としては、用紙切れ、印字異常等、各種機械的
構成部分の検出信号がある0106はプリンタ印字ヘッ
ドに送信するデータを保持するプリンタ印字データレジ
スタである。
A printer control unit 105 generates a printer control signal (pc) based on a command signal from the CPU 102 and transmits status information (STU) from the printer to the CPU 102. Here, printer control signals (PC) include drive signals for various mechanical components such as printer paper feed, print head movement, and printing overdrive, as well as status information (PC) from the printer.
0106 is a printer print data register that holds data to be sent to the printer print head.

第3図は上記画素メモリ104の内容とプリンタ印字デ
ータレジスタ106との対応を示すもので、REG O
、REG 1 、 REG 2はプリンタ印字データレ
ジスタ106が、1バイト単位で3つに分かれている各
々のレジスタを示している。
FIG. 3 shows the correspondence between the contents of the pixel memory 104 and the printer print data register 106.
, REG 1 and REG 2 indicate the printer print data register 106, which is divided into three registers in 1-byte units.

このような構成において、第1図(C)に示すような縦
倍角の印字を行々う際、従来では以下のような印字制御
手段が採られている。第2図に示す印字制御部は、ホス
ト機器(H−CPU)よシ1行単位で画素データを受信
し印字するもので、第1図(、)に示す全角文字パター
ンを同図(c)に示す縦倍角にて印字する際は、ホスト
機器(H−CPU)にて、第1図(c)の倍角文字パタ
ーンに相当する画素データを発生し、これを上下に2分
して1行目に上半分の画素データを、2行目に下半分。
In such a configuration, when performing double-height printing as shown in FIG. 1(C), the following printing control means have conventionally been adopted. The print control unit shown in Fig. 2 receives and prints pixel data line by line from the host device (H-CPU), and prints the double-byte character pattern shown in Fig. When printing in the double-height character pattern shown in Figure 1(c), the host device (H-CPU) generates pixel data corresponding to the double-width character pattern shown in Figure 1(c), and divides this into two vertically to form one line. The upper half of the pixel data is on the eye, and the lower half is on the second line.

の画素データを送信する。この際1行目と2行目との間
の改行量はドツト間が連続するような値を指定する。こ
れらの動作を更に具体的に説明すると、まずホスト機器
(H−CPU)は、第1図(c)の上半分の文字パター
ンに相当する画素データを送信する。この画素データは
インタフェイス部103を介し、CPU1θ2の制御の
下に画素メモリ104に保持される。この際、画素メモ
リ104に保持されるデータをここでは、全角1文字=
24X24ドツト構成としているが、この場合、画素メ
モリ104のN、 N+1. N+2に縦1スライス分
の画素データ(8x3=24ドツト)が保持される。同
様にしてN+3.N+4.・・・、 N+nと画素デー
タが保持される。次に、ホスト機器(H−CPU)は印
字開始指令を印字制御部に送信する。これによシ、印字
制御部では、プリンタコントロール部105の制御の下
にプリンタのプリンタ印字ヘッドを駆動しながら、画素
メモリ104よシ画素データを順次読み出し、第3図に
示すようにプリンタ印字データレジスタ106に印字デ
ータとして保持し、そのデータを印字してゆく。而して
1行の印字が終了すると、次にホスト機器(H−CPU
)は、次行の印字に対し、縦方向ドツトが連続するよう
な量の改行指令を送信する。これによシ印字制御部のプ
リンタコントロール部105は指定改行量の改行制御を
行なう。次にホスト機器(H−CPU)は上述した第1
図(c)の上半分の倍角文字パターン印字処理と5− 同様にして、第1図(C)の下半分倍角文字パターンに
相当する画素データを送信し印字する。このようにして
、第1図(c)のような縦倍角の印字が行なわれる。又
、第1図(b)のような横倍角印字は同図(、)の画素
の縦スライスを2回ずつ一印字することで実現できるが
、同図(d)のような縦横倍角印字は同図(c)の印字
操作と同様にして、同図(b)の縦スライスを2度ずつ
使うことで可能となる。
pixel data is sent. At this time, the line feed amount between the first and second lines is specified so that the dots are continuous. To explain these operations more specifically, first, the host device (H-CPU) transmits pixel data corresponding to the character pattern in the upper half of FIG. 1(c). This pixel data is held in the pixel memory 104 via the interface unit 103 under the control of the CPU 1θ2. At this time, the data held in the pixel memory 104 is defined as one full-width character =
In this case, the pixel memory 104 has a 24×24 dot configuration. Pixel data for one vertical slice (8x3=24 dots) is held in N+2. Similarly, N+3. N+4. ..., N+n and pixel data are held. Next, the host device (H-CPU) sends a print start command to the print control section. Accordingly, the print control section sequentially reads pixel data from the pixel memory 104 while driving the printer print head of the printer under the control of the printer control section 105, and generates the printer print data as shown in FIG. The data is held as print data in the register 106, and the data is printed. After printing one line, the host device (H-CPU
) sends a line feed command of such an amount that vertical dots are continuous for printing the next line. Accordingly, the printer control section 105 of the print control section performs line feed control of the specified line feed amount. Next, the host device (H-CPU)
5- In the same way as the double-width character pattern printing process in the upper half of FIG. 1(c), pixel data corresponding to the lower half double-width character pattern in FIG. 1(C) is transmitted and printed. In this way, double-height printing as shown in FIG. 1(c) is performed. Also, double-width width printing as shown in Figure 1(b) can be achieved by printing each vertical slice of the pixel shown in Figure 1(,) twice, but double-width width printing as shown in Figure 1(d) is not possible. This can be done by using the vertical slices shown in FIG. 12(b) twice in the same way as the printing operation shown in FIG. 10(c).

以上のように従来では縦倍角の印字を行なう際、ホスト
機器(H−CPU)側で縦倍角の画素ノJ?ターンを発
生しなければならず、従ってソフトウェアまたはハード
ウェアの負担が非常に大きなものとなり、実用性の面で
問題を残していた。
As described above, conventionally, when performing double-height printing, the host device (H-CPU) side selects the double-height pixel number J? Therefore, the burden on software or hardware becomes very large, and there remains a problem in terms of practicality.

そこで、第2図に示される画素メモリ1θ4を予め2ラ
イン分用意しておき、縦倍角指定を画素データ送信時に
指定することで、プリンタ側のソフトウェア処理にて2
ラインの画素メモリに第1図(C)のような倍角文字パ
ターンに相当する画素データを上下に分けて保持し、印
字す6− ることか考えられる。この際のデータ送信シーケンスを
第4図を参照して説明すると、通常印字の場合は「ES
C+A(通常印字指定コード)+−〜n4 Jなる制御
コードを送信し、続(DATA部にて[n1〜n4 J
で定義したデータ量の画素データの送信を行なう。縦倍
角印字の場合は、rEsc+AjO代わりに[、Esc
−1−B(縦倍角印字指定コード)」を送信することで
、DAT A部で送信する画素を縦倍角印字すべきこと
を示すような方法にて実現が可能である。しかしながら
このような印字制御手段にあってはプリンタ側に画素メ
モリを2組(2ライン分)用意しておかなければならな
い。
Therefore, by preparing the pixel memory 1θ4 shown in Fig. 2 for two lines in advance and specifying the double height angle when transmitting pixel data, the software processing on the printer side can
It is conceivable to store pixel data corresponding to a double-width character pattern as shown in FIG. 1(C) in a line pixel memory in upper and lower sections and print the data. The data transmission sequence at this time will be explained with reference to Figure 4. In the case of normal printing, "ES
Send the control code C+A (normal print designation code) +-~n4 J, and continue (in the DATA section [n1~n4 J
The amount of pixel data defined in is transmitted. For double-height printing, use [, Esc instead of rEsc+AjO
-1-B (double-height printing designation code)" can be realized by a method that indicates that the pixels transmitted in the DAT A section should be printed in double-height. However, such a print control means requires two sets of pixel memories (for two lines) to be prepared on the printer side.

以上述べた如く、従来の印字制御手段にあっては、何れ
もホスト機器(H−CPU)側にて、縦倍角の画素パタ
ーンを発生しなければならないことから、ソフトウェア
、ハードウェアにかかる負担が太きいという欠点があっ
た。
As mentioned above, in all conventional print control means, a double-height pixel pattern must be generated on the host device (H-CPU) side, which increases the burden on software and hardware. It had the drawback of being thick.

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

本発明は上記実情に鑑み々されたもので、ホスト側機器
より画素データを行単位で受信し、所定ドツト列単位を
もって印字処理するドツトインパクト式シリアルプリン
タにおいて、縦倍角の印字処理を、簡単な構成で、しか
もホスト側機器にかかる処理負担を大幅に軽減せしめて
実行できる印字制御装置を提供することを目的とする。
The present invention has been developed in consideration of the above-mentioned circumstances, and is a dot-impact type serial printer that receives pixel data line by line from the host device and processes the printing in units of predetermined dot rows. It is an object of the present invention to provide a printing control device that can be configured and executed while greatly reducing the processing load placed on host-side equipment.

〔発明の概要〕[Summary of the invention]

本発明は、縦倍角印字の際に、ホスト側機器にて縦倍角
の画素データを生成するのではなく、ホスト側機器よ多
受信した1行分の画素データを画素メモリよシ読出し、
所定縦ドツト列単位をもってプリンタ印字データレジス
タにセットする際に、縦倍角印字処理すべき画素データ
に対してのみ、その縦ドツト列の画素データを上下に2
分して各々倍角拡大処理し、上下2回に分けて上記プリ
ンタ印字データレジスタにセットし印字する構成とした
ものである。これによシ、ホスト側機器にて縦倍角の画
素データを生成する必要がkいことから、ホスト側機器
の負荷を軽減でき、かつ画素メモリも1行分のみを用意
すればよいことから、構成上においても簡素化が計れ経
済的に有利となる。
In the present invention, when performing double-height printing, instead of generating double-height pixel data in the host device, the host device reads out one line of pixel data that has been received many times into the pixel memory.
When setting a predetermined vertical dot row unit in the printer print data register, only for pixel data that should be subjected to double-height printing, the pixel data of that vertical dot row is divided vertically by two.
The configuration is such that the data is divided into two parts, subjected to double-angle enlargement processing, and then set in the printer print data register twice, upper and lower, to be printed. This eliminates the need to generate double-height pixel data on the host device, reducing the load on the host device, and requiring only one row of pixel memory. The structure can also be simplified, which is economically advantageous.

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

以下、図面を参照して本発明の詳細な説明する。第5図
は本発明の一実施例を示すブロック図である。図中、2
01乃至206は前記第2図に示す各構成要素101乃
至106に相当するもので、201は主メモリ、202
はCPU。
Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 5 is a block diagram showing one embodiment of the present invention. In the figure, 2
01 to 206 correspond to the respective components 101 to 106 shown in FIG. 2, 201 is the main memory, 202
is CPU.

203はインタフェイス部、204は画素メモリ、20
5はプリンタコントロール部、206はプリンタ印字デ
ータレジスタである。ここで、上記主メモリ201内に
は、画素メモリ204に貯えられた画素データのうち、
縦倍角印字すべき画素データ範囲を指定するだめの縦倍
角印字テーブル(VMT)が設けられる。この主メモリ
201内の縦倍角印字テーブル(■T)による倍角画素
データ指定状態例を第6図に示す。又、画素メモリ20
4とシリ゛ンタ印字データレジスタ206との間のデー
タ転送路、すなわち、9− CPUデータバス(D−BUS)とプリンタ印字データ
レジスタ206との間には、画素メモリ204よシ読出
される画素データのうち、主メモリ201内の縦倍角印
字テーブル(VMT)で指定された範囲内の画素データ
に対してのみ、読出された縦ドツト列の画素データを縦
倍角ドツトに拡大し、上下2つの倍角ドツト列に分けて
プリンタ印字データレジスタ206にセットするための
倍角印字データ発生回路207が介在される。この倍角
印字データ発生回路207の具体的な回路構成例を第7
図に示す。この第7図に示す倍角印字データ発生回路2
θ7は、通常印字の際に、選択制御信号5EL−Aを受
け、縦倍角印字の際に選択制御信号5EL−B 、 5
EL−Cを交互に受けるもので、上記各選択制御信号の
うち、SF:L−Aがイネーブル状態(例えば“1″)
となった際は、入力端子Aに供給されたトッドデータが
出力端子Yに出力される。従ってこの際は入力された1
バイト単位の画素データ(rAO〜DATA7)がその
ままのビット配列状態を保って印−宇出力10− データ(P DATA O−P DATA 7 )とし
て、プリンタ印字データレジスタ206を構成する1バ
イト幅の各レジスタ部(nEaO,REG7. REG
?)に順次選択的に供給される。又、縦倍角印字時にお
いて選択制側信号5EL−B、 5EL−Cが交互にイ
ネーブル状態となった際は、5EL−Bがイネーブル状
態となることによって、入力端子Bに供給されたドツト
データが出力端子Yに出力される。従ってこの際は、入
力された1バイト単位の画素データ(DATA O−I
)ATA 7 )のうち、I)IiTA7のビット内容
がPDATA7.6として出力され、rMA 60ビツ
ト内容がPDATA5.4  として出力され、DAT
A sのビット内容がPDATAJ。
203 is an interface section, 204 is a pixel memory, 20
5 is a printer control unit, and 206 is a printer print data register. Here, in the main memory 201, among the pixel data stored in the pixel memory 204,
A double-vertical printing table (VMT) is provided for specifying a pixel data range to be printed in double-vertical printing. FIG. 6 shows an example of a state in which double-width pixel data is designated by the double-height printing table (■T) in the main memory 201. Also, the pixel memory 20
4 and the serial print data register 206, that is, between the 9-CPU data bus (D-BUS) and the printer print data register 206, there is a data transfer path between the 9-CPU data bus (D-BUS) and the printer print data register 206. Of the data, only for pixel data within the range specified in the double-vertical print table (VMT) in the main memory 201, the pixel data of the read vertical dot row is enlarged to double-vertical dots, and the upper and lower two dots are A double-width print data generation circuit 207 is interposed to divide the data into double-width dot rows and set them in the printer print data register 206. A specific circuit configuration example of this double-width print data generation circuit 207 is shown in the seventh section.
As shown in the figure. Double-width print data generation circuit 2 shown in FIG.
θ7 receives a selection control signal 5EL-A during normal printing, and receives selection control signals 5EL-B and 5EL-B during double height printing.
It receives EL-C alternately, and among the above selection control signals, SF:LA is in an enabled state (for example, "1")
When this happens, the tod data supplied to input terminal A is output to output terminal Y. Therefore, in this case, the input 1
Pixel data (rAO to DATA7) in units of bytes maintains the same bit arrangement state and is output as print data (P DATA OP DATA 7) to each 1-byte width that constitutes the printer print data register 206. Register section (nEaO, REG7. REG
? ) are selectively supplied sequentially. Also, when the selection control side signals 5EL-B and 5EL-C are enabled alternately during double-height printing, the dot data supplied to input terminal B is It is output to output terminal Y. Therefore, in this case, the input pixel data (DATA O-I
)ATA7), the bit contents of I)IiTA7 are output as PDATA7.6, rMA 60-bit contents are output as PDATA5.4, and DAT
The bit content of As is PDATAJ.

2として出力され、DATA4のビットのビット内容が
PDATA 1 、0として出力される。更に、5EL
−Cがイネーブル状態となることによって、入力端子C
に供給されたドツトデータが出力端子Yに出力される。
The bit contents of the bits of DATA4 are output as PDATA 1,0. Furthermore, 5EL
-C is enabled, input terminal C
The dot data supplied to is output to output terminal Y.

従ってこの際は、入力された1バイト単位の画素データ
(DATA O−DATA 7 )のうち、DkTA3
のビット内容がPDATA7.6として出力され、DA
TA 2のビット内容がP DKrA 5 。
Therefore, in this case, among the input pixel data in units of 1 byte (DATA O-DATA 7), DkTA3
The bit contents of DA are output as PDATA7.6 and DA
The bit content of TA 2 is PDKrA 5 .

4として出力され、DATAIのビット内容がPDAT
A 3 、2として出力され、DATA oのビット内
容がPDATA 1 、0として出力される。このよう
に、倍角印字データ発生回路207は、通常印字時(S
EL−Aのイネーブル状態時)において、入力された1
バイト単位の縦ドツト列画素データ(DATA O−D
ATA 7 )をそのままスルーモードで印字用カデー
タ(PDATAO〜PDATA7)としてプリンタ印字
データレジスタ106に送)、縦倍角印字時(5EL−
A/5EL−Bのイネーブル状態時)において、入力さ
れた1バイト単位の縦ドツト列画素データ(DATA[
〜DATA 7 )を上下に2分(DATA7〜4 /
 DATA 3〜0)し、それぞれ2倍に拡大して、2
回の異なるタイミング(5EL−B/5EL−C)でプ
リンタ印字データレジスタ106に送る。
4, and the bit content of DATAI is PDAT
The bit contents of DATA o are output as PDATA 1,0. In this way, the double-width print data generation circuit 207 operates during normal printing (S
When the EL-A is enabled), the input 1
Vertical dot row pixel data in bytes (DATA O-D
ATA7) is sent directly to the printer print data register 106 as printing data (PDATAO to PDATA7) in through mode), and when double-height printing (5EL-
When the A/5EL-B is enabled), the input vertical dot row pixel data (DATA[
~DATA7) up and down for 2 minutes (DATA7~4/
DATA 3 to 0), enlarge each by 2 times, and
The data is sent to the printer print data register 106 at different timings (5EL-B/5EL-C).

ここで一実施例の動作を説明する。ホスト機器(H−C
PU)よシ、第4図に示されるようなrESC+A十n
t十・・・+n41の匍」御コードがプリンタに送信さ
れると、そのコードによシ、次の送信データが普通サイ
ズ印字(通常印字)の画素データであシ、「n!+・・
・+n4Jに示されるデータ量が送信されることが示さ
れる。次にこの指定のデータ量をもって通常印字の画素
データが送信される。引き続き同一行に印字したい画素
データを送信したいときは同じシーケンスにて送信が行
なわれる。
Here, the operation of one embodiment will be explained. Host device (H-C
PU) Yes, rESC+A10n as shown in Figure 4.
When the "t ten...+n41 no 匍" code is sent to the printer, the next sent data is pixel data for normal size printing (normal printing), and "n!+..." is sent to the printer.
- Indicates that the amount of data indicated by +n4J will be transmitted. Next, pixel data for normal printing is transmitted with this specified amount of data. If pixel data to be printed on the same line is subsequently transmitted, the same sequence is used.

又、ホスト機器(H−CPU)は、印字すべく送信した
画素データを縦倍角にて印字させたい場合、rEsc+
AJの代わシに[Esc+BJを用い、以下同様のシー
ケンスにて画素データを送信する。第5図に示す印字制
御部ではホスト機器(H−CPU)よシ送信された画素
データを受信すると、この画素データを画素メ% IJ
 204に保持しておくとともに、上記各指定コードr
ESC十AJ、 rEsc+BJによって判別される画
素データ中の縦倍角印字指定範囲を第6図に示したよう
に、主メモリ201内の縦倍角印字テーブル(VMT 
)に記憶しておく。
Also, if the host device (H-CPU) wants to print the pixel data sent to be printed in double height, press rEsc+
[Esc+BJ is used instead of AJ, and pixel data is transmitted in the same sequence thereafter. When the print control unit shown in FIG. 5 receives pixel data sent from the host device (H-CPU), it transfers this pixel data to the pixel memory.
204, and each of the above specified codes r
As shown in FIG.
).

次に、ホスト機器(H−CPU)からは画素データを印
字させるための印字開始命令(第4図の例=13− ではCRコード)が送信される。印字制御部ではこの印
字開始命令を受けると、プリンタコントロール部205
の制御の下に受信した画素データの印字を開始する。
Next, the host device (H-CPU) transmits a print start command (CR code in the example 13- in FIG. 4) for printing pixel data. When the print control unit receives this print start command, the printer control unit 205
Printing of the received pixel data is started under the control of.

この印字動作を以下に説明する。先ず、縦倍角印字指定
のないときは、画素メモリ204の内容をそのままプリ
ンタ印字データレジスタ206にセットし印字する。従
ってこの際は倍角印字データ発生回路207が八人力を
セレクトすることになる。
This printing operation will be explained below. First, when double height printing is not specified, the contents of the pixel memory 204 are set as they are in the printer print data register 206 and printed. Therefore, in this case, the double-width print data generation circuit 207 selects the 8-person power.

次に、縦倍角指定のあるときは次のような印字処理が行
なわれる。主メモリ201内の縦倍角印字テーブル(V
MT)を参照し、縦倍角印字が指定されていない箇所に
対しては前述の縦倍角指定なしと同様の印字を行ない、
縦倍角印字が指定された箇所に対しては、上半分と下牛
分を2回に分けて印字する。上半分を印字する時は、縦
24ドツトの印字パターンであれば上部12ドツトを2
倍拡大してまず印字する。2倍拡大の処理は、まず画素
メ七り204の上1バイト14− 分のドツト列データ(第3図を例にとるとN番目の1バ
イトに相当)を読み出し、倍角印字データ発生回路20
70B入力をセレクトして、その出力データ(PDAT
A7〜PDATA[)をプリンタ印字データレジスタ2
06のREG Oにデータセットし、次にC入力をセレ
クトして、その出力データ(PDATA7〜PDATA
O)を同じくプリンタ印字データレジスタ2060RE
G 1にセットする。
Next, when double height is specified, the following printing process is performed. Double height printing table (V
MT), and print in the same way as when double height printing is not specified as described above for areas where double height printing is not specified.
For areas where double-height printing is specified, the upper half and lower half are printed twice. When printing the upper half, if the printing pattern is 24 vertical dots, print the upper 12 dots by 2.
Enlarge it twice and print it first. In the double-width enlargement process, first, the upper 1 byte of the 14-minute dot string data of the pixel menu 204 (corresponding to the Nth 1 byte in FIG.
Select the 70B input and output its output data (PDAT
A7~PDATA[) to printer print data register 2
Set the data to REG O of 06, then select the C input, and output the data (PDATA7 to PDATA
O) is also the printer print data register 2060RE.
Set to G1.

続いて画素メモI7204よシ、次の1バイト分のドツ
ト列データ、すなわち、縦24ドツトのうちの中央部分
の1バイトデータ(第3図を例にとるとN+1番目の1
バイト)を醜み出し、倍角印字データ発生回路2070
B入力をセレクトして、その出力データ(P DATA
 7〜PDATAO)をプリンタ印字データレジスタ2
06のREG 2にセットする。このプリンタ印字デー
タレジスタ206 (REGO,REG 1 、 RE
G2)に貯えられた画素データを印字すれば上半分拡大
したものとなる。この操作をくり返すことで縦倍角印字
の上半分の印字が行なえる。続いて下半分の印字処理を
実行するが、その前に上半分と下半分とが連続するよう
に改行後、下半分の印字処理を開始する。下半分印字の
場合、上側のN−N+2の縦スライスの下半分を例にと
ると、画素メモリ204よjp N+1の1バイトデー
タを読み出し、倍角印字データ発生回路207のC入力
をセレクトして、その出力データ(PDAff’A7〜
P DATA o ’;をプリンタ印字データレジスタ
206のREG Oにセットする。続いて画素メモリ2
04よりN+2の1バイトデータを読み出し、倍角印字
データ発生回路2070B入力をセレクトしてその出力
データ(PDATA7〜PDATAO)をプリンタ印字
データレジスタ206のREG 1にセットし、更にC
入力をセレクトして、RE(、’に出力データ(PDA
TA7〜PDATAθ)をセットする。このプリンタ印
字データレジスタ(REGO,REGJ、 REG2 
)に貯えられた画素データを印字すれば下半分が拡大印
字される。
Next, from the pixel memo I7204, write the next 1 byte of dot row data, that is, the 1 byte data at the center of the 24 vertical dots (taking the example of Fig. 3, the N+1st 1
double-width print data generation circuit 2070
Select the B input and output its output data (P DATA
7~PDATAO) to printer print data register 2
Set to REG 2 of 06. This printer print data register 206 (REGO, REG 1, RE
If the pixel data stored in G2) is printed, the upper half will be enlarged. By repeating this operation, you can print the upper half of double-height printing. Next, the printing process for the lower half is executed, but before that, a line break is made so that the upper half and the lower half are continuous, and then the printing process for the lower half is started. In the case of lower half printing, taking the lower half of the upper N-N+2 vertical slice as an example, read jp N+1 1-byte data from the pixel memory 204, select the C input of the double-width print data generation circuit 207, Its output data (PDAff'A7~
P DATA o '; is set in REG O of the printer print data register 206. Next, pixel memory 2
04 to N+2 1-byte data, select the double-width print data generation circuit 2070B input, set the output data (PDATA7 to PDATAO) to REG 1 of the printer print data register 206, and then
Select the input and send the output data (PDA
Set TA7 to PDATAθ). This printer print data register (REGO, REGJ, REG2
) If you print the pixel data stored in ), the lower half will be enlarged and printed.

以上の上半分印字と下半分印字の順序は何れが先であっ
ても良い。また、上半分と下半分との印字の間の改行は
フォフードフィード、パックフィードの何れでも良い。
The upper half printing and the lower half printing may be performed in any order. Further, the line feed between the upper half and lower half printing may be either a for food feed or a pack feed.

何れの改行手段を採るかによシ、第8図(a)、(b)
に示すように、倍角文字の上下片半分が通常文字の上に
出るか下に出るかが決まる。また、横方向に2回ずつ同
一スライス画素データを印字すれば第1図(d)のよう
な縦横2倍印字も可能である。
Depending on which line break method is used, Figure 8 (a) and (b)
As shown in , it determines whether the upper and lower halves of double-width characters appear above or below normal characters. Furthermore, if the same slice pixel data is printed twice in the horizontal direction, it is also possible to print twice in the vertical and horizontal directions as shown in FIG. 1(d).

以上、画素の拡大操作を第7図に示すような構成のハー
ドウェア(倍角印字データ発生回路207)にて行なう
手段を説明したが、上記一実施例と同様の処理手順を主
メモリ201内に予めプロー°グラムしておき、CPU
202内の所定レジスタの操作にて実現することも可能
である。
The above describes a means for performing pixel enlarging operations using the hardware (double-width print data generation circuit 207) configured as shown in FIG. Program the CPU in advance.
It is also possible to realize this by manipulating a predetermined register in 202.

その場合の処理フローは第9図に示す如くとなる。動作
としては上記一実施例の倍角印字データ発生回路207
にてデータを切シ換える処理をCPU 202内の所定
レジスタ操作にて行ないその処理データをCPU 20
2からプリンタ印字データレジスタ206にセットする
ことになる。
The processing flow in that case is as shown in FIG. As for the operation, the double-width print data generation circuit 207 of the above embodiment
The process of switching data is performed by operating a predetermined register in the CPU 202, and the processed data is transferred to the CPU 20.
2 to be set in the printer print data register 206.

尚、上記実施例においては全角文字パターン17− の縦ドツト列を24ドツトとして説明したが、これに限
るものではなく、上記同様の手段にて縦16ドツト、縦
32ドツト等のドツト列ノ臂ターンについても上述した
ような縦倍角制御が可能である。
In the above embodiment, the vertical dot row of the full-width character pattern 17- is explained as having 24 dots, but this is not limiting. As for the turn, the height double angle control as described above is also possible.

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

以上詳記したように、本発明によれば、ホスト機器よシ
画素データを行単位で受信し、所定ドツト列単位をもっ
て印字処理するドツトインi4クト式シリアルプリンタ
において、縦倍角印字の際に、ホスト機器側にて縦倍角
画素データを生成する必要がなく、又、プリンタ側に2
行分の画素メモリを持つ必要がないことから、ハードウ
ェアの増加量を少なくした簡単な構成にて、しかもホス
ト機器側にががる処理負担を大幅に軽減できる極めて有
利な構成をなす印字制御装置が提供できる。
As described in detail above, according to the present invention, in a dot-in-4 type serial printer that receives pixel data from a host device in units of rows and processes the printing in units of predetermined dot rows, the host device can There is no need to generate double-height pixel data on the device side, and there is no need to generate double-height pixel data on the printer side.
Since there is no need to have pixel memory for each row, the print control has a simple configuration with less hardware addition, and has an extremely advantageous configuration that can significantly reduce the processing burden on the host device side. Equipment can be provided.

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

第1図(=)乃至(d)はそれぞれ印字ドツトパターン
を示す図、第2図は従来の印字制御装置の構18− 成を示すブロック図、第3図は上記第2図における画素
メモリの内容とプリンタ印字データレジスタとの対応を
示す図、第4図は画素データの送信シーケンスを示す図
、第5図は本発明の一実施例を示すブロック図、第6図
は上記一実施例における縦倍角印字テーブル(VMT)
による倍角画素データ指定状態例を示す図、第7図は上
記一実施例における倍角印字データ発生回路の構成を示
す回路ブロック図、第8図(a) 、 (b)はそれぞ
れ上記一実施例における倍角文字とを全角文字との印字
対応関係を示す図、第9図は本発明の他の壺施例におけ
る側割プログラムの処理手順を示す図である。 201・・・主メモリ、202・・・CPU、203・
・―インタフエクス部、204・・・画素メモリ、2o
5・・・プリンタコントロール部、206・・・プリン
タ印字データレジスタ、207・・・倍角印字データ発
生回路、VMT・・・縦倍角印字テーブル、H−CPU
・・・ホスト機器。 ・〒19− フ l ? 工 584−
Figures 1 (=) to (d) are diagrams showing printing dot patterns, Figure 2 is a block diagram showing the configuration of a conventional print control device, and Figure 3 is a diagram of the pixel memory in Figure 2 above. FIG. 4 is a diagram showing the transmission sequence of pixel data, FIG. 5 is a block diagram showing an embodiment of the present invention, and FIG. 6 is a diagram showing the correspondence between the contents and the printer print data register. Double vertical printing table (VMT)
FIG. 7 is a circuit block diagram showing the configuration of the double-width print data generation circuit in the above embodiment, and FIGS. 8(a) and 8(b) are diagrams showing an example of the double-width pixel data designation state in the above embodiment. FIG. 9 is a diagram showing the printing correspondence between double-width characters and double-width characters, and FIG. 9 is a diagram showing the processing procedure of a side-splitting program in another vase embodiment of the present invention. 201... Main memory, 202... CPU, 203...
-Interface unit, 204...pixel memory, 2o
5...Printer control unit, 206...Printer print data register, 207...Double-width print data generation circuit, VMT...Double-width print table, H-CPU
...Host device.・〒19- Full ? Engineering 584-

Claims (1)

【特許請求の範囲】[Claims] 印字すべき画素データを行単位で貯える画素メモリと、
この画素メモリに貯えられた画素データを所定ビット幅
の縦ドツト列単位をもって読出す手段、及びこの読出さ
れた縦ドツト列単位のデータを1印字ドツト列単位をも
って貯える印字データレジスタと、前記画素メモリに貯
えられた画素データの縦倍角印字範囲を指定する縦倍角
指定手段と、前記画素メモリよシ読出された前記倍角印
字範囲内の縦ドツト列単位のデータを2分し、それぞれ
倍角印字ドツトデータに拡大して、前記印字データレジ
スタにそれぞれ異なる所定のタイミングをもって記憶せ
しめる倍角ドツトデータの発生及び記憶制御手段とを具
備してなることを特徴とする印字制御装置0
A pixel memory that stores pixel data to be printed line by line,
means for reading the pixel data stored in the pixel memory in units of vertical dot rows of a predetermined bit width; a print data register for storing the read data in units of vertical dot rows in units of one print dot row; and the pixel memory. double-height specifying means for specifying a double-height print range of pixel data stored in the pixel memory; and a double-height specifying means for specifying a double-height print range of pixel data stored in the pixel memory, and dividing the data read out from the pixel memory in units of vertical dot rows within the double-width print range into two parts, each of which is divided into double-width print dot data. A printing control device 0 characterized in that it comprises double-width dot data generation and storage control means for storing double-width dot data in the print data register at different predetermined timings.
JP8521882A 1982-05-20 1982-05-20 Printing controller Pending JPS58201192A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8521882A JPS58201192A (en) 1982-05-20 1982-05-20 Printing controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8521882A JPS58201192A (en) 1982-05-20 1982-05-20 Printing controller

Publications (1)

Publication Number Publication Date
JPS58201192A true JPS58201192A (en) 1983-11-22

Family

ID=13852427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8521882A Pending JPS58201192A (en) 1982-05-20 1982-05-20 Printing controller

Country Status (1)

Country Link
JP (1) JPS58201192A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61173951A (en) * 1985-01-29 1986-08-05 Ricoh Co Ltd Printing control apparatus
JPS61258767A (en) * 1985-05-14 1986-11-17 Ishida Scales Mfg Co Ltd Label printer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5023725A (en) * 1973-06-30 1975-03-14
JPS51118324A (en) * 1975-04-10 1976-10-18 Toshiba Corp Printing device
JPS52155017A (en) * 1976-06-18 1977-12-23 Nippon Telegr & Teleph Corp <Ntt> Picture element type recording system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5023725A (en) * 1973-06-30 1975-03-14
JPS51118324A (en) * 1975-04-10 1976-10-18 Toshiba Corp Printing device
JPS52155017A (en) * 1976-06-18 1977-12-23 Nippon Telegr & Teleph Corp <Ntt> Picture element type recording system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61173951A (en) * 1985-01-29 1986-08-05 Ricoh Co Ltd Printing control apparatus
JPS61258767A (en) * 1985-05-14 1986-11-17 Ishida Scales Mfg Co Ltd Label printer

Similar Documents

Publication Publication Date Title
JP3936016B2 (en) How to print document images
JPS58201192A (en) Printing controller
JPS58117036A (en) Print control device
JPS59119440A (en) Print control system
JP2861586B2 (en) Printing control device
JPS59171256A (en) printer circuit
JPH0616764Y2 (en) Dot matrix printer
JP2922676B2 (en) Image forming device
JP3184544B2 (en) Image processing device
JPS63200670A (en) Facsimile interface equipment
JP2636312B2 (en) Printer interface device
JP2884876B2 (en) Printing control device
JPS63200671A (en) Output interface device
JP3412138B2 (en) Facsimile communication device
JPS6189861A (en) Printing controller
JPH0417460B2 (en)
JPH01316060A (en) Document preparing device
JP2564521B2 (en) Computer terminal
JP3317600B2 (en) Image forming device
JPS62241063A (en) Sentence producing device
JPH01229664A (en) Printer character pattern data transfer method
JPS63135257A (en) Printing data processing of printer
JPH04371864A (en) Page printer
JPS61193864A (en) Dot printer control method
JPH05193195A (en) Print control device