JPS6161861A - Printer control apparatus - Google Patents

Printer control apparatus

Info

Publication number
JPS6161861A
JPS6161861A JP18389684A JP18389684A JPS6161861A JP S6161861 A JPS6161861 A JP S6161861A JP 18389684 A JP18389684 A JP 18389684A JP 18389684 A JP18389684 A JP 18389684A JP S6161861 A JPS6161861 A JP S6161861A
Authority
JP
Japan
Prior art keywords
data
printing
image buffer
microprocessor
buffer part
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
JP18389684A
Other languages
Japanese (ja)
Inventor
Satoshi Natsui
夏井 聡
Yoshiji Morioka
森岡 義嗣
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Hokushin Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yokogawa Hokushin Electric Corp filed Critical Yokogawa Hokushin Electric Corp
Priority to JP18389684A priority Critical patent/JPS6161861A/en
Publication of JPS6161861A publication Critical patent/JPS6161861A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/485Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by the process of building-up characters or image elements applicable to two or more kinds of printing or marking processes
    • B41J2/505Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by the process of building-up characters or image elements applicable to two or more kinds of printing or marking processes from an assembly of identical printing elements

Landscapes

  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To make it possible to perform not only overlap-writing printing without printing the same line plural times but also high speed printing as a whole, by taking the OR of data inputted prior to inputting data to image data memory before writing said data. CONSTITUTION:A microprocessor 4 judges whether data to be read are present in a character buffer part 21 and reads said data. Next, said microprocessor 4 judges whether line feed is performed and, when no line feed is performed, judges whether a carriage is returned. In the case of no carriage return, said microprocessor 4 reads the data corresponding to a character code from character font memory 3 and succeedingly reads the data 2 shown by a pointer and takes OR of data 1 and data 2 to store both data 1, 2 in an image buffer part 22. Information, wherein the data 1 and the data 2 are superposed, is formed in the image buffer part 22. Overlap-writing printing is performed by once line feed when superposed information is stored in the image buffer part 22.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、各種のデータを用紙等に印字させるプリンタ
制i′J装置に関し、更に詳しくは、同一行での重ね書
きを行う場合に有効なプリンタυ制御装置に関する。
Detailed Description of the Invention (Field of Industrial Application) The present invention relates to a printer-based i'J device that prints various data on paper, etc. This invention relates to a printer control device.

(従来の技術) 従来、シリアルプリンタによって、第3図に示すような
、例えば文字とこれを取り囲んだ枠からなる重ね書きの
印字を行う場合、はじめに、第4図(イ)に示すように
、文字だけを印字し、次に(ロ)に示すように枠を印字
するというように、同一行を2度印字していた。
(Prior Art) Conventionally, when using a serial printer to perform overlapping printing consisting of, for example, characters and a frame surrounding them, as shown in FIG. 3, first, as shown in FIG. 4 (A), The same line was printed twice, such as printing only the characters and then printing the frame as shown in (b).

第5図はプリンタにこのような動作を行わせるための制
御装置の動作の一例を示すフローチャー゛ トである。
FIG. 5 is a flowchart showing an example of the operation of the control device for causing the printer to perform such operations.

(発明が解決しようとする問題点) 従来の制御Il装置は、このような動作を行わせるもの
であるために、重ね書き印字の際パフォーマンスが落ち
、全体として、高速印字を行わせるうえで問題があった
(Problems to be Solved by the Invention) Since conventional control Il devices perform such operations, performance deteriorates during overwriting printing, and overall there is a problem in performing high-speed printing. was there.

本1発明は、このような従来11iNにおける問題点に
鑑みてなされたもので、その目的は、同一行を複数回印
字することなしで重ね書き印字が行え、全体として高速
印字を行うことのできるプリンタ制御装置を実現するこ
とにある。
The present invention 1 was made in view of the problems with the conventional 11iN, and its purpose is to be able to perform overwriting printing without printing the same line multiple times, and to be able to perform high-speed printing as a whole. The object of the present invention is to realize a printer control device.

(問題点を解決するための手段) このような問題点を解決する本発明は、イメ−ジデータ
を格納するイメージデータメモリと、このイメージデー
タメモリに格納されているイメージデータを印字するプ
リンタとを備えた装置において、前記イメージデータメ
モリにデータを入力する時以前に入力したデータとオア
をとりそれから当該データを書き込ませ前記イメージデ
ータメモリ中に量ね書き情報をつくる手段を設けたこと
を特徴とするものである。
(Means for Solving the Problems) The present invention to solve these problems includes an image data memory that stores image data, and a printer that prints the image data stored in the image data memory. The apparatus is characterized in that, when inputting data to the image data memory, means is provided for performing an OR operation with previously input data and then writing the data to create scale information in the image data memory. It is something to do.

(実施例) 以下、図面を用いて本発明の実施例を詳細に説明する。(Example) Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は本発明装置の一例を示ず構成ブロック図である
。図において、1はプリンタ、2はバッファメモリ、3
は文字フォントメモリ、4はマイクロプロセッサ、5は
図示してない外部機器(例えばホストコンピュータ)に
つながるI10ボートで、これらはバスBSを介して互
いに結合している。
FIG. 1 is a configuration block diagram showing an example of the apparatus of the present invention. In the figure, 1 is a printer, 2 is a buffer memory, and 3 is a printer.
4 is a character font memory, 4 is a microprocessor, and 5 is an I10 port connected to an external device (for example, a host computer), not shown, and these are connected to each other via a bus BS.

バッファメモリ2は、入力されるキャラクタコードを格
納するキャラクタバッファ部分21と、プリンタ1に出
力するイメージデータを格納するイメージバッファ部分
22とを有している。
The buffer memory 2 has a character buffer section 21 that stores input character codes, and an image buffer section 22 that stores image data to be output to the printer 1.

マイクロプロセッサ4は、I10ポート5からの印字デ
ータの処理や、入力されたキャラクタコードをキせラク
タバッファ部分21に格納したり、ここから読み出しl
cキャラクタコードをフォントデータに展開し、イメー
ジバッファ部分22に書き込んだり、又、イメージバッ
ファ部分22に格納されたイメージデータを読み出し、
ブリンク1に出力したり、又、プリンタ1の印字ヘッド
の動きや印字用紙の送り制御等の仕事を行う。このマイ
クロプロセッサ4において、41は、イメージバッフ1
部分21にデータを入力する時、以前に入力したデータ
とオアをとり、それからデータを書き込ませ、イメージ
バッファ部分22中に重ね書き情報をつくる手段を示す
。この手段は、例えばプログラムによって、或いは、イ
メージバッファメモリのバスインターフェースを特殊化
して、ライト(Write)動作時にリードモデファイ
ライト(Read Modify Write)を行う
等により実現される。
The microprocessor 4 processes the print data from the I10 port 5, stores the input character code in the character buffer section 21, and reads it from there.
Developing the c character code into font data and writing it into the image buffer section 22, or reading out the image data stored in the image buffer section 22,
It also performs tasks such as outputting to the blink 1 and controlling the movement of the print head of the printer 1 and the feeding of printing paper. In this microprocessor 4, 41 is an image buffer 1
When inputting data to section 21, a means is shown for ORing with previously input data and then writing the data to create overwrite information in image buffer section 22. This means is realized, for example, by a program or by specializing the bus interface of the image buffer memory and performing a read modify write during a write operation.

このように構成した装置において、マイクロプロセッサ
4及び重ね書き情報作成手段41による重ね■き情報を
イメージバッファ/部分21につくる動作を、次に第2
図のフローチャートを参照しながら説明する。
In the apparatus configured as described above, the operation of creating overlapping information in the image buffer/portion 21 by the microprocessor 4 and the overwriting information creating means 41 is then performed in the second step.
This will be explained with reference to the flowchart shown in the figure.

はじめに、マイクロプロセッサ4は、バッフ7メモリの
キャラクタバッファ部分21に、読み出すデータがある
か否か判断しくステップ1)、読み出すデータがある場
合、そのデータ(キャラクタ)を読み出す(ステップ2
)。尚、ステップ1において、読み出すデータが無い場
合は、次のシーケンスに移行する。
First, the microprocessor 4 determines whether or not there is data to be read in the character buffer portion 21 of the buffer 7 memory (step 1), and if there is data to be read, the data (character) is read (step 2).
). Note that in step 1, if there is no data to be read, the process moves to the next sequence.

次に、ラインフィード(LF)かどうか判断しくステッ
プ3)、そうでない場合、キャリッジリターン(OR)
かどうか判断する(ステップ4)。
Next, determine whether it is a line feed (LF) or not (step 3), if not, a carriage return (OR).
(Step 4)

ステップ4において、キャリッジリターンでない場合、
まず、文字フォントメモリ3よりキせラクタコードに対
応した第1の文字フォント(データ1)を読み出しくス
テップ5)、続いて、ポインタの示を第2の文字フォン
ト(データ2)を読み出しくステップ6)、データ1と
データ2のオアをとり(ステップ7)、両データをイメ
ージバッファ部分22に格納する(ステップ8)。この
ようなステップ3からステップ8までの動作によって、
イメージバッファ部分22には、データ1とデータ2と
が重なった情報がつくられる。続いて、ポインタの指示
をアップ(ステップQ)して、ステップ1に戻る。
In step 4, if there is no carriage return,
First, read the first character font (data 1) corresponding to the character code from the character font memory 3 (step 5), then read the second character font (data 2) indicated by the pointer (step 6). ), performs an OR operation on data 1 and data 2 (step 7), and stores both data in the image buffer portion 22 (step 8). Through the operations from step 3 to step 8,
Information in which data 1 and data 2 overlap is created in the image buffer portion 22. Subsequently, the pointer instruction is raised (step Q) and the process returns to step 1.

ステップ3においてラインフィードであると判断される
と、印字指令が出され(ステップ10)、印字を行う(
ステップ11)。ここでの印字動作は、イメージバッフ
1部分22からのイメージデータが読み出されて行われ
るもので、イメージバッファ部分22中に重なった情報
が格納されている場合、1回のラインフィードによって
重ね凹き印字がなされる。印字終了後は、イメージバッ
フ1部分22の内容をクリアしくステップ12)、続い
て、イメージバッファのポインタをクリアして(ステッ
プ13)、ステップ1に戻る。
If it is determined in step 3 that it is a line feed, a print command is issued (step 10) and printing is performed (
Step 11). The printing operation here is performed by reading the image data from the image buffer 1 portion 22. If overlapping information is stored in the image buffer portion 22, the overlapping indentation is performed by one line feed. is printed. After printing is completed, the contents of the image buffer 1 portion 22 are cleared (step 12), the image buffer pointer is cleared (step 13), and the process returns to step 1.

ステップ4において、キャリッジリターンであると判断
されると、ステップ13に移り、イメージバッファのポ
インタをクリアする。。
If it is determined in step 4 that it is a carriage return, the process moves to step 13 and the image buffer pointer is cleared. .

第2図のフローチャートにおいては、プリンタ1を制御
するための、その他のコードについては省略しである。
In the flowchart of FIG. 2, other codes for controlling the printer 1 are omitted.

尚、上記の説明においては、プリンタ1としては、ワイ
ヤドツト式プリンタ、レーザプリンタ。
In the above description, the printer 1 is a wire dot type printer or a laser printer.

熱転写型プリンタ或いはページ式プリンタ等各種プリン
タが使用できる。
Various printers can be used, such as a thermal transfer printer or a page printer.

(発明の効果) 以上説明したように、本発明によれば、同一行を複数回
印字することなしで、重ね」き印字を行うことができ、
高速印字のできるプリンタ制御装置を実現することがで
きる。
(Effects of the Invention) As explained above, according to the present invention, overlapping printing can be performed without printing the same line multiple times,
A printer control device capable of high-speed printing can be realized.

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

第1図は本発明装置の一実施例を示ず構成ブロック図、
第2図は第1図装置の動作の一例を示すフローチャート
、第3図は重ね書き印字例を示ず説明図、第4図は従来
装置における重ね書き印字のfh作を説明するための説
明図、第5図は従来装置の動作の一例を示すフローチャ
ートである。 1・・・プリンタ    2・・・メモリ21・・・キ
ャラクタバッファ部分 22・・・イメージバッファ部分 3・・・文字フォントメモリ 4・・・マイクロプロセッサ 41・・・重ね書き情報作成手段 5・・・I10ボート %1図 吊3図 口叩可 尼4図
FIG. 1 is a configuration block diagram of an embodiment of the device of the present invention;
FIG. 2 is a flowchart showing an example of the operation of the device shown in FIG. 1, FIG. 3 is an explanatory diagram showing an example of overwriting printing, and FIG. 4 is an explanatory diagram for explaining the fh operation of overwriting printing in a conventional device. , FIG. 5 is a flowchart showing an example of the operation of the conventional device. 1...Printer 2...Memory 21...Character buffer section 22...Image buffer section 3...Character font memory 4...Microprocessor 41...Overwriting information creation means 5... I10 Boat % 1 Figure Hanging 3 Figure Mouth Tapping 4 Figure

Claims (1)

【特許請求の範囲】[Claims] イメージデータを格納するイメージデータメモリと、こ
のイメージデータメモリに格納されているイメージデー
タを印字するプリンタとを備えた装置において、前記イ
メージデータメモリにデータを入力する時以前に入力し
たデータとオアをとりそれから当該データを書き込ませ
前記イメージデータメモリ中に重ね書き情報をつくる手
段を設けたことを特徴とするプリンタ制御装置。
In an apparatus equipped with an image data memory that stores image data and a printer that prints the image data stored in the image data memory, when data is input to the image data memory, an OR with previously input data is used. 1. A printer control device comprising: a means for generating overwrite information in said image data memory by writing said data therein;
JP18389684A 1984-09-03 1984-09-03 Printer control apparatus Pending JPS6161861A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18389684A JPS6161861A (en) 1984-09-03 1984-09-03 Printer control apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18389684A JPS6161861A (en) 1984-09-03 1984-09-03 Printer control apparatus

Publications (1)

Publication Number Publication Date
JPS6161861A true JPS6161861A (en) 1986-03-29

Family

ID=16143705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18389684A Pending JPS6161861A (en) 1984-09-03 1984-09-03 Printer control apparatus

Country Status (1)

Country Link
JP (1) JPS6161861A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59111861A (en) * 1982-12-16 1984-06-28 Fujitsu Ltd Control system for printing

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59111861A (en) * 1982-12-16 1984-06-28 Fujitsu Ltd Control system for printing

Similar Documents

Publication Publication Date Title
JPH0378651B2 (en)
JPH0263763A (en) Printing apparatus
JPH0441548B2 (en)
US5119471A (en) Control apparatus of high speed/high quality printer
JPS6161861A (en) Printer control apparatus
JPS5866181A (en) Pattern recording device
JPH0330977A (en) Page printer control system
JP2654015B2 (en) Document processing device
JPS59201870A (en) Printer
JP2525333B2 (en) Output device
JP2626769B2 (en) Output control device and method
JPH06100905B2 (en) Pattern output method
JPS61148065A (en) Control of input and output of recording information
JPH0311275B2 (en)
JPS6246010B2 (en)
JPS60136824A (en) Printer control device
JPH0746543Y2 (en) Printer
JPH0462075A (en) Font data recording system of printer
JPS60201960A (en) Printer
JPH0361562A (en) Printer
JPH03112668A (en) Printer
JPS60110460A (en) Former of printing data
JPH09309233A (en) Image forming device and image formation
JPH0378652B2 (en)
JPH06168239A (en) Document preparing device