JPH0661957B2 - Printer controller - Google Patents

Printer controller

Info

Publication number
JPH0661957B2
JPH0661957B2 JP60277395A JP27739585A JPH0661957B2 JP H0661957 B2 JPH0661957 B2 JP H0661957B2 JP 60277395 A JP60277395 A JP 60277395A JP 27739585 A JP27739585 A JP 27739585A JP H0661957 B2 JPH0661957 B2 JP H0661957B2
Authority
JP
Japan
Prior art keywords
data
horizontal
memory
vertical conversion
conversion circuit
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.)
Expired - Lifetime
Application number
JP60277395A
Other languages
Japanese (ja)
Other versions
JPS62135367A (en
Inventor
康嗣 三原
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 Corp
Original Assignee
Nippon 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP60277395A priority Critical patent/JPH0661957B2/en
Publication of JPS62135367A publication Critical patent/JPS62135367A/en
Publication of JPH0661957B2 publication Critical patent/JPH0661957B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime 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
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers

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)
  • Editing Of Facsimile Originals (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、プリンタ端末の制御装置に関する。Description: TECHNICAL FIELD The present invention relates to a control device for a printer terminal.

(従来の技術) 第4図は、従来技術によるプリンタ制御装置の一例を示
すブロツク図である。第4図において、201はマイク
ロプロセサ、202はメモリ、203は出力ポート、2
04はプリンタ、211はシステムバス信号線、212
はプリンタインターフエース信号線である。
(Prior Art) FIG. 4 is a block diagram showing an example of a printer control device according to the prior art. In FIG. 4, 201 is a microprocessor, 202 is a memory, 203 is an output port, 2
04 is a printer, 211 is a system bus signal line, 212
Is a printer interface signal line.

斯かる構成を採用し、ドツトマトリツクス方式を採用し
たプリンタの制御装置においてはドツトマトリクス印刷
用ヘツドが縦方向に構成されている。このため、プリン
タにイメージパターンを印刷させる場合には、例えば第
5図に示すように構成されたイメージパターンのデータ
は第6図に示すような形式でメモリに格納され、第7図
に示すような形式に変換されてプリンタ204に出力さ
れていた。したがつて、マイクロプロセサ201はメモ
リ202から第6図に示すようなデータを読出し、読出
されたデータに従つて第7図に示すようなデータを作成
してメモリ202に格納しておき、上記変換が完了して
からマイクロプロセサ201により変換されたデータを
メモリ202より読出して出力ポート203に転送して
いた。
With such a configuration, and in the printer control device that employs the dot matrix system, the dot matrix printing head is vertically arranged. Therefore, when the printer is made to print the image pattern, for example, the data of the image pattern configured as shown in FIG. 5 is stored in the memory in the format as shown in FIG. 6, and as shown in FIG. It has been converted to a different format and output to the printer 204. Therefore, the microprocessor 201 reads the data as shown in FIG. 6 from the memory 202, creates the data as shown in FIG. 7 according to the read data, and stores it in the memory 202. After the conversion is completed, the data converted by the microprocessor 201 is read from the memory 202 and transferred to the output port 203.

したがつて、横方向のデータから縦方向のデータにデー
タ形式を変換する際にメモリ202を複数回アクセスす
る必要があつた。
Therefore, it is necessary to access the memory 202 a plurality of times when converting the data format from horizontal data to vertical data.

(発明が解決しようとする問題点) 上述した従来のプリンタ制御装置は、横方向のデータを
縦方向のデータに形式変換処理をする必要があり、処理
のためにはマイクロプロセサからはメモリを何度もアク
セスしなければならず、その期間はマイクロプロセサに
より他の処理を実行できないという欠点があつた。
(Problems to be Solved by the Invention) The above-described conventional printer control device needs to perform format conversion processing of horizontal data into vertical data, and the microprocessor does not use a memory for processing. It had to be accessed again and again, and during that period, the microprocessor could not execute other processing.

本発明の目的は、プリンタにイメージデータを送出する
出力ポートの前段に横縦変換回路を設け、これを使用し
てマイクロプロセサによるメモリへのアクセスの回数を
少なくすることにより上記欠点を除去し、マイクロプロ
セサに他の処理を実行できるように構成したプリンタ制
御装置を提供することにある。
An object of the present invention is to eliminate the above-mentioned drawbacks by providing a horizontal / vertical conversion circuit in front of an output port for sending image data to a printer, and using this to reduce the number of accesses to a memory by a microprocessor. It is an object of the present invention to provide a printer control device configured to allow a microprocessor to execute other processing.

(問題点を解決するための手段) 本発明によるプリンタ制御装置は、メモリと、横縦変換
回路と、出力ポートと、マイクロプロセサとを具備して
構成したものである。
(Means for Solving Problems) A printer control device according to the present invention comprises a memory, a horizontal / vertical conversion circuit, an output port, and a microprocessor.

メモリは、印刷したいイメージパターンを格納しておく
ためのものである。
The memory is for storing the image pattern to be printed.

横縦変換回路は、メモリから読出されたイメージパター
ンを横縦変換するためのものである。
The horizontal / vertical conversion circuit is for horizontal / vertical conversion of the image pattern read from the memory.

出力ポートは、横縦変換回路の出力に接続され、前記横
縦変換回路の出力から得られたデータをプリンタに出力
するためのものである。
The output port is connected to the output of the horizontal / vertical conversion circuit, and is for outputting the data obtained from the output of the horizontal / vertical conversion circuit to the printer.

マイクロプロセサは、メモリからイメージパターンを読
出して横縦変換回路に送出し、横縦変換回路で横縦変換
したデータを前記出力ポートによって前記プリンタに送
りプリント出力させるように制御するものである。
The microprocessor reads out the image pattern from the memory, sends it to the horizontal / vertical conversion circuit, and controls the horizontal / vertical conversion data to be sent to the printer through the output port for printing.

(実施例) 次に、本発明について図面を参照して説明する。(Example) Next, this invention is demonstrated with reference to drawings.

第1図は、本発明によるプリンタ制御装置の一実施例を
示すブロツク図である。第1図において、101はマイ
クロプロセサ、102はメモリ、103は横縦変換回
路、104は出力ポート、105はプリンタ、111は
システムバス信号線、112は横縦変換後のデータ信号
を伝送する信号線、113はプリンタインターフエース
信号を伝送する信号線である。
FIG. 1 is a block diagram showing an embodiment of a printer control device according to the present invention. In FIG. 1, 101 is a microprocessor, 102 is a memory, 103 is a horizontal / vertical conversion circuit, 104 is an output port, 105 is a printer, 111 is a system bus signal line, and 112 is a signal for transmitting a data signal after horizontal / vertical conversion. A line 113 is a signal line for transmitting a printer interface signal.

第1図において、第5図のイメージパターンの横方向の
データは第6図の形でメモリ102に格納されている。
このデータはマイクロプロセサ101により読出され、
横縦変換回路103に出力される。横縦変換回路103
では変換後に得るべきビツト数に相当するデータを受取
ると、第7図の形のデータを信号線112を介して出力
ポート104に出力される。
In FIG. 1, the horizontal data of the image pattern of FIG. 5 is stored in the memory 102 in the form of FIG.
This data is read by the microprocessor 101,
It is output to the horizontal / vertical conversion circuit 103. Horizontal-to-vertical conversion circuit 103
When the data corresponding to the number of bits to be obtained after the conversion is received, the data shown in FIG. 7 is output to the output port 104 via the signal line 112.

例えば、具体的なデータの実例としてプリンタヘツドの
ドツト数が8であつて、メモリ102上のデータがバイ
ト単位である場合について説明する。
For example, a case where the number of dots in the printer head is 8 and the data in the memory 102 is in bytes will be described as a specific example of the data.

第2図は、第1図の横縦変換回路103の詳細を示すブ
ロツク図である。第2図において、601,602はそ
れぞれバツフア、6030〜6037はそれぞれ8ビツ
トシリアルイン/パラレルアウトシフトレジスタ、60
4は横縦変換データバツフア、605は同期信号発生
器、612はバツフア601を経たシステムバス信号
線、613は縦データに変換された後で出力ポート10
4に出力された状態のデータ信号線である。
FIG. 2 is a block diagram showing details of the horizontal / vertical conversion circuit 103 of FIG. In FIG. 2, reference numerals 601 and 602 are buffers, 6030 to 6037 are 8-bit serial-in / parallel-out shift registers, and 60, respectively.
4 is a horizontal / vertical conversion data buffer, 605 is a synchronizing signal generator, 612 is a system bus signal line passing through the buffer 601, and 613 is an output port 10 after being converted into vertical data.
4 is a data signal line in the state of being output to No. 4.

第1図および第2図において、第5図に示すビツト構成
のパターンが第4図に示す形式でメモリ102に格納さ
れているとき、マイクロプロセサ101は最初にアドレ
スM読出し、横縦変換回路103にこれを出力する。横
縦変換回路103にはバツフア601を経由してデータ
がシステムバス信号線111から入力される。データb
は8ビツトシリアルイン/パラレルアウトシフトレジ
スタ6030へ入力され、データbは8ビツトシリア
ルイン/パラレルアウトシフトレジスタ6031へ入力
され、データbは8ビツトシリアルイン/パラレルア
ウトシフトレジスタ6032へ入力され、同様にデータ
〜bへと入力され、続いてデータbは8ビツト
シリアルイン/パラレルアウトシフトレジスタ6037
へ入力される。
1 and 2, when the bit configuration pattern shown in FIG. 5 is stored in the memory 102 in the format shown in FIG. 4, the microprocessor 101 first reads the address M, and the horizontal / vertical conversion circuit 103. Output this to. Data is input to the horizontal / vertical conversion circuit 103 from the system bus signal line 111 via the buffer 601. Data b
0 is input to the 8-bit serial-in / parallel-out shift register 6030, data b 1 is input to the 8-bit serial-in / parallel-out shift register 6031, and data b 2 is input to the 8-bit serial-in / parallel-out shift register 6032. is similarly inputted to the data b 3 ~b 6, followed data b 7 to the 8-bit serial-in / parallel-out shift register 6037
Is input to.

次に、マイクロプロセサ101は、第5図においてb
〜bの1ライン下のb+bのデータを、メモ
リ102の第6図に示すアドレスM+Qから読出し、横
縦変換回路103に送出する。
Next, the microprocessor 101 is referred to as b 0 in FIG.
The data of b p + b p + 7 one line below the ~b 7, and sends the address M + Q shown in FIG. 6 in the memory 102 reads, in the aspect conversion circuit 103.

以下、同様にマイクロプロセサ101はアドレスM+2
Q,M+3Q,・・・M+7Qまでをメモリ102から
読出し、横縦変換回路103に出力する。
Thereafter, similarly, the microprocessor 101 has the address M + 2.
Q, M + 3Q, ... M + 7Q are read from the memory 102 and output to the horizontal / vertical conversion circuit 103.

横縦変換回路103の内部状態を第3図を使つて説明す
る。第3図は、8ビツトシリアルイン/パラレルアウト
シフトレジスタ6030におけるデータの状態を示すも
ので、アドレスMにおけるMSBが8ビツトシリアル/
パラレルアウトシフトレジスタ6030に入力され、順
次、アドレスM+QのMSB、M+2QのMSB、・・
・M+7QのMSBへと続く。他の8ビツトシリアルイ
ン/パラレルアウトシフトレジスタにおいても、同様に
データがシフトされてゆく。8回のデータのセツトでは
最初に第7図のアドレスNのデータが作成され、8ビツ
トシリアルイン/パラレルアウトシフトレジスタ603
0に入力され、次に8ビツトシリアルイン/パラレルア
ウトレジスタ6031にはアドレスN+1のデータが入
力され、続いて8ビツトシリアルイン/パラレルアウト
シフトレジスタ6032にはアドレスN+2のデータが
入力され、同様にして最後に8ビツトシリアルイン/パ
ラレルアウトシフトレジスタ6037にはアドレスN+
7のデータが入力される。
The internal state of the horizontal / vertical conversion circuit 103 will be described with reference to FIG. FIG. 3 shows the state of data in the 8-bit serial-in / parallel-out shift register 6030, where the MSB at the address M is 8-bit serial / parallel.
The data is input to the parallel out shift register 6030, and sequentially the MSB of the address M + Q, the MSB of M + 2Q, ...
・ Continue to M + 7Q MSB. Data is similarly shifted in the other 8-bit serial-in / parallel-out shift registers. In the eight data sets, the data at the address N in FIG. 7 is first created, and the 8-bit serial-in / parallel-out shift register 603 is created.
0, then the 8-bit serial-in / parallel-out register 6031 receives the data at address N + 1, and then the 8-bit serial-in / parallel-out shift register 6032 receives the data at address N + 2. Finally, the 8-bit serial-in / parallel-out shift register 6037 has the address N +.
7 data is input.

8ビツトシリアルイン/パラレルアウトシフトレジスタ
6030〜6037にデータがセツトされると、同期信
号発生器605は8ビツトシリアルイン/パラレルアウ
トシフトレジスタ6030から順に8ビツトシリアルイ
ン/パラレルアウトシフトレジスタ6037までには、
横縦変換データバツフア604にデータを転送するタイ
ミングが与えられる。
When the data is set in the 8-bit serial-in / parallel-out shift registers 6030 to 6037, the sync signal generator 605 starts from the 8-bit serial-in / parallel-out shift register 6030 to the 8-bit serial-in / parallel-out shift register 6037. Is
Timing for transferring data is given to the horizontal / vertical conversion data buffer 604.

横縦変換データバツフア604は出力ポート104とイ
ンターフエースをとりながら順次データを送出する。
The horizontal / vertical conversion data buffer 604 outputs data sequentially while interfacing with the output port 104.

横縦変換データバツフア604にはフアーストイン/フ
アーストアウト(FIFO)ではない形式のバツフアを
使うことができる。
As the horizontal / vertical conversion data buffer 604, a buffer of a format other than the first-in / first-out (FIFO) can be used.

(発明の効果) 以上説明したように本発明は、出力ポートとシステムバ
ス信号線との間に横縦変換回路を設けることにより、イ
メージパターンデータが格納されているメモリを一回ア
クセスすることにより、プリンタにデータが出力でき、
また変換後のデータをマイクロプロセサで作成する必要
がなく、それを格納するメモリエリアを必要としないた
めシステム効率を向上することができるという効果があ
る。
(Effects of the Invention) As described above, according to the present invention, by providing the horizontal / vertical conversion circuit between the output port and the system bus signal line, the memory storing the image pattern data is accessed once. , Data can be output to the printer,
In addition, since it is not necessary to create the converted data by the microprocessor and the memory area for storing the converted data is not required, there is an effect that the system efficiency can be improved.

また、横縦変換処理に要していたメモリエリアと時間と
を省略することができ、処理が高速化されるという効果
がある。
In addition, the memory area and time required for the horizontal / vertical conversion processing can be omitted, and the processing speed can be increased.

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

第1図は、本発明によるプリンタ制御装置の一実施例を
示すブロツク図である。 第2図は、第1図の横縦変換回路の詳細例を示すブロツ
ク図である。 第3図は、第2図のバツフア601のMSBと8ビツト
シリアルイン/パラレルアウトシフトレジスタ6030
とにおけるデータ生成過程を示す説明図である。 第4図は、従来技術によるプリンタ制御装置の一例を示
すブロツク図である。 第5図は、イメージパターンの実例を示す説明図であ
る。 第6図は、メモリ上に展開されたイメージパターンのデ
ータ例を示す説明図である。 第7図は、出力ポートに送出されるデータ例を示す説明
図である。 101……マイクロプロセサ 102……メモリ 103……横縦変換回路 104……出力ポート 105……プリンタ 601,602……バツフア 6030〜6032,6036,6037……8ビツト
シリアルイン/パラレルアウトシフトレジスタ 604……横縦変換データバツフア 605……同期信号発生器 111〜113,612,613……信号線
FIG. 1 is a block diagram showing an embodiment of a printer control device according to the present invention. FIG. 2 is a block diagram showing a detailed example of the horizontal / vertical conversion circuit of FIG. FIG. 3 shows the MSB of the buffer 601 of FIG. 2 and the 8-bit serial-in / parallel-out shift register 6030.
It is explanatory drawing which shows the data generation process in. FIG. 4 is a block diagram showing an example of a conventional printer control device. FIG. 5 is an explanatory diagram showing an actual example of the image pattern. FIG. 6 is an explanatory diagram showing an example of data of an image pattern developed on the memory. FIG. 7 is an explanatory diagram showing an example of data transmitted to the output port. 101 ... Microprocessor 102 ... Memory 103 ... Horizontal / vertical conversion circuit 104 ... Output port 105 ... Printer 601, 602 ... Buffer 6030-6032, 6036, 6037 ... 8 bit serial in / parallel out shift register 604 ...... Horizontal-vertical conversion data buffer 605 ...... Synchronous signal generator 111-113, 612, 613 ...... Signal line

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】印刷したいイメージパターンを格納してお
くためのメモリと、 前記メモリから読出された前記イメージパターンを横縦
変換するための横縦変換回路と、 前記横縦変換回路の出力に接続され、前記横縦変換回路
の出力から得られたデータをプリンタに出力するための
出力ポートと、 前記メモリから前記イメージパターンを読出して前記横
縦変換回路に送出し、前記横縦変換回路で横縦変換した
データを前記出力ポートによって前記プリンタに送りプ
リント出力させるように制御するマイクロプロセサと、 を具備して構成したことを特徴とするプリンタ制御装
置。
1. A memory for storing an image pattern to be printed, a horizontal / vertical conversion circuit for horizontal / vertical conversion of the image pattern read from the memory, and a connection to an output of the horizontal / vertical conversion circuit. An output port for outputting the data obtained from the output of the horizontal / vertical conversion circuit to the printer, and reading the image pattern from the memory and sending the image pattern to the horizontal / vertical conversion circuit. A printer control device comprising: a microprocessor that controls the vertically converted data to be sent to the printer through the output port to be printed out.
JP60277395A 1985-12-10 1985-12-10 Printer controller Expired - Lifetime JPH0661957B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60277395A JPH0661957B2 (en) 1985-12-10 1985-12-10 Printer controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60277395A JPH0661957B2 (en) 1985-12-10 1985-12-10 Printer controller

Publications (2)

Publication Number Publication Date
JPS62135367A JPS62135367A (en) 1987-06-18
JPH0661957B2 true JPH0661957B2 (en) 1994-08-17

Family

ID=17582940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60277395A Expired - Lifetime JPH0661957B2 (en) 1985-12-10 1985-12-10 Printer controller

Country Status (1)

Country Link
JP (1) JPH0661957B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55123788A (en) * 1979-03-16 1980-09-24 Toshiba Corp Dot pattern conversion system
JPS55147669A (en) * 1979-05-07 1980-11-17 Mitsubishi Electric Corp Character pattern converter
JPS584187A (en) * 1981-06-30 1983-01-11 松下電器産業株式会社 Character rotation method
JPS62115192A (en) * 1985-11-14 1987-05-26 三菱電機株式会社 Crt display unit

Also Published As

Publication number Publication date
JPS62135367A (en) 1987-06-18

Similar Documents

Publication Publication Date Title
JPH0661957B2 (en) Printer controller
US4761729A (en) Device for exchanging data between a computer and a peripheral unit having a memory formed by shift registers
JPH09265367A (en) Device and method for printer control
JP3947330B2 (en) Synchronous serial communication controller
JP2955300B2 (en) Image processing method and apparatus
KR100200690B1 (en) Blank data processing method in printer
JPS5818741A (en) Terminal device
KR100295745B1 (en) Video data transmission device of ATM communication terminal
JP2567428B2 (en) Data transfer rate converter
JP3427938B2 (en) Image forming device
JPH0225140A (en) Bidirectional communication system
JPH04130946A (en) Information processor
KR940007480B1 (en) Brank line treatment method and circuit led printer
JPH10333853A (en) Image data output circuit for page printer
JPH0564907A (en) Method and circuit for controlling energizing time
JPS6050590A (en) Color conversion system for color hard copy
JPH08129440A (en) Image forming device
JPH09179813A (en) Dma transfer device
JPH11157173A (en) Printer control circuit
JPH0679930A (en) Bit map memory controller
JPH06143695A (en) Printing apparatus
JPS6371766A (en) Buffer transferring system
JPH0271324A (en) Data transfer device
JPS6339026A (en) Video data sampling circuit
JPH04199221A (en) System for transmitting picture data

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term