JPH0272980A - Printer - Google Patents

Printer

Info

Publication number
JPH0272980A
JPH0272980A JP63224225A JP22422588A JPH0272980A JP H0272980 A JPH0272980 A JP H0272980A JP 63224225 A JP63224225 A JP 63224225A JP 22422588 A JP22422588 A JP 22422588A JP H0272980 A JPH0272980 A JP H0272980A
Authority
JP
Japan
Prior art keywords
data
area
vbb
printing
capacity
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.)
Granted
Application number
JP63224225A
Other languages
Japanese (ja)
Other versions
JP2687478B2 (en
Inventor
Takanori Tsuji
卓則 辻
Yasuhiko Isobe
磯辺 泰彦
Zenshi Hayashi
林 善嗣
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP63224225A priority Critical patent/JP2687478B2/en
Publication of JPH0272980A publication Critical patent/JPH0272980A/en
Application granted granted Critical
Publication of JP2687478B2 publication Critical patent/JP2687478B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • B—PERFORMING OPERATIONS; TRANSPORTING
    • B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J5/00—Devices or arrangements for controlling character selection
    • B41J5/30—Character or syllable selection controlled by recorded information

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ホストコンピュータ等から入力される入力デ
ータを基にイメージ・データをRAM上に作成し、印字
を行うレーザー・ビーム働プリンタ、ワイヤートッド申
プリンタ等の印字装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a laser beam printer, a wire tod printer, which creates image data on a RAM based on input data from a host computer, etc., and prints the data. The present invention relates to printing devices such as printers.

従来の技術 以下に従来の技術について図面を参照しながら説明する
。
BACKGROUND OF THE INVENTION Conventional techniques will be described below with reference to the drawings.

第4図は従来の印字装置の概略構成図である。FIG. 4 is a schematic diagram of a conventional printing device.

図に於て1はホストコンピュータ(以下単にホストとい
う)からのデータを受は取るインターフェヌ部、2はホ
スト1より受けとったデータを解析しイメージ展開可能
な内部データに変換するテキスト作成部、3はテキスト
作成部2により作成されたテキストを基に実際の印字イ
メージデータに展開するイメージ展開部、4は展開さ′
れた印字イメージ・データを格納するイメージ展開エリ
ア(ビデオ・バンド・バッファ(以下VBBと記す))
であり、ランダムアクセスメモリ(以下RAMと記す)
にて構成されている。6はVBB上の印字イメージデー
タを所定のタイミングで取り出し、用紙上に文字や画像
として印字を行う印字部である。
In the figure, 1 is an interface unit that receives and receives data from the host computer (hereinafter simply referred to as the host), 2 is a text creation unit that analyzes the data received from host 1 and converts it into internal data that can be developed into an image, and 3 is An image development section 4 develops the text created by the text creation section 2 into actual print image data;
Image expansion area (video band buffer (hereinafter referred to as VBB)) that stores printed image data
, random access memory (hereinafter referred to as RAM)
It is composed of. Reference numeral 6 denotes a printing unit that extracts print image data on the VBB at a predetermined timing and prints it on paper as characters or images.

尚、前記VBB4の印字イメージデータの展開可能な容
量は、用紙の印字範囲に対しては数分の1の領域に相当
する分しか有していない。
Note that the expandable capacity of the VBB4 print image data is only a fraction of the printing range of the paper.

以上のように構成された従来の印字装置に於いて次にそ
の動作を説明する。
The operation of the conventional printing apparatus constructed as described above will now be described.

先ずインターフェース部1を介してホストより受は取っ
たデータ(文字コード)はテキスト作成部2によって所
定の情報(VBB内に於ける書込み位置を示す情報等)
が付加され一旦そこに格納される。こうして1ページ分
に対応したテキストが作成されそして格納されると、そ
のテキストの先頭から順に印字イメージデータに展開さ
れVBB4に格納されて行く。そしてこのVBB4の有
する容量分だけ印字イメージデータが格納される(その
状態を第5図に示している)と、印字部5が1ラスター
毎にその印字イメージデータを取り出しそして用紙上に
文字や画像を形成して行く。このようにして1ラスター
毎に印字イメージデータが取り出されると、その度にV
BB4には空エリアが生じていく(第6図参照)。空き
エリアが生じるとテキスト作成部2より次の行の文字や
画像に対応する印字イメージデータが格納されて行く。
First, the data (character code) received from the host via the interface unit 1 is converted into predetermined information (information indicating the writing position in the VBB, etc.) by the text creation unit 2.
is added and temporarily stored there. When the text corresponding to one page is created and stored in this way, the text is developed into print image data in order from the beginning and stored in the VBB4. When the print image data is stored in the capacity of the VBB 4 (the state is shown in FIG. 5), the print unit 5 takes out the print image data for each raster and prints the characters and images on the paper. Form and go. When print image data is extracted for each raster in this way, each time
An empty area will appear in BB4 (see Figure 6). When a vacant area becomes available, the text creation section 2 stores print image data corresponding to the next line of characters and images.

このような一連の動作を繰り返すことによって1ページ
の泣字が可能となる。
By repeating this series of operations, one page of crying characters can be created.

発明が解決しようとする課題 しかしながら上記従来の技術ではVBBのサイズが固定
であるため、1ページ内に印字する文字や画像の量が増
えた場合、印字部5によって取り出されそして印字され
るスピードに対してVBBへの文字や画像の展開が間に
合わなくなる所謂オバーランエラーが起こる。
Problems to be Solved by the Invention However, in the above-mentioned conventional technology, the size of the VBB is fixed, so when the amount of characters or images to be printed on one page increases, the speed at which they are taken out and printed by the printing unit 5 increases. On the other hand, a so-called overrun error occurs in which characters and images cannot be developed in time to VBB.

課題を解決するための手段 本発明は上記従来の課題を解決するために、ホストコン
ピュータから入力した1ページ内の入力データの内容を
判別する入力データ判別部、この入力データ判別部から
の判別出力によってVBHの容量を切換えるVBB容量
設定部とを設け、1ページ内のデータの量が多い時には
YBBのサイズを大きくし、逆にデータの量が少い時に
はVBBOサイズを小さくすることを特徴とする。
Means for Solving the Problems In order to solve the above-mentioned conventional problems, the present invention provides an input data discriminator that discriminates the content of input data within one page input from a host computer, and a discrimination output from this input data discriminator. A VBB capacity setting section is provided for switching the VBH capacity based on the amount of data in one page, and when the amount of data in one page is large, the YBB size is increased, and conversely, when the amount of data is small, the VBBO size is decreased. .

作用 上記手段により本発明では入力データの内容に適したV
BBのサイズを設定することができ、オーバーランエラ
ーの発生頻度を大巾に減らすことができる他、VBBを
含めた全体のメモリを有効に利用することができるもの
である。
Effect: By the above means, in the present invention, V suitable for the content of input data is
The size of the BB can be set, the frequency of occurrence of overrun errors can be greatly reduced, and the entire memory including the VBB can be used effectively.

実施例 第1図は本発明の一実施例の印字装置の構成を示す構成
図である。
Embodiment FIG. 1 is a block diagram showing the structure of a printing device according to an embodiment of the present invention.

図に於いて、1はインターフェース部、2はテキスト作
成部、3はイメージ展開部、4はVBB部、6は印字部
であシ以上は従来例の構成と同じである。6は前記テキ
スト作成部2で作成した1ベジ分のデータ量を判別する
データ量判別部、7は前記データ量判別部6で判別した
テ°−タ量に最適なVBB量を設定するVEB量設定部
である。
In the figure, 1 is an interface section, 2 is a text creation section, 3 is an image development section, 4 is a VBB section, and 6 is a printing section.The above structure is the same as that of the conventional example. Reference numeral 6 denotes a data amount determination unit that determines the amount of data for one page created by the text creation unit 2, and 7 a VEB amount that sets an optimal VBB amount for the data amount determined by the data amount determination unit 6. This is the settings section.

第2図は実施例の印字装置の実際の回路構成を示すブロ
ック構成図である。
FIG. 2 is a block diagram showing the actual circuit configuration of the printing device of the embodiment.

図に於いて8は予めROM(IJ−ドオンリメモリ)9
内に格納されているプログラムに従って命令全実行して
い(CPU(中央処理装置)、10はホストコンピュー
タとのデータの通信を行うインタフェース、11はVB
Bの容量を設定するVBB容量設定器、12はランダム
・アクセス・メモリ(以下RAMと記f)であり、V 
B B 4ハRAM12内に設けられている。また前記
テキスト作成部2にて作成されたテキストデータもこの
RAM゛12内の前記VBB4が占める領域とは別の領
域に格納される。13は印字部でありVBB4のブタを
基に実際の印字を行う。
In the figure, 8 is a ROM (IJ-only memory) 9
It executes all instructions according to the program stored in the CPU (Central Processing Unit), 10 is an interface for communicating data with the host computer, 11 is a VB
12 is a random access memory (hereinafter referred to as RAM);
B B 4 is provided in the RAM 12. Further, the text data created by the text creation section 2 is also stored in an area different from the area occupied by the VBB 4 in the RAM 12. Reference numeral 13 denotes a printing section which performs actual printing based on the VBB4 button.

以上のように構成された本実施例の印字装置において第
3図に示すフローチャートに従い以下その動作を説明す
る。
The operation of the printing apparatus of this embodiment configured as described above will be explained below according to the flowchart shown in FIG.

先ずホスト・コンピュータよシ1文字分の文字データを
入力しくステップ(→)、その文字データに対応したテ
キストを作成する(ステップ(ロ))、このときそのデ
ータ数をカウントするカウンタの値を1だけインクリメ
ントする(ステップ(ハ))、−tLで1ページ分のテ
キスト作成が終了したかどうか判別しくステップに))
、終了していなければ次のデータを取り込むためにステ
ップ(イ)に戻る。
First, input character data for one character into the host computer (step (→)), create text corresponding to that character data (step (b)), and at this time set the value of the counter that counts the number of data to 1. (step (c)), -tL to determine whether one page of text has been created or not (step))
, if it has not finished, return to step (a) to capture the next data.

終了していれば、データ数のカウンタによるカウント値
が1万を越えるかどうかをCPU8が判別しくステップ
(ホ))、越えていればVBBの容量を128KBと算
出する(ステップ(へ))、またカウント値が1万を越
えていなければカウント数が5千を越えるかどうかをC
PU8が判別しくステップ(ト))、越えていたらVB
Hの容量を64KBと算出する(ステップ(イ))、越
えていなけれ一78Bの容量を48 KBと算出する(
ステップ(す))、以上のようにして算出されたVBB
に従ってCPU8はVBB容量設定部11を側副しVB
B容量の設定を行う(ステツブシ))、次にVBHに対
して印字イメージデータの展開を開始しくステップQ→
)、VBBに対して可能な容量の印字イメージデータの
展開が終了したか、つまり初期展開終了か否かの判定を
行い(ステップ(ヲ))、終了していなければ終了する
まで待ち、終了していれば印字を開始する(ステップ(
ワ))。ステップ(ワ)の印字動作については従来例で
述べたとおりである。本実施例によれば1ページ分のデ
ータ量が多い時にはVBBの容量を大きくし、印字開始
までにVBBに印字可能なデータ展開を行っておく初期
展開の量を多くしてオーバーランエラーの発生を抑制す
ることができ、1ページ分のデータ量が少ない時にはV
BBの容量を小さくしてRAMをVBB以外の用途に多
く使えるようにすることによりRAMの有効利用が図れ
るという大きな効果を得ることができる。
If completed, the CPU 8 determines whether the count value by the data number counter exceeds 10,000 (step (e)); if it does, calculates the capacity of the VBB as 128 KB (step (e)); Also, if the count value does not exceed 10,000, check whether the count exceeds 5,000.
If PU8 is clearly a step (g)), then VB
Calculate the capacity of H as 64KB (step (a)), and if it is not exceeded, calculate the capacity of 78B as 48KB (
Step (su)), VBB calculated as above
Accordingly, the CPU 8 assists the VBB capacity setting section 11 and sets the VBB capacity.
Set the B capacity (Steps)), then start developing print image data for VBH. Step Q →
), it is determined whether the printing image data has been expanded to the capacity that is possible for the VBB, that is, whether the initial expansion has been completed (step (wo)), and if it has not been completed, it is waited until it is completed, and then If so, start printing (step (
Wa)). The printing operation in step (W) is as described in the conventional example. According to this embodiment, when the amount of data for one page is large, the capacity of the VBB is increased, and the data that can be printed on the VBB is developed before printing starts.The amount of initial development is increased, and an overrun error occurs. When the amount of data for one page is small, V
By reducing the capacity of the BB so that the RAM can be used for purposes other than VBB, a great effect can be obtained in that the RAM can be used more effectively.

発明の効果 本発明は入力されるデータの量に応じてVBBの容量を
変化させる手段を設けたことにより、そのデータ量が多
い時にはVBBの容量を増加してVBBへの初期展開量
を増やし、オーバーランエラーの発生の頻度を少くする
ことができるという効果を奏し、また前記データ量が少
い時にはVBBの容量を減らして、この減らした分のメ
モリ容量を他の用途に使用することができ、メモリの有
効利用が図れるという効果も奏し、大変有効なるもので
ある。
Effects of the Invention The present invention provides a means for changing the capacity of the VBB according to the amount of input data, so that when the amount of data is large, the capacity of the VBB is increased to increase the initial amount of expansion to the VBB. This has the effect of reducing the frequency of overrun errors, and when the amount of data is small, the VBB capacity can be reduced and the reduced memory capacity can be used for other purposes. This is very effective as it also has the effect of making effective use of memory.

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

第1図は本発明の実施例の構成を示す構成図、第2図は
実際の回路構成を示す構成図、第3図は動作を示すフロ
ーチャート、第4図は従来例の構成を示す構成図、第6
図はVBB上への文字データの展開を示す説明図、第6
図はVBB上への文字データの展開と印字との関係を示
す説明図である。 1・・・・・・インターフェース部、2・・・・・・テ
キスト作成部、3・・・・・・展開部、4・・・・・・
VBB部、5・・・・・・印字部、6・・・・・・デー
タ量判別部、7・・・・・・VBB量設定部。 代理人の氏名 弁理士 粟 野 重 孝 ほか1名高 
1 図 1112  図 第 図 グ 第 図
Fig. 1 is a block diagram showing the structure of an embodiment of the present invention, Fig. 2 is a block diagram showing the actual circuit structure, Fig. 3 is a flow chart showing the operation, and Fig. 4 is a block diagram showing the structure of a conventional example. , 6th
The figure is an explanatory diagram showing the development of character data on VBB, No. 6
The figure is an explanatory diagram showing the relationship between development of character data on VBB and printing. 1...Interface part, 2...Text creation part, 3...Development part, 4...
VBB section, 5...Printing section, 6...Data amount determining section, 7...VBB amount setting section. Name of agent: Patent attorney Shigetaka Awano and 1 other person
1 Figure 1112

Claims (1)

【特許請求の範囲】[Claims] 文字コード等のデータを少くとも1ページ分格納する第
1の領域とこの文字コード等のデータに対応した印字イ
メージデータを格納する第2の領域を備えた記憶手段と
、入力されるデータに基づき前記第1の領域にテキスト
データを作成し格納するテキスト作成部と、この第1の
領域に格納されたテキストデータに対応する印字イメー
ジデータを作成して前記第2の領域に格納するイメージ
展開手段と、前記第2の領域より印字イメージデータを
取り出して印字を行う印字手段と、入力されそして前記
第1の領域に格納されるデータの量に応じて前記記憶手
段内に占める前記第1の領域の容量を増減させる容量設
定手段を備えたことを特徴とする印字装置。
a storage means comprising a first area for storing at least one page of data such as a character code and a second area for storing print image data corresponding to the data such as the character code; a text creation unit that creates and stores text data in the first area; and an image development unit that creates print image data corresponding to the text data stored in the first area and stores it in the second area. a printing means for extracting print image data from the second area and printing it; and the first area occupied in the storage means according to the amount of data inputted and stored in the first area. A printing device characterized by comprising a capacity setting means for increasing or decreasing the capacity of the printer.
JP63224225A 1988-09-07 1988-09-07 Printing device Expired - Fee Related JP2687478B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63224225A JP2687478B2 (en) 1988-09-07 1988-09-07 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63224225A JP2687478B2 (en) 1988-09-07 1988-09-07 Printing device

Publications (2)

Publication Number Publication Date
JPH0272980A true JPH0272980A (en) 1990-03-13
JP2687478B2 JP2687478B2 (en) 1997-12-08

Family

ID=16810468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63224225A Expired - Fee Related JP2687478B2 (en) 1988-09-07 1988-09-07 Printing device

Country Status (1)

Country Link
JP (1) JP2687478B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0615932A (en) * 1992-01-17 1994-01-25 Mita Ind Co Ltd Printer

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6288025A (en) * 1985-10-15 1987-04-22 Oki Electric Ind Co Ltd Receiving buffer memory control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6288025A (en) * 1985-10-15 1987-04-22 Oki Electric Ind Co Ltd Receiving buffer memory control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0615932A (en) * 1992-01-17 1994-01-25 Mita Ind Co Ltd Printer

Also Published As

Publication number Publication date
JP2687478B2 (en) 1997-12-08

Similar Documents

Publication Publication Date Title
JPH10124268A (en) Printing control device
JP2755308B2 (en) Output method and device
JP2687478B2 (en) Printing device
EP0105340A1 (en) Page printing system
JPS6145325A (en) Printer
JPS63182150A (en) Laser printer control device
JPH0863308A (en) Image processing device
JP3012988B2 (en) Image memory controller
JP4144169B2 (en) Printer
JP2737883B2 (en) Output control device
JPH03114856A (en) Printer data management system
JP2647510B2 (en) Character processing apparatus and method
JPH07106649B2 (en) output method
JPS5887622A (en) printer control device
JPH02286382A (en) printing device
JPH04220364A (en) Printing starting system of printer
JPH06149735A (en) Data reception controller
JPH04336261A (en) Page printer
JPH06274143A (en) Character generating device
JPH1016321A (en) Image processing device
JPH05150916A (en) Printer
JP2001352442A (en) Image processing device
JPH051491B2 (en)
JPH0378020A (en) Information processor
JPH04151270A (en) Image supply device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees