JPH04307264A - printer device - Google Patents

printer device

Info

Publication number
JPH04307264A
JPH04307264A JP7272491A JP7272491A JPH04307264A JP H04307264 A JPH04307264 A JP H04307264A JP 7272491 A JP7272491 A JP 7272491A JP 7272491 A JP7272491 A JP 7272491A JP H04307264 A JPH04307264 A JP H04307264A
Authority
JP
Japan
Prior art keywords
data
address
printing
control circuit
ram
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
JP7272491A
Other languages
Japanese (ja)
Inventor
Yasuhiro Yoshimoto
吉本 康浩
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP7272491A priority Critical patent/JPH04307264A/en
Publication of JPH04307264A publication Critical patent/JPH04307264A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

PURPOSE:To easily alter the weighting data of printing data even when a printer is put on the market. CONSTITUTION:An RAM 9 having the table of the weighing data of printing data is prepared and the weighing data of the printing data is written in the RAM 9 through a memory control circuit by the command from a CPU 2. The weighing data is read corresponding to the printing data at the time of printing by a heat control circuit 4 and sent to a thermal head 6 along with the printing data to perform printing.

Description

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

【0001】0001

【産業上の利用分野】この発明は、プリンタ装置に関し
、特に印画データの重み付け情報の記憶手段としてRA
Mを用いたプリンタ装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer device, and particularly to an RA as a storage means for weighting information of print data.
The present invention relates to a printer device using M.

【0002】0002

【従来の技術】図4は従来のプリンタ装置を示す構成図
である。図において、1はプリンタの用紙の搬送やイン
クシートの搬送等を行う機構ドライブ回路、2はこの機
構ドライブ回路1と相互接続された中央処理装置(CP
U)、3はCPU2に接続され、CPU用プログラムを
内蔵する制御用ROM、4はCPU2に接続され、供給
される印画データ等に基ずいてサーマルヘッドを熱制御
する熱制御回路、5は熱制御回路4に接続され、印画デ
ータの重み付け情報、例えばパルス列やパルス幅に関す
る情報の記録されたテーブルを固定的に有するROM、
6は熱制御回路4に接続されたサーマルヘッドである。 図5はCPU2のI/Oマップを示したもので、上側の
メモリ即ち0200Hから8000Hに関する領域はC
PU2内に設けられたRAM(図示せず)に割り当てら
れたものである。
2. Description of the Related Art FIG. 4 is a block diagram showing a conventional printer device. In the figure, reference numeral 1 indicates a mechanical drive circuit for transporting printer paper and ink sheets, and 2 indicates a central processing unit (CP) interconnected with this mechanical drive circuit 1.
U), 3 is a control ROM that is connected to the CPU 2 and contains a program for the CPU, 4 is a thermal control circuit that is connected to the CPU 2 and thermally controls the thermal head based on the supplied printing data, etc., and 5 is a thermal control circuit. a ROM connected to the control circuit 4 and fixedly having a table in which weighting information of print data, for example, information regarding pulse trains and pulse widths is recorded;
6 is a thermal head connected to the thermal control circuit 4. Figure 5 shows the I/O map of CPU2, and the area related to the upper memory, 0200H to 8000H, is C
It is allocated to a RAM (not shown) provided within the PU2.

【0003】次に、図4に示した従来のプリンタ装置の
動作について説明する。まずCPU2の制御の基に機構
ドライブ回路1と熱制御回路4の同期が取られる。熱制
御回路4は印画データが供給されると、これに対応した
重み付け情報即ちパルス列やパルス幅の情報をROM5
より読み出す。熱制御回路4は印画データと重み付け情
報をサーマルヘッド6に供給し、サーマルヘッド6はこ
の印画データと重み付け情報に基ずいて印字を行う。こ
の印字中、熱制御回路4はサーマルヘッド6の温度を検
出し、駆動するパルスのパルス列又はパルス幅を変更す
る。例えば熱制御回路4はサーマルヘッド6の温度が低
いときは幅の広いパルスあるいは多数のパルスをサーマ
ルヘッド6に供給してその温度を上げ、逆にサーマルヘ
ッド6の温度が高いときは幅の狭いパルスあるいは少数
のパルスをサーマルヘッド6に供給してその温度を下げ
る。
Next, the operation of the conventional printer shown in FIG. 4 will be explained. First, the mechanical drive circuit 1 and the thermal control circuit 4 are synchronized under the control of the CPU 2. When the thermal control circuit 4 is supplied with print data, the thermal control circuit 4 stores weighting information corresponding to the printing data, that is, pulse train and pulse width information, in the ROM 5.
Read more. Thermal control circuit 4 supplies printing data and weighting information to thermal head 6, and thermal head 6 performs printing based on this printing data and weighting information. During this printing, the thermal control circuit 4 detects the temperature of the thermal head 6 and changes the pulse train or pulse width of the driving pulses. For example, when the temperature of the thermal head 6 is low, the thermal control circuit 4 supplies a wide pulse or a large number of pulses to the thermal head 6 to raise its temperature, and conversely, when the temperature of the thermal head 6 is high, it supplies a narrow pulse to the thermal head 6. A pulse or a small number of pulses are supplied to the thermal head 6 to lower its temperature.

【0004】0004

【発明が解決しようとする課題】従来のプリンタ装置は
以上のように、印画データの重み付け情報を記憶してお
くメモリにROMを用いているので、重み付け情報であ
るパルス列やパルス幅の設定値が固定されており、従っ
てプリンタ装置が出荷された場合もはや市場やユーザ側
で重み付け情報の変更が不可能であるという問題点があ
った。この発明は上記のような問題点を解決するために
なされたもので、プリンタ装置が出荷された場合でも市
場やユーザ側で容易に印画データの重み付け情報を変更
する事ができるプリンタ装置を得ることを目的とする。
[Problems to be Solved by the Invention] As described above, conventional printer devices use a ROM as a memory for storing weighting information of printing data, so the setting values of the pulse train and pulse width, which are the weighting information, are There is a problem in that the weighting information is fixed, and therefore, once the printer device is shipped, it is no longer possible to change the weighting information on the market or on the user side. This invention has been made in order to solve the above-mentioned problems, and it is an object of the present invention to provide a printer device that allows the market or the user to easily change the weighting information of print data even after the printer device is shipped. With the goal.

【0005】[0005]

【課題を解決するための手段】この発明に係るプリンタ
装置は、印画データと該印画データの重み付け情報に基
ずいてサーマルヘッドを熱制御する熱制御手段と、上記
重み付け情報のテーブルを有するRAMと、該RAMに
対して上記重み付け情報を書き込み、読み出しする制御
手段とを備えたものである。
[Means for Solving the Problems] A printer device according to the present invention includes: thermal control means for thermally controlling a thermal head based on printing data and weighting information of the printing data; and a RAM having a table of the weighting information. , and control means for writing and reading the weighting information into and from the RAM.

【0006】[0006]

【作用】この発明においては、熱制御手段に対してRA
Mを設け、このRAMに制御手段により印画データの重
み付け情報を書き込んだり、これより読み出すようにす
る。
[Operation] In this invention, RA is applied to the heat control means.
M is provided, and weighting information of print data is written into and read from this RAM by a control means.

【0007】[0007]

【実施例】以下、この発明の一実施例を図について説明
する。図1はこの発明の一実施例を示す構成図であり、
1〜4、6は前述と同様のものである。7はCPU2に
接続され、タイミング信号を発生するタイミングジェネ
レータ、8はタイミングジェネレータ7に接続され、ア
ドレス信号を発生するメモリ制御回路、9はタイミング
ジェネレータ7及びメモリ制御回路8に接続され、印画
データの重み付け情報例えばパルス列やパルス幅の情報
を記録したテーブルを有する例えば64KバイトのRA
Mである。尚、CPU2、タイミングジェネレータ7及
びメモリ制御回路8は制御手段を構成する。図2はタイ
ミングジェネレータ7内に設けられたI/Oマップの一
例を示すもので、0000H〜0199H番地にはI/
O情報が割り与えられ、0200H番地には後述の上位
アドレスカウンタのカウンタプリセットアドレスが例え
ば1バイト割り与えられ、0201H番地には後述の下
位アドレスカウンタのカウンタプリセットアドレスが例
えば1バイト割り与えられ、0202H番地にはメモリ
論理アドレス即ちCPU2側から見たRAM9のアドレ
スが例えば1バイト割り与えられる。又、0203H〜
7999H番地は未定義であり、8000H〜FFFF
H番地にはROM3の情報が割り与えられる。図3はメ
モリ制御回路8の具体的一例を示す構成図である。メモ
リ制御回路8は上位アドレスカウンタ81と下位アドレ
スカウンタ82からなり、0200H番地が指定される
と上位アドレスカウンタ初期値プリセット信号が上位ア
ドレスカウンタ81のLOAD端子に供給され、020
1H番地が指定されると下位アドレスカウンタ初期値プ
リセット信号が下位アドレスカウンタ82のLOAD端
子に供給され、0202H番地が指定されるとメモリ(
RAM)選択信号が下位アドレスカウンタ82のT端子
に供給される。又、アドレスカウンタ81及び82のD
ATA端子には初期設定用のアドレスデータが供給され
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram showing an embodiment of the present invention,
1 to 4 and 6 are the same as described above. 7 is a timing generator connected to the CPU 2 and generates a timing signal; 8 is a memory control circuit connected to the timing generator 7 and generates an address signal; 9 is connected to the timing generator 7 and the memory control circuit 8, and controls the printing data. For example, a 64K byte RA that has a table recording weighting information such as pulse train and pulse width information.
It is M. Note that the CPU 2, timing generator 7, and memory control circuit 8 constitute a control means. FIG. 2 shows an example of an I/O map provided in the timing generator 7, and addresses 0000H to 0199H are I/O maps.
The counter preset address of the upper address counter, which will be described later, is assigned to address 0200H, for example, 1 byte, and the counter preset address of the lower address counter, which will be described later, is assigned, for example, 1 byte, to address 0201H, and 0202H. For example, a 1-byte memory logical address, that is, an address of the RAM 9 as seen from the CPU 2 side is assigned to the address. Also, 0203H~
Address 7999H is undefined, 8000H to FFFF
Information in ROM3 is assigned to address H. FIG. 3 is a configuration diagram showing a specific example of the memory control circuit 8. As shown in FIG. The memory control circuit 8 consists of an upper address counter 81 and a lower address counter 82. When address 0200H is specified, an upper address counter initial value preset signal is supplied to the LOAD terminal of the upper address counter 81,
When the 1H address is specified, the lower address counter initial value preset signal is supplied to the LOAD terminal of the lower address counter 82, and when the 0202H address is specified, the memory (
RAM) selection signal is supplied to the T terminal of the lower address counter 82. Also, D of address counters 81 and 82
Address data for initial setting is supplied to the ATA terminal.

【0008】次に、図1に示したこの発明の一実施例の
動作について図2及び図3を参照しながら説明する。C
PU2の指令により例えば0200H番地が指定される
とタイミングジェネレータ7から上位アドレスカウンタ
初期値プリセット信号が上位アドレスカウンタ81のL
OAD端子に供給されて上位アドレスカウンタ81が選
択され、初期設定用のアドレスデータが設定される。次
に、0201H番地が指定されるとタイミングジェネレ
ータ7から下位アドレスカウンタ初期値プリセット信号
が下位アドレスカウンタ82のLOAD端子に供給され
て下位アドレスカウンタ82が選択され、初期設定用の
アドレスデータが設定される。次に0202H番地が指
定されるとメモリ(RAM)選択信号が下位アドレスカ
ウンタ82のT端子に供給され、アドレスカウンタ81
及び82がインクリメントされ、RAM9のアドレスが
決定される。そしてこの決定されたアドレスの位置にC
PU2からの重み付け情報がタイミングジェネレータ7
を通して書き込まれる。RAM9に書き込まれた重み付
け情報は印画時に熱制御回路4より印画データと対応し
て読み出され、印画データと共にサーマルヘッド6に供
給され、印字が行われる。
Next, the operation of the embodiment of the present invention shown in FIG. 1 will be explained with reference to FIGS. 2 and 3. C
For example, when address 0200H is specified by a command from the PU 2, the upper address counter initial value preset signal is sent from the timing generator 7 to the L of the upper address counter 81.
The upper address counter 81 is selected by being supplied to the OAD terminal, and address data for initial setting is set. Next, when address 0201H is specified, a lower address counter initial value preset signal is supplied from the timing generator 7 to the LOAD terminal of the lower address counter 82, the lower address counter 82 is selected, and address data for initialization is set. Ru. Next, when address 0202H is specified, a memory (RAM) selection signal is supplied to the T terminal of the lower address counter 82, and the address counter 81
and 82 are incremented, and the address of RAM 9 is determined. Then, at this determined address position, C
The weighting information from PU2 is sent to timing generator 7.
written through. The weighting information written in the RAM 9 is read out from the thermal control circuit 4 in correspondence with print data at the time of printing, and is supplied to the thermal head 6 together with the print data to perform printing.

【0009】[0009]

【発明の効果】以上のようにこの発明によれば、印画デ
ータと該印画データの重み付け情報に基ずいてサーマル
ヘッドを熱制御する熱制御手段と、上記重み付け情報の
テーブルを有するRAMと、該RAMに対して上記重み
付け情報を書き込み、読み出しする制御手段とを備えた
ので、市場やユーザ側でも容易に印画データの重み付け
情報を変更することができ、又CPU側から見て大容量
のメモリであるRAMを少ないポート(3バイト)で制
御できるプリンタ装置が得られる効果がある。
As described above, according to the present invention, a thermal control means for thermally controlling a thermal head based on print data and weighting information of the print data, a RAM having a table of the weighting information, and a Since it is equipped with a control means for writing and reading out the above-mentioned weighting information in the RAM, the weighting information of print data can be easily changed by the market or the user. This has the effect of providing a printer device that can control a certain RAM with a small number of ports (3 bytes).

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

【図1】この発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】この発明の一実施例によるI/Oマップを示す
図である。
FIG. 2 is a diagram showing an I/O map according to an embodiment of the present invention.

【図3】この発明の要部を示す構成図である。FIG. 3 is a configuration diagram showing essential parts of the invention.

【図4】従来のプリンタ装置を示す構成図である。FIG. 4 is a configuration diagram showing a conventional printer device.

【図5】従来のI/Oマップを示す図である。FIG. 5 is a diagram showing a conventional I/O map.

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

2    中央処理装置(CPU) 4    熱制御回路 6    サーマルヘッド 7    タイミングジェネレータ 8    メモリ制御回路 9    RAM 2 Central processing unit (CPU) 4 Thermal control circuit 6 Thermal head 7 Timing generator 8 Memory control circuit 9 RAM

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  印画データと該印画データの重み付け
情報に基ずいてサーマルヘッドを熱制御する熱制御手段
と、上記重み付け情報のテーブルを有するRAMと、該
RAMに対して上記重み付け情報を書き込み、読み出し
する制御手段とを備えたことを特徴とするプリンタ装置
1. A thermal control means for thermally controlling a thermal head based on print data and weighting information of the print data, a RAM having a table of the weighting information, and writing the weighting information into the RAM, 1. A printer device comprising: a control means for reading data.
JP7272491A 1991-04-05 1991-04-05 printer device Pending JPH04307264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7272491A JPH04307264A (en) 1991-04-05 1991-04-05 printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7272491A JPH04307264A (en) 1991-04-05 1991-04-05 printer device

Publications (1)

Publication Number Publication Date
JPH04307264A true JPH04307264A (en) 1992-10-29

Family

ID=13497592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7272491A Pending JPH04307264A (en) 1991-04-05 1991-04-05 printer device

Country Status (1)

Country Link
JP (1) JPH04307264A (en)

Similar Documents

Publication Publication Date Title
JPS6392473A (en) Printer
JPS5948169A (en) Controller for driving of thermal head
JPH04307264A (en) printer device
KR890003238A (en) CRT Controller
JPS6230054A (en) Generator for character pattern for dot matrix type printer
JPS61237666A (en) Printing controller
JPH0765591A (en) Information processing device
JP2656673B2 (en) Printer device
JP2630114B2 (en) High-speed two-printer controller
JPS6189055A (en) Speed control device for thermosensitive recording
JPH0533913B2 (en)
JPS62199470A (en) Thermal head
JPH04103365A (en) Thermal head driving method
JPS6055318B2 (en) terminal printer
JPS62286770A (en) Printer
JPH03181091A (en) Memory device provided with dram
JPH03127116A (en) Extension memory device
JPH085215B2 (en) Output device
JPS62131324A (en) Buffer memory control system
JPH01100233U (en)
JPS63271291A (en) font cartridge
JPH02158354A (en) thermal printer
JPH01153239U (en)
JPH0458361A (en) Image forming device
JPS61173974A (en) Printer