JP2522600B2 - Printer - Google Patents

Printer

Info

Publication number
JP2522600B2
JP2522600B2 JP2305307A JP30530790A JP2522600B2 JP 2522600 B2 JP2522600 B2 JP 2522600B2 JP 2305307 A JP2305307 A JP 2305307A JP 30530790 A JP30530790 A JP 30530790A JP 2522600 B2 JP2522600 B2 JP 2522600B2
Authority
JP
Japan
Prior art keywords
format
data
frame buffer
format data
print
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 - Fee Related
Application number
JP2305307A
Other languages
Japanese (ja)
Other versions
JPH04176677A (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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2305307A priority Critical patent/JP2522600B2/en
Publication of JPH04176677A publication Critical patent/JPH04176677A/en
Application granted granted Critical
Publication of JP2522600B2 publication Critical patent/JP2522600B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、例えば物流管理等を行うラベルプリンタ
やPOS(ポイント・オブ・セールス)端末等に使用され
るプリンタに関する。
Description: TECHNICAL FIELD The present invention relates to a printer used for a label printer or a POS (Point of Sales) terminal for physical distribution management, for example.

[従来の技術] 従来、プリンタ例えばホストコンピュータからフォー
マットデータ及びフォーマットデータに基づいて印字す
るデータを受信し、フォーマットデータをフレームバッ
ファに描画展開するとともにその描画されたフォーマッ
トデータに印字するデータを合成した後印字出力してラ
ベル発行するラベルプリンタにおいては、ホストコンピ
ュータからのクリアコマンドによりフレームバッファを
一旦クリアした後にホストコンピュータから改めてフォ
ーマットデータを受信してフレームバッファに描画展開
した後、さらにフォーマットデータに基づいて印字する
データを受信してフレームバッファに描画展開されたフ
ォーマットデータに合成展開した後フレームバッファか
らデータを呼出してラベルに印字出力するようになって
いた。
[Prior Art] Conventionally, a printer, for example, a host computer receives format data and data to be printed based on the format data, draws and develops the format data in a frame buffer, and synthesizes the data to be printed with the drawn format data. In a label printer that prints and prints a label afterwards, the frame buffer is cleared once by a clear command from the host computer, the format data is received again from the host computer, and the data is drawn and expanded in the frame buffer. It receives data to be printed and synthesizes it with the format data that is rendered and expanded in the frame buffer, then calls the data from the frame buffer and prints it on the label. .

[発明が解決しようとする課題] ところでラベル印字する場合、フォーマットを変更せ
ずにそのフォーマットに基づいて印字するデータのみを
変更する場合が間々ある。
[Problems to be Solved by the Invention] By the way, when a label is printed, there are cases where only the data to be printed is changed based on the format without changing the format.

しかし従来はホストコンピュータからのクリアコマン
ドによりフレームバッファをクリアした後にそのホスト
コンピュータから改めてフォーマットデータ及びフォー
マットデータに基づいて印字するデータを受信してフレ
ームバッファに描画展開するため、ホストコンピュータ
から同一の印字フォーマットを何度も送信しなければな
らず、またプリンタ側では同一の印字フォーマットを何
度も受信してフレームバッファに描画展開しなければな
らず、作業性及び効率が悪いという問題があった。
However, conventionally, after clearing the frame buffer with a clear command from the host computer, the host computer receives new format data and data to be printed based on the format data and draws and develops in the frame buffer. The format must be transmitted many times, and the printer must repeatedly receive the same print format and draw and develop it in the frame buffer, resulting in poor workability and efficiency.

また、事情によって印字フォーマットのみをラベルに
印字したい場合あるが、このような場合従来ではその都
度ホストコンピュータからフォーマットデータのみを送
信しなければならずこの点においても作業性が悪い問題
があった。
Further, depending on the circumstances, it may be desired to print only the print format on the label, but in such a case, conventionally, only the format data must be transmitted from the host computer each time, and there is also a problem in workability in this respect as well.

そこでこの発明は、同一のフォーマットデータについ
ては1度セットすればよく、しかもフォーマットのみの
印字が簡単な操作により実現でき、従って作業性及び効
率を向上できるプリンタを提供しようとするものであ
る。
Therefore, the present invention aims to provide a printer in which the same format data only needs to be set once, and printing of only the format can be realized by a simple operation, thus improving workability and efficiency.

[課題を解決するための手段] この発明は、フォーマットデータ及びフォーマットに
基づいて印字する印字データをフレームバッファに描画
展開した後印字出力するプリンタにおいて、フォーマッ
トデータを描画保持するフォーマット描画保持手段と、
印字用紙をフィードさせるためのフィードキーと、クリ
アコマンドに基づくフレームバッファのクリア時フォー
マット描画保持手段に描画保持されているフォーマット
データをフレームバッファにコピーする手段と、フィー
ドキーの操作時フレームバッファにコピーされたフォー
マットデータを印字出力させる手段とを設けたものであ
る。
[Means for Solving the Problem] The present invention relates to a format drawing holding unit for drawing and holding format data in a printer that draws and outputs format data and print data to be printed based on the format after drawing and developing in a frame buffer,
A feed key for feeding the print paper, a means for copying the format data drawn and held in the format drawing holding means when clearing the frame buffer based on the clear command, and a means for copying to the frame buffer when the feed key is operated And a means for printing and outputting the formatted data.

[作用] このような構成の本発明においては、フォーマットデ
ータ及びフォーマットに基づいて印字する印字データが
入力されるとそのデータをフレームバッファに描画展開
するが、このときフォーマットデータについてはフォー
マット描画保持手段にも描画展開する。
[Operation] In the present invention having such a configuration, when the format data and the print data to be printed based on the format are input, the data is drawn and developed in the frame buffer. At this time, the format drawing holding means for the format data is used. Also draw and expand.

そしてフォーマットデータに変更が無ければクリアコ
マンドによりフレームバッファをクリアしたときフォー
マット描画保持手段に描画保持されているフォーマット
データをフレームバッファにコピーする。
If there is no change in the format data, when the frame buffer is cleared by the clear command, the format data held by the format drawing holding means is copied to the frame buffer.

従って以降は印字データのみを入力してその印字デー
タをすでにフォーマットデータが描画されているフレー
ムバッファに描画合成すればよい。
Therefore, after that, only the print data may be input and the print data may be drawn and synthesized in the frame buffer in which the format data is already drawn.

また、フィードキーを操作するとフレームバッファに
コピーされたフォーマットデータを印字出力させる。
When the feed key is operated, the format data copied in the frame buffer is printed out.

[実施例] 以下この発明の一実施例を図面を参照して説明する。[Embodiment] An embodiment of the present invention will be described below with reference to the drawings.

第1図において、1は制御部本体を構成するCPU(中
央演算処理装置)で、このCPU1はシステムバス2を介し
てこのCPU1が行う各種処理のプログラムデータが記憶さ
れたROM(リード・オンリー・メモリ)3、このCPU1が
使用する各種メモリを形成したRAM(ランダム・アクセ
ス・メモリ)4、ホストコンピュータと回線で接続され
通信制御を行う通信I/F(インターフェイス)5、キー
ボード6を制御するキーボード制御部7およびI/O(イ
ンプット・アウトプット・インターフェイス)部8と接
続されている。
In FIG. 1, reference numeral 1 is a CPU (central processing unit) that constitutes the main body of the control unit, and this CPU 1 is a ROM (read only memory) that stores program data for various processes performed by this CPU 1 via a system bus 2. Memory) 3, RAM (random access memory) 4 that forms various memories used by this CPU 1, communication I / F (interface) 5 that is connected to the host computer by a line and controls communication, and keyboard 6 that controls the keyboard 6. It is connected to a control unit 7 and an I / O (input / output interface) unit 8.

前記RAM4内には、例えば第2図に示すように、フレー
ムバッファ4aおよびフォーマット描画保持手段としての
プロテクトメモリ4bが形成されている。
In the RAM 4, for example, as shown in FIG. 2, a frame buffer 4a and a protect memory 4b as a format drawing holding means are formed.

前記フレームバッファ4aおよびプロテクトメモリ4bに
は、データがドットパターン形式で記憶され、また前記
プロテクトメモリ4bはフレームバッファ4aがホストコン
ピュータからのクリアコマンドによりクリアされるとき
でもクリアされないようになっている。
Data is stored in a dot pattern format in the frame buffer 4a and the protect memory 4b, and the protect memory 4b is not cleared even when the frame buffer 4a is cleared by a clear command from the host computer.

前記キーボード6には、フィードキー等が備えられて
いる。
The keyboard 6 is provided with feed keys and the like.

前記I/O部8には印字手段を構成する、センサー9、
サーマルヘッド10を制御するサーマルヘッド制御部11お
よびステッピングモータ12を制御するステッピングモー
タ制御部13が接続されている。
The I / O unit 8 includes a sensor 9, which constitutes a printing unit,
A thermal head control unit 11 that controls the thermal head 10 and a stepping motor control unit 13 that controls the stepping motor 12 are connected.

第3図は、前記CPU1が行う印字の処理を示す流れ図で
ある。
FIG. 3 is a flow chart showing a printing process performed by the CPU 1.

すなわち前記プロテクトメモリ4bにフォーマットデー
タが描画展開されている状態で、前記ホストコンピュー
タからの通信I/F5を介してクリアコマンドを受信する
と、前記フレームバッファ4aをクリアする。そして前記
プロテクトメモリ4bからフォーマットデータを呼出し前
記フレームバッファ4aにコピーする。すなわちこの時点
では第5図に示すようにフレームバッファ4aにもプロテ
クトメモリ4bと同じフォーマットデータが描画展開され
ることになる。
That is, when the clear command is received from the host computer via the communication I / F 5 while the format data is drawn and expanded in the protect memory 4b, the frame buffer 4a is cleared. Then, the format data is called from the protect memory 4b and copied to the frame buffer 4a. That is, at this point, as shown in FIG. 5, the same format data as in the protect memory 4b is drawn and developed in the frame buffer 4a.

次にホストコンピュータから通信I/F5を介してフォー
マットに基づいて印字するデータを受信すると、前記フ
レームバッファ4aにおいて、その印字データをドット構
成に展開したドットデータとして先に展開されたフォー
マットデータと合成させる。
Next, when data to be printed based on the format is received from the host computer via the communication I / F 5, in the frame buffer 4a, the print data is combined with the previously expanded format data as dot data expanded into a dot configuration. Let

続いて前記フレームバッファ4aにおいて合成されたド
ットデータに基づいて、前記サーマルヘッド制御部11お
よび前記ステッピングモータ制御部13を駆動させ、前記
サーマルヘッド10および前記ステッピングモータ12を制
御して印字出力させる。
Then, based on the dot data combined in the frame buffer 4a, the thermal head control unit 11 and the stepping motor control unit 13 are driven, and the thermal head 10 and the stepping motor 12 are controlled to print out.

第4図は、前記CPU1が行うフォーマットのみの印字処
理を示す流れ図である。
FIG. 4 is a flow chart showing the print processing of only the format performed by the CPU 1.

すなわち前記キーボード6のフィードキーをONする
と、前記フレームバッファ4aをクリアする。
That is, when the feed key of the keyboard 6 is turned on, the frame buffer 4a is cleared.

そして前記プロテクトメモリ4bからフォーマットデー
タを前記フレームバッファ4aにコピーする。続いてこの
コピーされたフォーマットデータを呼出して前記サーマ
ルヘッド制御部11および前記ステッピングモータ制御部
13を駆動させ、前記サーマルヘッド10および前記ステッ
ピングモータ12を制御して印字出力させる。
Then, the format data is copied from the protect memory 4b to the frame buffer 4a. Then, the copied format data is called to call the thermal head controller 11 and the stepping motor controller.
13 is driven to control the thermal head 10 and the stepping motor 12 to print out.

このような構成の実施例においては、最初においては
ホストコンピュータからフォーマットデータが送信され
ると、そのフォーマットデータをドット構成に展開して
フレームバッファ4aおよびプロテクトメモリ4bの両方に
描画する。
In the embodiment having such a configuration, when the format data is first transmitted from the host computer, the format data is developed into a dot configuration and drawn in both the frame buffer 4a and the protect memory 4b.

続いてホストコンピュータからフォーマットに基づい
て印字するデータを受信すると、フレームバッファ4aに
おいてその印字データをフォーマットデータと合成させ
る。
Subsequently, when data to be printed based on the format is received from the host computer, the print data is combined with the format data in the frame buffer 4a.

そしてサーマルヘッド制御部11およびステッピングモ
ータ制御部13を駆動させ、サーマルヘッド10およびステ
ッピングモータ12を制御して例えばラベルに印字出力さ
せる。
Then, the thermal head control unit 11 and the stepping motor control unit 13 are driven to control the thermal head 10 and the stepping motor 12 to print out on, for example, a label.

次にフォーマットを変えずに印字データのみを変更す
る場合には、ホストコンピュータからクリアコマンドを
受信すると、フレームバッファ4aのみをクリアする。そ
してプロテクトメモリ4bからフォーマットデータを呼出
してフレームバッファ4aにコピーする。
Next, when changing only the print data without changing the format, when the clear command is received from the host computer, only the frame buffer 4a is cleared. Then, the format data is called from the protect memory 4b and copied to the frame buffer 4a.

この状態でホストコンピュータは印字データのみを送
信する。プリンタ側ではこの印字データを受信すると、
ドットデータとしてフレームバッファ4aにすでに描画さ
れているフォーマットデータに重ねて描画する。
In this state, the host computer sends only print data. When the printer receives this print data,
The dot data is drawn on top of the format data already drawn in the frame buffer 4a.

そしてフレームバッファ4aからデータを読み出しサー
マルヘッド制御部11およびステッピングモータ制御部13
を駆動させ、サーマルヘッド10およびステッピングモー
タ12を制御して印字出力させる。
Then, the data is read from the frame buffer 4a and the thermal head controller 11 and the stepping motor controller 13 are read.
Is driven to control the thermal head 10 and the stepping motor 12 to print out.

このようにホストコンピュータはフォーマットデータ
については1度送信すればその後は、変更する印字デー
タのみを送信するだけでよく、作業性を向上できる。ま
たプリンタ側においても印字データが変更される都度ホ
ストコンピュータからフォーマットデータを受信してフ
レームバッファ4aに描画する必要はなく効率の向上を図
ることができる。
As described above, the host computer only needs to send the format data once, and thereafter, only the print data to be changed is sent, which improves the workability. Further, it is not necessary for the printer side to receive the format data from the host computer every time the print data is changed and draw it in the frame buffer 4a, so that the efficiency can be improved.

また、フォーマットのみを印字したいときにはキーボ
ード6上のフィードキーを操作する。これによりフレー
ムバッファ4aがクリアされ、プロテクトメモリ4bからフ
ォーマットデータがフレームバッファ4aにコピーされ、
さらに印字出力される。
When it is desired to print only the format, the feed key on the keyboard 6 is operated. As a result, the frame buffer 4a is cleared, the format data is copied from the protected memory 4b to the frame buffer 4a,
Further, it is printed out.

このようにフォーマットだけを印字したい場合に、ホ
ストコンピュータからその都度フォーマットデータを送
信する必要がなく、単にフィードキーを操作するのみで
よく、この点においても作業性を向上できる。
In this way, when it is desired to print only the format, it is not necessary to send the format data from the host computer each time, and it is only necessary to operate the feed key, which also improves workability.

なお、前記実施例ではホストコンピュータからフォー
マットデータや印字データを受信して印字するようにし
たが必ずしもこれに限定されるものではなく、キーボー
ドからフォーマットデータや印字データを入力してもよ
い。
In the above embodiment, the format data and the print data are received from the host computer and printed. However, the present invention is not limited to this, and the format data and the print data may be input from the keyboard.

[発明の効果] 以上詳述したようにこの発明によれば、同一のフォー
マットデータについては1度セットすればよく、しか
も、フォーマットのみの印字が簡単な操作により実現で
き、従って作業性及び効率を向上できるプリンタを提供
できるものである。
[Effects of the Invention] As described in detail above, according to the present invention, the same format data only needs to be set once, and moreover, only the format can be printed by a simple operation, thus improving workability and efficiency. It is possible to provide an improved printer.

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

図はこの発明の一実施例を示すもので、第1図はブロッ
ク図、第2図はRAMの主なメモリ構成を示す図、第3図
はCPUによる印字処理を示す流れ図、第4図はCPUによる
フォーマットのみの印字処理を示す流れ図、第5図はコ
ピー後のメモリの描画状態を示す図である。 1…CPU、4a…フレームバッファ、4b…プロテクトメモ
リ、6…キーボード、10…サーマルヘッド。
FIG. 1 shows an embodiment of the present invention. FIG. 1 is a block diagram, FIG. 2 is a diagram showing a main memory configuration of a RAM, FIG. 3 is a flow chart showing a printing process by a CPU, and FIG. FIG. 5 is a flow chart showing the print processing of only the format by the CPU, and FIG. 1 ... CPU, 4a ... Frame buffer, 4b ... Protect memory, 6 ... Keyboard, 10 ... Thermal head.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】フォーマットデータ及びフォーマットに基
づいて印字する印字データをフレームバッファに描画展
開した後印字出力するプリンタにおいて、 前記フォーマットデータを描画保持するフォーマット描
画保持手段と、 印字用紙をフィードさせるためのフィードキーと、 クリアコマンドに基づく前記フレームバッファのクリア
時前記フォーマット描画保持手段に描画保持されている
フォーマットデータを前記フレームバッファにコピーす
る手段と、 前記フィードキーの操作時前記フレームバッファにコピ
ーされたフォーマットデータを印字出力させる手段と を設けたことを特徴とするプリンタ。
1. A printer that draws and outputs format data and print data to be printed based on the format in a frame buffer and then prints it out, and format drawing holding means for drawing and holding the format data, and feeding a print sheet. A feed key, a means for copying the format data drawn and held in the format drawing holding means to the frame buffer when the frame buffer is cleared based on a clear command, and a means for copying the format data to the frame buffer when the feed key is operated A printer provided with means for printing out format data.
JP2305307A 1990-11-09 1990-11-09 Printer Expired - Fee Related JP2522600B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2305307A JP2522600B2 (en) 1990-11-09 1990-11-09 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2305307A JP2522600B2 (en) 1990-11-09 1990-11-09 Printer

Publications (2)

Publication Number Publication Date
JPH04176677A JPH04176677A (en) 1992-06-24
JP2522600B2 true JP2522600B2 (en) 1996-08-07

Family

ID=17943527

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2305307A Expired - Fee Related JP2522600B2 (en) 1990-11-09 1990-11-09 Printer

Country Status (1)

Country Link
JP (1) JP2522600B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07256944A (en) * 1994-03-17 1995-10-09 Tec Corp Printer

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5936849A (en) * 1982-08-26 1984-02-29 Toshiba Corp Method for controlling overlay of form
JPS5941054A (en) * 1982-08-31 1984-03-07 Toshiba Corp Method for controlling page printer
JPS59139432A (en) * 1982-12-29 1984-08-10 Fujitsu Ltd Expansion system of form overlay and data

Also Published As

Publication number Publication date
JPH04176677A (en) 1992-06-24

Similar Documents

Publication Publication Date Title
JP2522600B2 (en) Printer
JPH06286229A (en) Printer
JPH07182565A (en) Method for controlling print of receipt in pos terminal
JPS6145325A (en) Printer
JP2806680B2 (en) Printer device
JPS59201870A (en) Printer
JPH0818448B2 (en) Page printer
JP2001229002A (en) Printer system
JPS63137856A (en) Processing system for printing ruled line
JP2949087B2 (en) Page printer
JPH0421478A (en) Data printing control system
JP2001094767A (en) Output device with magnification and reduction function of print data
JPH0793076A (en) Printer device
JP2977132B2 (en) Printer
JPH06251011A (en) Document preparing device and printing control method
JPH1115612A (en) Printer control system
JPH06183074A (en) Character processing device
JPH1158858A (en) Printer system, method for controlling operation of printer, and recording medium
JPH02249021A (en) Printing control system
JPS6166464A (en) Facsimile transmitting equipment
JPH06168239A (en) Document preparing device
JPH111048A (en) Printing control method and printing apparatus
JPH11249856A (en) Printer system
JPH05309883A (en) Printing device
JPH055474U (en) Printer device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080531

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090531

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100531

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees