JPH04325265A - Printer control system - Google Patents

Printer control system

Info

Publication number
JPH04325265A
JPH04325265A JP9461891A JP9461891A JPH04325265A JP H04325265 A JPH04325265 A JP H04325265A JP 9461891 A JP9461891 A JP 9461891A JP 9461891 A JP9461891 A JP 9461891A JP H04325265 A JPH04325265 A JP H04325265A
Authority
JP
Japan
Prior art keywords
data
printing
print data
line
printer
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
JP9461891A
Other languages
Japanese (ja)
Inventor
Hiroya Mine
嶺 浩也
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.)
NEC IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP9461891A priority Critical patent/JPH04325265A/en
Publication of JPH04325265A publication Critical patent/JPH04325265A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To achieve both shortening of time required for printing and possibility of printing in both regular and reverse directions by a method wherein a bit map type buffer memory corresponding to printing coordinates of printer paper is provided and after ending development for a buffer memory of one line content printing data, printing is executed. CONSTITUTION:When a printer is controlled, at first a bit map buffer 5 is made expected and only when a printing data is stored in a data buffer memory 3, the printing data is read in a CPU 1. Then, only when the printing data is not a control code, a column address is made expected and the printing data and the column address are inputted to a character generator 4 and an X-direction address of the bit map buffer 5 is increased. Successively when a character is in a last column and is overflown from the line, an output data of the bit map buffer 5 is sent out to a printer printing head 6 to perform one line content printing. Thereafter, line feed is executed.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はプリンタ制御方式に関し
、特に、ドットマトリクス印字タイプのシリアルプリン
タの印字制御用として用いられるプリンタ制御方式に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer control system, and more particularly to a printer control system used for controlling printing of a dot matrix printing type serial printer.

【0002】0002

【従来の技術】従来の、この種のプリンタ制御方式にお
いては、シリアルプリンタの印字データの受信およびプ
リントヘッドの制御は、マイクロコンピュータを用いて
行われているのが一般である。この場合において、受信
制御については、メモリをバッファとして想定し、数バ
イトから数キロバイトの印字データを蓄積することによ
り、データの受信速度と印字速度との差異の調整が行わ
れている。
2. Description of the Related Art In conventional printer control systems of this type, reception of print data and control of the print head of a serial printer are generally performed using a microcomputer. In this case, regarding reception control, the difference between the data reception speed and the printing speed is adjusted by assuming the memory as a buffer and storing several bytes to several kilobytes of print data.

【0003】図4に示されるのは、プリンタ制御方式に
関連する主要構成要素を含むブロック図であるが、図4
において、通常、印字データの受信制御については、デ
ータ受信インターフェース2において受信データ11が
受信されると、CPU1に対して割込み要求信号12が
出力され、この割込み要求信号12により、CPU1に
おいては、データバッファメモリ3およびプリンタ印字
ヘッド6に送られていた印字制御信号15を、受信制御
信号14に切替えて、データバッファメモリ3およびデ
ータ受信インターフェース2に送出して、処理の対象を
印字制御から受信制御に移行させる。これに伴ない、受
信データ11をデータ受信インターフェース2からデー
タバッファメモリ3に送出して蓄積し、然る後において
、当初の印字制御に復帰する。
What is shown in FIG. 4 is a block diagram including main components related to the printer control method.
Normally, regarding print data reception control, when the data reception interface 2 receives the reception data 11, an interrupt request signal 12 is output to the CPU 1, and this interrupt request signal 12 causes the CPU 1 to output the data. The print control signal 15 sent to the buffer memory 3 and printer print head 6 is switched to the reception control signal 14 and sent to the data buffer memory 3 and data reception interface 2, changing the processing target from print control to reception control. to be transferred to Along with this, the received data 11 is sent from the data reception interface 2 to the data buffer memory 3 and stored therein, and then the original printing control is resumed.

【0004】次に、従来の印字制御の一例を図2に示さ
れるプログラム・フローチャートを参照して説明する。
Next, an example of conventional printing control will be explained with reference to a program flowchart shown in FIG.

【0005】先ず、データバッファメモリ3に対して、
印字データがあるか否かがチェックされ(ステップ20
1)、印字データが無い場合には処理は終了となる。ま
た、印字データがある場合には、その印字データが読出
される(ステップ202)。次いで、その印字データが
コントロールコードであるか否かが判定されて(ステッ
プ203)、コントロールデータである場合には、コン
トロールコードに対応した処理が行われ(ステップ21
2)、ステップ201の処理に戻る。また、コントロー
ルコードでない場合には、キャラクタジェネレータ4に
送られるカラムアドレスが初期化される(ステップ20
4)。ステップ204に次いで、キャラクタジェネレー
タ4に対して印字データコードとカラムアドレスが送ら
れて(ステップ205)、キャラクタジェネレータ4に
おいては、これらの印字データコードとカラムアドレス
に対応したキャラクタのカラムデータを、ビットマップ
バッファ5を介して、プリンタ印字ヘッド6に出力し、
CPU1においては、プリンタ印字ヘッド6に対して、
印字命令を出力するとともに、当該プリンタ印字ヘッド
6を1カラム分だけ移動させる命令を出力する(ステッ
プ206、207)。そして、カラムが最終カラムであ
るか否かが判定されて、最終カラムでない場合には、カ
ラムアドレスがインクリメントされ、ステップ205の
処理に戻り、最終カラムである場合には、行末であるか
否かが判定され、行末である場合には、印字ヘッドが行
の頭に戻されて(ステップ210)、ステップ201の
処理に戻る。また、行末でない場合には、そのままステ
ップ201の処理に戻る。
First, for the data buffer memory 3,
It is checked whether there is print data (step 20).
1) If there is no print data, the process ends. Further, if there is print data, the print data is read out (step 202). Next, it is determined whether the print data is a control code (step 203), and if it is control data, processing corresponding to the control code is performed (step 21).
2) Return to step 201. Furthermore, if it is not a control code, the column address sent to the character generator 4 is initialized (step 20).
4). Following step 204, the print data code and column address are sent to the character generator 4 (step 205), and the character generator 4 converts the column data of the character corresponding to these print data code and column address into bits. output to the printer print head 6 via the map buffer 5,
In the CPU 1, for the printer print head 6,
A print command is output, and at the same time, a command to move the print head 6 of the printer by one column is output (steps 206 and 207). Then, it is determined whether the column is the last column, and if it is not the last column, the column address is incremented and the process returns to step 205, and if it is the last column, it is determined whether it is the end of the line or not. is determined, and if it is the end of the line, the print head is returned to the beginning of the line (step 210) and the process returns to step 201. If it is not the end of the line, the process directly returns to step 201.

【0006】この場合における、キャラクタジェネレー
タ4の動作ならびにカラムアドレス、カラムデータにつ
いて、図3を参照して説明する。図3において、301
〜303の符号にて示されるのは、それぞれ文字“A”
、“B”および“C”に対応するアスキーコード41、
42および43(16進)の印字キャラクタであり、文
字“A”を印字する場合には、キャラクタジェネレータ
4に41(16進)の印字文字コードを送出するととも
に、1文字を横方向に分割したカラムのアドレス“0”
を送ることにより、文字“A”のカラムアドレス“0”
のカラムデータが出力される。プリンタ印字ヘッド6に
おいては、この文字のカラムデータを受けて印字が行わ
れる。なお、印字方法としては、ドットインパクト、イ
ンクジェットおよび熱転写感熱方式等がある。
The operation of the character generator 4, column address, and column data in this case will be explained with reference to FIG. In FIG. 3, 301
~303 are each indicated by the letter “A”
, ASCII code 41 corresponding to “B” and “C”,
42 and 43 (hexadecimal), and when printing the character "A", a print character code of 41 (hexadecimal) is sent to the character generator 4, and one character is divided horizontally. Column address “0”
By sending the column address “0” of the character “A”
column data is output. The printer print head 6 receives this character column data and performs printing. Note that printing methods include dot impact, inkjet, thermal transfer, and other methods.

【0007】また、印字方向が一方向だけの場合におい
ては、印字ヘッドを改行ごとに行の先頭に戻すための時
間を要するため、双方向印字を行う場合があるが、この
場合においては、一行分のバッファに一度印字データを
移し、印字方向と同じ方向から読出すことにより双方向
印字を可能としている。逆方向に印字する場合には、キ
ャラクタジェネレータ4に送られるカラムアドレスも逆
順に送ることが必要となる。
[0007] Furthermore, when the printing direction is only one direction, it takes time to return the print head to the beginning of the line at each line feed, so bidirectional printing may be performed. Bidirectional printing is made possible by transferring print data once to a separate buffer and reading it from the same direction as the printing direction. When printing in the reverse direction, the column addresses sent to the character generator 4 must also be sent in the reverse order.

【0008】[0008]

【発明が解決しようとする課題】上述した従来のプリン
タ制御方式においては、同一行に異なる文字、または図
形を繰返して印字する場合には、プリンタ印字ヘッドを
何度も当該行内において往復させる必要があり、多大の
印字時間を要するという欠点がある。
[Problems to be Solved by the Invention] In the conventional printer control system described above, when different characters or figures are repeatedly printed on the same line, it is necessary to move the printer print head back and forth within the line many times. However, the drawback is that it takes a long time to print.

【0009】また、文字の印字の場合には、一行分のバ
ッファを逆方向に読出して、キャラクタジェネレータの
文字読出しアドレスを逆に与えることにより逆方向印字
が可能であるが、図形の場合には、エスケープシーケン
スコードなどがあるため、単純に逆方向の読出しができ
ないために、順方向印字しかできないという欠点がある
In addition, in the case of printing characters, it is possible to print in the reverse direction by reading the buffer for one line in the reverse direction and giving the character readout address of the character generator in the reverse direction, but in the case of graphics, it is possible to print in the reverse direction. , escape sequence code, etc., it is not possible to simply read in the reverse direction, so it has the disadvantage that it can only be printed in the forward direction.

【0010】更に、熱転写リボンを用いる場合には、繰
返して同じ行を印字した分だけリボンが消費されるので
、ワードプロセッサおよびパーソナルコンピュータ等に
おける図形印字化に対して、ランニングコストが増大す
るという欠点がある。
Furthermore, when a thermal transfer ribbon is used, the ribbon is consumed as much as the same line is printed repeatedly, so there is a disadvantage that running costs increase compared to graphic printing in word processors, personal computers, etc. be.

【0011】[0011]

【課題を解決するための手段】本発明のプリンタ制御方
式は、少なくとも、CPU、データ受信インターフェー
ス、データバッファメモリ、キャラクタジェネレータ、
ビットマップバッファおよびプリンタ印字ヘッドを含ん
で構成されるプリンタ制御方式において、前記ビットマ
ップバッファを初期化する第1ステップと、前記データ
バッファメモリに印字データが格納されているか否かを
チェックして、当該印字データが格納されていない場合
には処理を終了とし、格納されている場合には、次の処
理に進む第2ステップと、前記第2ステップの判定処理
において、前記データバッファメモリに印字データが格
納されている場合に、前記CPUに対して当該印字デー
タを読込む第3ステップと、前記第3ステップの処理に
おいて、CPUに読込まれた印字データがコントロール
コードであるか否かを判定する第4ステップと、前記第
4ステップの判定処理において、印字データがコントロ
ールコードでない場合に、カラムアドレスを初期化する
第5ステップと、前記キャラクタジェネレータに印字デ
ータとカラムアドレスを入力し、キャラクタジェネレー
タのデータ出力を前記ビットマップバッファに展開して
、ビットマップバッファのX方向のアドレスをインクリ
メントする第6ステップと、前記第6ステップの処理に
次いで、キャラクタが最終カラムであるか否かを判定す
る第7ステップと、前記第7ステップの判定処理におい
て、キャラクタが最終カラムである場合には、行あふれ
であるか否かを判定して、行あふれでない場合には、前
記第6ステップの処理に戻り、行あふれである場合には
、次のステップに進む第8ステップと、前記第8ステッ
プの判定処理において、行あふれである場合に、ビット
マップバッファから出力されるデータを前記プリンタ印
字ヘッドに送出して、ヘッドを移動させながら1行分の
印字を行う第9ステップと、前記第9ステップの印字処
理に続いて改行を実行する第10ステップと、前記第4
ステップの判定処理において、印字データがコントロー
ルコードである場合に、改行コードであるか否かを判定
し、改行コードである場合には、前記第9ステップの処
理に進む第11ステップと、前記第11ステップの判定
処理において、改行コードでない場合に、当該コントロ
ールコードに従った処理を実行し、然る後に、前記第2
ステップの処理に戻る第12ステップと、前記第7ステ
ップの判定処理において、キャラクタが最終カラムでな
い場合に、カラムアドレスをイクリメントし、然る後に
、前記第6ステップの処理に戻る第13ステップと、を
含む処理手順を有することを特徴としている。
[Means for Solving the Problems] The printer control system of the present invention includes at least a CPU, a data receiving interface, a data buffer memory, a character generator,
In a printer control method including a bitmap buffer and a printer print head, a first step of initializing the bitmap buffer, and checking whether print data is stored in the data buffer memory, If the print data is not stored, the process ends, and if it is stored, the print data is stored in the data buffer memory in the second step of proceeding to the next process, and in the determination process of the second step. is stored, a third step of reading the print data into the CPU, and determining whether or not the print data read into the CPU is a control code in the processing of the third step. a fourth step, and a fifth step of initializing the column address if the print data is not a control code in the judgment process of the fourth step; inputting the print data and column address to the character generator; a sixth step of expanding the data output to the bitmap buffer and incrementing the address in the X direction of the bitmap buffer; and following the processing of the sixth step, a step of determining whether the character is in the last column. Step 7: In the determination process of the seventh step, if the character is in the last column, it is determined whether the line is overflowing, and if the line is not overflowing, the process returns to the sixth step. , an eighth step in which the process proceeds to the next step if the line is overflowing; and in the determination processing of the eighth step, if the line is overflowing, the data output from the bitmap buffer is sent to the printer print head; a ninth step of printing one line while moving the head, a tenth step of executing a line feed following the printing process of the ninth step, and a fourth step of
In the step determination process, if the print data is a control code, it is determined whether or not it is a line feed code, and if it is a line feed code, the process proceeds to the ninth step, and the eleventh step In the determination process of step 11, if it is not a line feed code, the process according to the control code is executed, and then the second
a twelfth step in which the character returns to the processing in the seventh step; and a thirteenth step in which the column address is incremented if the character is not in the final column in the determination processing in the seventh step, and then the processing returns to the sixth step; It is characterized by having a processing procedure including.

【0012】0012

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0013】図1は本発明の一実施例における制御プロ
グラムのフローチャートを示す図である。以下、図1を
参照して、本実施例の動作について説明する。なお、印
字データの受信制御作用については、従来例の場合と同
様であり、図4に示されるように、データ受信インター
フェース2において受信データ11が受信されると、C
PU1に割込み要求信号12が出力され、この割込み要
求信号12により、CPU1における処理内容は、印字
制御作用より受信制御作用に移行されて、受信データ1
1はデータ受信インターフェース2からデータバッファ
メモリ3に格納され、然る後、CPU1における処理内
容は印字制御作用に戻る。
FIG. 1 is a diagram showing a flowchart of a control program in one embodiment of the present invention. The operation of this embodiment will be described below with reference to FIG. Note that the print data reception control function is the same as in the conventional example, and as shown in FIG. 4, when the data reception interface 2 receives the reception data 11, the C
An interrupt request signal 12 is output to the PU 1, and this interrupt request signal 12 causes the processing in the CPU 1 to shift from the print control function to the reception control function, and the received data 1
1 is stored in the data buffer memory 3 from the data receiving interface 2, and then the processing content in the CPU 1 returns to print control.

【0014】図1において、先ず、ビットマップバッフ
ァ5(図4参照)がクリアされて初期化される(ステッ
プ101)。次いで、データバッファメモリ3(図4参
照)に印字データが格納されているか否かがチェックさ
れ(ステップ102)、当該印字データがない場合には
処理は終了となり、ある場合には、CPU1に対して印
字データが読込まれる(ステップ103)。当該印字デ
ータがコントロールコードであるか否かが判定され(ス
テップ104)、コントロールコードである場合には改
行コードであるか否かが判定されて(ステップ110)
、改行コードでない場合には、当該コントロールコード
に従った処理が行われて(ステップ113)ステップ1
02に戻る。また、改行コードでない場合には、ステッ
プ111に移行する。また、ステップ104においてコ
ントロールコードでない場合には、カラムアドレスが初
期化される(ステップ105)。次いで、キャラクタジ
ェネレータ4(図4参照)に印字データとカラムアドレ
スを送り、その出力データをビットマップバッファ5(
図4参照)に展開して、ビットマップバッファ5(図4
参照)のX方向のアドレスをインクリメントする(ステ
ップ106)。ステップ106を経過して、キャラクタ
の最終カラムであるか否かが判定されて、当該カラムが
最終カラムでない場合には、カラムアドレスをインクリ
メントして(ステップ109)、ステップ106に戻る
。また、最終カラムである場合には、行あふれであるか
否かが判定されて(ステップ108)、行あふれでない
場合には、ステップ106に戻り、行あふれである場合
には、ビットマップバッファ5のデータがプリンタ印字
ヘッド6に送られて、ヘッドを移動させながら1行分の
印字が行われ(ステップ111)、且つ改行されて(ス
テップ112)、ステップ101の処理に戻る。
In FIG. 1, first, the bitmap buffer 5 (see FIG. 4) is cleared and initialized (step 101). Next, it is checked whether or not print data is stored in the data buffer memory 3 (see FIG. 4) (step 102). If there is no print data, the process ends; if there is, the CPU 1 is The print data is read (step 103). It is determined whether or not the print data is a control code (step 104), and if it is a control code, it is determined whether or not it is a line feed code (step 110).
, if it is not a line feed code, processing according to the control code is performed (step 113) and step 1
Return to 02. Further, if it is not a line feed code, the process moves to step 111. Further, if the code is not a control code in step 104, the column address is initialized (step 105). Next, the print data and column address are sent to the character generator 4 (see Figure 4), and the output data is sent to the bitmap buffer 5 (see Figure 4).
(see Figure 4) and expand it into bitmap buffer 5 (see Figure 4).
reference) in the X direction is incremented (step 106). After passing through step 106, it is determined whether or not this is the last column of the character. If the column is not the last column, the column address is incremented (step 109) and the process returns to step 106. If it is the last column, it is determined whether or not the row is overflowing (step 108). If the row is not overflowing, the process returns to step 106, and if the row is overflowing, the bitmap buffer 5 is data is sent to the printer print head 6, one line of printing is performed while moving the head (step 111), a line feed is performed (step 112), and the process returns to step 101.

【0015】本方式による印字は、上記の処理手順を繰
返して行うことにより実行される。
[0015] Printing according to this method is executed by repeating the above processing procedure.

【0016】[0016]

【発明の効果】以上説明したように、本発明は、プリン
タ用紙の印字座標に対応するビットマップ形式のバッフ
ァメモリを、少なくとも1行分以上備えており、印字デ
ータを前記バッファメモリに展開し、1行分の印字デー
タのバッファメモリに対する展開が終了したことを認知
した後に、当該1行分の印字データを印字ヘッドに送っ
て印字することにより、印字所要時間を短縮させ、図面
に対しても順逆両方向の印字が可能となり、操作性を著
しく向上させるプリンタ制御方式を提供することができ
るという効果がある。
As described above, the present invention includes a buffer memory in a bitmap format corresponding to the print coordinates of printer paper for at least one line, expands print data into the buffer memory, After recognizing that one line of print data has been expanded into the buffer memory, the one line of print data is sent to the print head and printed, reducing the printing time and saving time on drawings. This has the effect of providing a printer control system that enables printing in both forward and reverse directions and significantly improves operability.

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

【図1】本発明の一実施例における処理手順のフローチ
ャートを示す図である。
FIG. 1 is a diagram showing a flowchart of a processing procedure in an embodiment of the present invention.

【図2】従来例における処理順例のフローチャートを示
す図である。
FIG. 2 is a diagram showing a flowchart of an example of a processing order in a conventional example.

【図3】キャラクタジェネレータの動作ならびにカラム
アドレス、カラムデータの説明図である。
FIG. 3 is an explanatory diagram of the operation of a character generator, column addresses, and column data.

【図4】フリンタ制御方式を示すブロック図だある。FIG. 4 is a block diagram showing a flinter control method.

【符号の説明】[Explanation of symbols]

1    CPU 2    データ受信インタフェース 3    データバッファメモリ 4    キャラクタジェネレータ 5    ビットマップバッファ 6    プリンタ印字ヘッド 1 CPU 2 Data reception interface 3 Data buffer memory 4 Character generator 5 Bitmap buffer 6 Printer print head

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  少なくとも、CPU、データ受信イン
ターフェース、データバッファメモリ、キャラクタジェ
ネレータ、ビットマップバッファおよびプリンタ印字ヘ
ッドを含んで構成されるプリンタ制御方式において、前
記ビットマップバッファを初期化する第1ステップと、
前記データバッファメモリに印字データが格納されてい
るか否かをチェックして、当該印字データが格納されて
いない場合には処理を終了とし、格納されている場合に
は、次の処理に進む第2ステップと、前記第2ステップ
の判定処理において、前記データバッファメモリに印字
データが格納されている場合に、前記CPUに対して当
該印字データを読込む第3ステップと、前記第3ステッ
プの処理において、CPUに読込まれた印字データがコ
ントロールコードであるか否かを判定する第4ステップ
と、前記第4ステップの判定処理において、印字データ
がコントロールコードでない場合に、カラムアドレスを
初期化する第5ステップと、前記キャラクタジェネレー
タに印字データとカラムアドレスを入力し、キャラクタ
ジェネレータのデータ出力を前記ビットマップバッファ
に展開して、ビットマップバッファのX方向のアドレス
をインクリメントする第6ステップと、前記第6ステッ
プの処理に次いで、キャラクタが最終カラムであるか否
かを判定する第7ステップと、前記第7ステップの判定
処理において、キャラクタが最終カラムである場合には
、行あふれであるか否かを判定して、行あふれでない場
合には、前記第6ステップの処理に戻り、行あふれであ
る場合には、次のステップに進む第8ステップと、前記
第8ステップの判定処理において、行あふれである場合
に、ビットマップバッファから出力されるデータを前記
プリンタ印字ヘッドに送出して、ヘッドを移動させなが
ら1行分の印字を行う第9ステップと、前記第9ステッ
プの印字処理に続いて改行を実行する第10ステップと
、前記第4ステップの判定処理において、印字データが
コントロールコードである場合に、改行コードであるか
否かを判定し、改行コードである場合には、前記第9ス
テップの処理に進む第11ステップと、前記第11ステ
ップの判定処理において、改行コードでない場合に、当
該コントロールコードに従った処理を実行し、然る後に
、前記第2ステップの処理に戻る第12ステップと、前
記第7ステップの判定処理において、キャラクタが最終
カラムでない場合に、カラムアドレスをイクリメントし
、然る後に、前記第6ステップの処理に戻る第13ステ
ップと、を含む処理手順を有することを特徴とするプリ
ンタ制御方式。
1. A printer control system comprising at least a CPU, a data receiving interface, a data buffer memory, a character generator, a bitmap buffer, and a printer print head, comprising: a first step of initializing the bitmap buffer; ,
A second step that checks whether or not print data is stored in the data buffer memory, and if the print data is not stored, ends the process; if it is stored, proceeds to the next process. a third step of reading the print data into the CPU if the print data is stored in the data buffer memory in the determination process of the second step; and a third step of reading the print data into the CPU; , a fourth step of determining whether or not the print data read into the CPU is a control code; and a fifth step of initializing the column address if the print data is not a control code in the determination processing of the fourth step. a sixth step of inputting print data and a column address to the character generator, developing the data output of the character generator into the bitmap buffer, and incrementing the address in the X direction of the bitmap buffer; Next to the processing in step 7, a seventh step determines whether or not the character is in the last column, and in the determination processing in the seventh step, if the character is in the last column, it is determined whether or not the line is overflowing. If it is determined that the line is not overflowing, the process returns to the sixth step, and if the line is overflowing, the process proceeds to the next step. In some cases, a ninth step of sending the data output from the bitmap buffer to the printer print head and printing one line while moving the head, and a line break following the printing process of the ninth step. In the determination process of the fourth step, if the print data is a control code, it is determined whether or not it is a line feed code, and if the print data is a line feed code, the process is performed in the ninth step. and a twelfth step in which, in the determination process of the eleventh step, if it is not a line feed code, a process according to the control code is executed, and then the process returns to the second step. and a thirteenth step of incrementing the column address if the character is not in the last column in the determination process of the seventh step, and then returning to the process of the sixth step. Features printer control method.
JP9461891A 1991-04-25 1991-04-25 Printer control system Pending JPH04325265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9461891A JPH04325265A (en) 1991-04-25 1991-04-25 Printer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9461891A JPH04325265A (en) 1991-04-25 1991-04-25 Printer control system

Publications (1)

Publication Number Publication Date
JPH04325265A true JPH04325265A (en) 1992-11-13

Family

ID=14115248

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9461891A Pending JPH04325265A (en) 1991-04-25 1991-04-25 Printer control system

Country Status (1)

Country Link
JP (1) JPH04325265A (en)

Similar Documents

Publication Publication Date Title
JP2860204B2 (en) Output device and method of selecting interpretation program in the device
US5592593A (en) Printing in data processing systems
JP3209102B2 (en) Print system, printer driver and printer
JP2755308B2 (en) Output method and device
JP2839119B2 (en) Character processing apparatus and method
US5708768A (en) Character generation
US7589861B2 (en) Image forming apparatus and printing system
JPH01136770A (en) Printer
JP2812412B2 (en) Printer control device and method
JPH04325265A (en) Printer control system
JP2783344B2 (en) Printer control device and control method thereof
JPS59201870A (en) Printer
JP2523213B2 (en) Page printer print control method
JP2744025B2 (en) Printing control device
JPH082024A (en) Printer
JP2889390B2 (en) Printer device
JP3012269B2 (en) Printing control device
JPH08234720A (en) Data structure of font data memory
KR19990074826A (en) How to Choose Fonts and Fonts for Your Printer
JPS63242561A (en) Font reducing system
JPS61193864A (en) Controlling system for dot printer
JPH0477277A (en) Printing device
JPH1158873A (en) Page printer
JP2001246788A (en) Printer
JPH10291339A (en) Image forming system and control method therefor