JPH05193201A - Printer - Google Patents

Printer

Info

Publication number
JPH05193201A
JPH05193201A JP1022392A JP1022392A JPH05193201A JP H05193201 A JPH05193201 A JP H05193201A JP 1022392 A JP1022392 A JP 1022392A JP 1022392 A JP1022392 A JP 1022392A JP H05193201 A JPH05193201 A JP H05193201A
Authority
JP
Japan
Prior art keywords
printing
data
command
drawing memory
image drawing
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
JP1022392A
Other languages
Japanese (ja)
Inventor
Makoto Mori
誠 森
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 TEC Corp
Original Assignee
Tokyo 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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP1022392A priority Critical patent/JPH05193201A/en
Publication of JPH05193201A publication Critical patent/JPH05193201A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To omit an image drawing memory clear processing by providing a means in which printing data inputted by a printing data input means is developed to a dot image and stored in an image drawing memory without conducting a data processing. CONSTITUTION:Whether a printing data command is received is identified. If a printing data command is received, printing data, such as characters, bar codes, lines, and patterns, is developed to a dot image and stored in an image drawing memory. Next, data representing an image drawing completion is written in an image drawing completion flag provided in a RAM. A printer is brought to a standby state until data representing a printing completion is written in a printing completion status provided in the RAM. After the data representing a printing completion is written in the printing completion status, the data stored in the image drawing memory is cleared. After the data in the image drawing memory is completely cleared, the image drawing completion flag is cleared, and this image drawing processing is finished.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、描画メモリに記憶さ
れたドットイメージに基づいて印字を行うプリンタに関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer which prints based on a dot image stored in a drawing memory.

【0002】[0002]

【従来の技術】従来のプリンタにおいては、例えば、図
5に示すようなタイミングにしたがって印字が行われ
た。すなわち、まず図5(a)の受信コマンドのタイミ
ングにおいて、ホストコンピュータ又はキーボード等か
ら印字するためのコマンドが入力される。この印字する
ためのコマンドは、描画メモリのクリアコマンドA、印
字データコマンドB、印字命令コマンドCからなり、最
初の描画メモリのクリアコマンドAにより、描画メモリ
にすでに記憶されているデータが消去され、続いて供給
される印字データコマンドBに含まれる印字データを展
開したドットイメージを記憶させるエリアが確保され
る。次の印字データコマンドBに含まれる印字データは
ドットイメージに展開され、その描画メモリに記憶させ
られる。最後の印字命令コマンドCにより、印字処理の
動作開始が指示される。
2. Description of the Related Art In a conventional printer, printing is performed in accordance with the timing shown in FIG. That is, first, at the timing of the received command in FIG. 5A, a command for printing is input from the host computer, the keyboard, or the like. The command for printing includes a clear command A for the drawing memory, a print data command B, and a print command command C. The first clear command A for the drawing memory erases the data already stored in the drawing memory. An area for storing the dot image in which the print data included in the print data command B to be subsequently supplied is expanded is secured. The print data included in the next print data command B is developed into a dot image and stored in the drawing memory. The last print command command C gives an instruction to start the printing process.

【0003】図5(b)の描画処理のタイミングにおい
て、描画メモリのクリアコマンドAにより、描画メモリ
に記憶されているデータを消去するクリア処理Dが行わ
れる。このクリア処理Dが終了すると、印字データコマ
ンドBにより、その印字データコマンドBの印字データ
をドットイメージに展開し、その展開したドットイメー
ジを描画メモリに記憶させる描画処理Eが行われる。
At the timing of the drawing process of FIG. 5B, a clear process D for erasing the data stored in the drawing memory is performed by a clear command A of the drawing memory. When the clearing process D is completed, the print data command B causes the print data of the print data command B to be expanded into a dot image, and the drawing process E in which the expanded dot image is stored in the drawing memory is performed.

【0004】図5(c)の印字処理のタイミングにおい
て、描画処理における描画処理Eが終了すると、描画メ
モリに記憶されたドットイメージに基づいて用紙に印字
を行う印字動作Fが行われる。この印字動作Fが終了す
ると、印字された用紙を装置外に排出する排出動作Gが
行われる。
At the timing of the printing process of FIG. 5C, when the drawing process E in the drawing process is completed, the printing operation F for printing on the paper is performed based on the dot image stored in the drawing memory. When the printing operation F is completed, a discharging operation G for discharging the printed paper to the outside of the apparatus is performed.

【0005】[0005]

【発明が解決しようとする課題】前述したように、従来
のプリンタにおいては、印字情報をドットイメージに展
開して描画メモリに記憶させる前に、描画メモリに記憶
されているデータを消去するクリア処理Dが行われてい
た。従って、印字発行の指示を装置に対して与えてから
描画メモリのクリア処理を行う時間とその印字情報をド
ットイメージに展開して描画メモリに記憶させる描画処
理を行う時間とを加えた時間が描画時間として必要にな
っていたという問題があった。
As described above, in the conventional printer, the clear processing for deleting the data stored in the drawing memory before the print information is expanded into the dot image and stored in the drawing memory. D was taking place. Therefore, the drawing time is the sum of the time to clear the drawing memory after giving the print issuance instruction to the device and the time to execute the drawing process to expand the print information into a dot image and store it in the drawing memory. There was a problem that it was needed as time.

【0006】そこでこの発明は、描画メモリにドットイ
メージを記憶させる前に行う描画メモリのクリア処理を
省略することができ、従って描画時間の短縮を図る事が
でき全体の処理速度をより高速化できるプリンタを提供
することを目的とする。
Therefore, according to the present invention, the clearing process of the drawing memory before storing the dot image in the drawing memory can be omitted, so that the drawing time can be shortened and the overall processing speed can be further increased. The purpose is to provide a printer.

【0007】[0007]

【課題を解決するための手段】この発明は、印字手段
と、ドットイメージを記憶する描画メモリと、印字デー
タを入力する印字データ入力手段と、前記描画メモリに
記憶されているデータを消去する処理を行わずに、印字
データ入力手段により入力された印字データをドットイ
メージに展開して描画メモリに記憶させる描画制御手段
と、描画メモリに記憶されたドットイメージに基づいて
印字手段により所定の用紙に印字を行う印字制御手段
と、この印字制御手段による印字の終了後、印字に使用
された描画メモリに記憶されているドットイメージを消
去する印字済ドットイメージ消去手段とを設けたもので
ある。
According to the present invention, there is provided a printing means, a drawing memory for storing a dot image, a print data inputting means for inputting print data, and a process for erasing data stored in the drawing memory. Without performing the above, the drawing control means for expanding the print data input by the print data input means into a dot image and storing it in the drawing memory, and the printing means for printing a predetermined paper on the predetermined paper based on the dot image stored in the drawing memory. A print control unit for performing printing and a printed dot image erasing unit for erasing the dot image stored in the drawing memory used for printing after the printing by the print control unit is completed are provided.

【0008】[0008]

【作用】このような構成の本発明において、印字データ
入力手段により印字データが入力され、描画制御手段に
より、描画メモリに記憶されているデータを消去する処
理を行わずに、印字データ入力手段により入力された印
字データがドットイメージに展開されて描画メモリに記
憶される。
In the present invention having such a structure, the print data is input by the print data input means, and the drawing control means does not perform the process of erasing the data stored in the drawing memory. The input print data is expanded into a dot image and stored in the drawing memory.

【0009】印字制御手段により、描画メモリに記憶さ
れたドットイメージに基づいて所定の用紙に印字が行わ
れ、この印字の終了後、印字済みドットイメージ消去手
段により印字に使用された描画メモリに記憶されている
ドットイメージが消去される。
The printing control means prints on a predetermined paper on the basis of the dot image stored in the drawing memory, and after completion of this printing, the printed dot image erasing means stores it in the drawing memory used for printing. The dot image that has been erased is erased.

【0010】[0010]

【実施例】以下、この発明の一実施例を図面を参照して
説明する。なおこの実施例はこの発明をラベル又はタグ
等を1枚ずつ印字発行するラベルプリンタに適用したも
ので、図1において、1は制御部本体を構成するCPU
(central processingunit)である。このCPU1が行
う処理のプログラムデータが記憶されたROM(read o
nly memory)2及び前記CPU1が処理を行うときに使
用する各種メモリのエリアが形成されたRAM(random
access memory)3はシステムバス4を介して前記CP
U1と接続されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. In this embodiment, the present invention is applied to a label printer that prints and issues labels or tags one by one. In FIG. 1, reference numeral 1 is a CPU constituting a control unit main body.
(Central processing unit). A ROM (read o) in which program data for processing performed by the CPU 1 is stored
RAM (random memory) in which areas of various memories used when the CPU 2 and the CPU 1 perform processing are formed.
access memory 3 is connected to the CP via the system bus 4.
It is connected to U1.

【0011】また各種入力操作が行われるキーボード5
を制御するキーボードコントローラ6及び印字データ入
力手段としてのホストコンピュータ7と回線を介して接
続された通信インターフェイス8も、前記システムバス
4を介して前記CPU1と接続されている。なお、前記
通信インターフェイス8は、前記CPU1により制御さ
れて前記ホストコンピュータ7からの送信データを受信
し、受信した送信データを印字データコマンド及び印字
命令コマンド等の機能別コマンドとして解析する。
A keyboard 5 on which various input operations are performed
A communication interface 8 connected via a line to a keyboard controller 6 for controlling the computer and a host computer 7 as a print data input means is also connected to the CPU 1 via the system bus 4. The communication interface 8 is controlled by the CPU 1 to receive the transmission data from the host computer 7, and analyzes the received transmission data as a function-based command such as a print data command and a print command command.

【0012】さらに、描画メモリ9に対して描画処理を
行う描画コントローラ10、印字手段としての印字ヘッ
ド11を駆動するヘッドドライバ12、用紙を前記印字
ヘッド11に供給するためのフィードモータ13及びイ
ンクリボンを印字ヘッドに供給するためのリボンモータ
14を駆動するモータドライバ15もまた、前記システ
ムバス4を介して前記CPU1と接続されている。
Further, a drawing controller 10 for carrying out drawing processing on the drawing memory 9, a head driver 12 for driving a print head 11 as a printing means, a feed motor 13 for supplying paper to the print head 11, and an ink ribbon. The motor driver 15 for driving the ribbon motor 14 for supplying the print head to the print head is also connected to the CPU 1 via the system bus 4.

【0013】前記CPU1により制御されて前記通信イ
ンターフェイス8が解析した印字データコマンドが、前
記描画コントローラ10に入力されたときに、この描画
コントローラ10が行う描画処理の流れを図2に示す。
FIG. 2 shows the flow of drawing processing performed by the drawing controller 10 when the print data command controlled by the CPU 1 and analyzed by the communication interface 8 is input to the drawing controller 10.

【0014】図2においてまず、印字データコマンドが
受信されたか否かを確認して、印字データコマンドが受
信されたならば文字、バーコード、ライン、模様等の印
字データをドットイメージに展開し、このドットイメー
ジを描画メモリ9に記憶させる。(描画制御手段)
In FIG. 2, first, it is confirmed whether or not a print data command is received, and if the print data command is received, the print data such as characters, bar codes, lines and patterns is developed into a dot image, This dot image is stored in the drawing memory 9. (Drawing control means)

【0015】そのドットイメージを描画メモリ9に記憶
させると、RAM3に形成された描画完了フラグに描画
完了を示すデータを書込むと共にRAM3に形成された
印字終了ステータスをクリア処理して、その印字終了ス
テータスに印字終了を示すデータが書込まれるまでの待
機状態となる。
When the dot image is stored in the drawing memory 9, data indicating the completion of drawing is written in the drawing completion flag formed in the RAM 3 and the print end status formed in the RAM 3 is cleared to complete the print. A standby state is entered until data indicating the end of printing is written in the status.

【0016】印字終了ステータスに印字終了を示すデー
タが書込まれると、描画メモリ9に記憶されているデー
タをクリアする処理を行う(印字済ドットイメージ消去
手段)。この描画メモリのデータのクリア処理が終了す
ると、描画完了フラグをクリア処理して、この描画処理
を終了するようになっている。図3に前記CPU1が行
う印字処理の流れを示す。
When the data indicating the end of printing is written in the print end status, the data stored in the drawing memory 9 is cleared (printed dot image erasing means). When the process of clearing the data in the drawing memory is completed, the drawing completion flag is cleared and the drawing process is completed. FIG. 3 shows the flow of the printing process performed by the CPU 1.

【0017】まずホストコンピュータ7から通信インタ
ーフェイス8を介して印字命令コマンドが受信されるま
での待機状態となっており、印字命令コマンドが受信さ
れると、描画完了フラグに描画完了を示すデータが書込
まれるまでの待機状態となる。
First, the printer is in a standby state until a print command command is received from the host computer 7 via the communication interface 8. When the print command command is received, data indicating the drawing completion is written in the drawing completion flag. It will be in a standby state until it is plugged in.

【0018】描画完了フラグに描画完了を示すデータが
書込まれると、印字ヘッド11、フィードモータ13及
びリボンモータ14を駆動して用紙に印字を行う。(印
字制御手段)
When the data indicating the drawing completion is written in the drawing completion flag, the print head 11, the feed motor 13 and the ribbon motor 14 are driven to print on the paper. (Print control means)

【0019】この印字が終了すると、印字終了ステータ
スに印字終了を示すデータを書込んで、印字終了した用
紙を排出する処理を行う。この排出処理が終了すると、
この印字処理を終了するようになっている。
When the printing is completed, the data indicating the completion of the printing is written in the printing completion status, and the paper for which the printing is completed is discharged. When this discharging process is completed,
This printing process is completed.

【0020】このような構成の本実施例においては、ホ
ストコンピュータ7から印字を指示するデータが送信さ
れ、その送信データが通信インターフェイス8により受
信される。通信インターフェイス8ではその送信データ
を印字データコマンド及び印字命令コマンド等の機能別
コマンドとして解析する。この解析された印字データコ
マンドは描画コントローラ10に転送され、印字命令コ
マンドはCPU1により受信の確認が行われる。
In this embodiment having such a configuration, data instructing printing is transmitted from the host computer 7, and the transmitted data is received by the communication interface 8. The communication interface 8 analyzes the transmitted data as function-specific commands such as a print data command and a print command command. The analyzed print data command is transferred to the drawing controller 10, and the CPU 1 confirms the reception of the print command command.

【0021】描画コントローラ10は、印字データコマ
ンドの受信により、印字データコマンドの印字データを
ドットイメージに展開して描画メモリ9に記憶させ、R
AM3に形成された描画完了フラグに描画完了を示すデ
ータを書込む。
Upon receipt of the print data command, the drawing controller 10 develops the print data of the print data command into a dot image and stores it in the drawing memory 9, and R
Data indicating the drawing completion is written in the drawing completion flag formed in AM3.

【0022】描画完了フラグに描画完了を示すデータが
書込まれると、CPU1は、描画メモリ9に記憶された
ドットイメージに基づいて印字ヘッド等により所定の用
紙に印字を行う。印字が終了すると、RAM3に形成さ
れた印字終了ステータスに印字終了を示すデータを書込
み、印字終了した用紙の排出処理を行う。
When data indicating the completion of drawing is written in the drawing completion flag, the CPU 1 prints on a predetermined paper by a print head or the like based on the dot image stored in the drawing memory 9. When the printing is completed, the data indicating the completion of the printing is written in the printing completion status formed in the RAM 3, and the paper for which the printing is completed is discharged.

【0023】印字終了ステータスに印字終了を示すデー
タが書込まれると、描画コントローラ10は、描画メモ
リ9に記憶されているドットイメージを消去するクリア
処理を行う。
When the data indicating the print end is written in the print end status, the drawing controller 10 performs a clear process to erase the dot image stored in the drawing memory 9.

【0024】すなわち、図4(a)の受信コマンドのタ
イミングに示すように、ホストコンピュータ7からの送
信データを通信インターフェイス8により受信して解析
した機能別コマンドには、印字データコマンドBと印字
命令コマンドCが含まれているが、描画メモリ9のクリ
アコマンドは含まれていない。
That is, as shown in the timing of the reception command of FIG. 4A, the print data command B and the print command are included in the function-specific command obtained by analyzing the transmission data from the host computer 7 by the communication interface 8. The command C is included, but the clear command for the drawing memory 9 is not included.

【0025】図4(b)の描画処理のタイミングに示す
ように、図4(a)に示す印字データコマンドBが受信
されるとすぐに描画処理Eが行われる。この描画処理E
が終了すると、図4(c)の印字処理のタイミングに示
すように、印字動作Fが行われる。この印字動作Fが終
了すると、図4(b)及び図4(c)に示すように、描
画メモリ9のクリア処理Dと平行して印字終了した用紙
の排出動作Gが行われる。
As shown in the timing of the drawing process of FIG. 4B, the drawing process E is performed as soon as the print data command B shown in FIG. 4A is received. This drawing process E
When is completed, the printing operation F is performed as shown in the timing of the printing process of FIG. When the printing operation F is completed, as shown in FIGS. 4B and 4C, a discharging operation G of the printed paper is performed in parallel with the clearing process D of the drawing memory 9.

【0026】このように本実施例によれば、印字終了す
ると、CPU1により、印字終了ステータスに印字終了
を示すデータが書込まれ、印字終了ステータスに印字終
了を示すデータが書込まれると、印字終了した用紙の排
出処理Gと平行して、描画メモリコントローラ10によ
り、印字に使用された描画メモリ9に記憶されているド
ットイメージを消去するクリア処理Dを行うことができ
る。従って、描画メモリにドットイメージを記憶させる
前に行う描画メモリのクリア処理を省略することがで
き、従って、描画時間について描画メモリのクリア処理
にかかる時間分だけ短縮させることができ、全体の処理
速度をより高速化できる。
As described above, according to the present embodiment, when the printing is completed, the CPU 1 writes the data indicating the completion of the printing in the printing completion status and the data indicating the completion of the printing in the printing completion status, the printing is completed. In parallel with the finished sheet discharging process G, the drawing memory controller 10 can perform a clearing process D for erasing the dot image stored in the drawing memory 9 used for printing. Therefore, the drawing memory clearing process performed before storing the dot image in the drawing memory can be omitted. Therefore, the drawing time can be shortened by the time required for the drawing memory clearing process. Can be faster.

【0027】[0027]

【発明の効果】以上詳述したようにこの発明によれば、
描画メモリにドットイメージを記憶させる前に行う描画
メモリのクリア処理を省略することができ、従って描画
時間の短縮を図る事ができ全体の処理速度をより高速化
できるプリンタを提供できる。
As described in detail above, according to the present invention,
A clearing process of the drawing memory performed before storing the dot image in the drawing memory can be omitted, so that the drawing time can be shortened and the overall processing speed can be increased.

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

【図1】この発明の一実施例の要部回路構成を示すブロ
ック図。
FIG. 1 is a block diagram showing a circuit configuration of essential parts of an embodiment of the present invention.

【図2】同実施例の描画コントローラが行う描画処理の
流れを示す図。
FIG. 2 is a diagram showing the flow of a drawing process performed by the drawing controller of the embodiment.

【図3】同実施例のCPUが行う印字処理の流れを示す
図。
FIG. 3 is a diagram showing a flow of a printing process performed by the CPU of the embodiment.

【図4】同実施例の受信コマンド、描画処理及び印字処
理のタイミングを示す図。
FIG. 4 is a diagram showing timings of a reception command, a drawing process, and a printing process of the embodiment.

【図5】従来例の受信コマンド、描画処理及び印字処理
のタイミングを示す図。
FIG. 5 is a diagram showing a timing of a received command, a drawing process, and a printing process in a conventional example.

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

1…CPU、7…ホストコンピュータ、9…描画メモ
リ、10…描画コントローラ。
1 ... CPU, 7 ... Host computer, 9 ... Drawing memory, 10 ... Drawing controller.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 印字手段と、ドットイメージを記憶する
描画メモリと、印字データを入力する印字データ入力手
段と、前記描画メモリに記憶されているデータを消去す
る処理を行わずに、前記印字データ入力手段により入力
された印字データをドットイメージに展開して前記描画
メモリに記憶させる描画制御手段と、前記描画メモリに
記憶されたドットイメージに基づいて前記印字手段によ
り所定の用紙に印字を行う印字制御手段と、この印字制
御手段による印字の終了後、前記印字に使用された前記
描画メモリに記憶されているドットイメージを消去する
印字済ドットイメージ消去手段とを設けたことを特徴す
るプリンタ。
1. A printing means, a drawing memory for storing a dot image, a print data inputting means for inputting print data, and a process for erasing data stored in the drawing memory without performing the printing data. Drawing control means for expanding the print data input by the input means into a dot image and storing it in the drawing memory, and printing for printing on a predetermined paper by the printing means based on the dot image stored in the drawing memory A printer provided with a control means and a printed dot image erasing means for erasing the dot image stored in the drawing memory used for the printing after the printing by the printing control means is completed.
JP1022392A 1992-01-23 1992-01-23 Printer Pending JPH05193201A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1022392A JPH05193201A (en) 1992-01-23 1992-01-23 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1022392A JPH05193201A (en) 1992-01-23 1992-01-23 Printer

Publications (1)

Publication Number Publication Date
JPH05193201A true JPH05193201A (en) 1993-08-03

Family

ID=11744287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1022392A Pending JPH05193201A (en) 1992-01-23 1992-01-23 Printer

Country Status (1)

Country Link
JP (1) JPH05193201A (en)

Similar Documents

Publication Publication Date Title
JP3706694B2 (en) Information processing apparatus, printer control method, and storage medium
JP3002056B2 (en) Printer device and print control method in the device
JPH05193201A (en) Printer
JP3181776B2 (en) Image recording apparatus and control method thereof
EP0072708B1 (en) Printer
JP3228280B2 (en) Electronic printing apparatus, electronic printing method, and recording medium
KR0125481B1 (en) The method of reprinting the final page data in image shaping apparatus
JP2002137460A (en) Print system and storage control method
JP2612937B2 (en) Printing device
JP3313919B2 (en) Output device and output method
JP3176192B2 (en) Page printer
JPH05212916A (en) Printer device
JPH07186460A (en) Printer
JPH04220365A (en) Printer
JPH0644015A (en) Printing method and its device
JPH08152983A (en) Output device and data registering method
JPH03162979A (en) Printer device
JPH06293171A (en) Printing device
JPH02231167A (en) Page printer
JPH05305753A (en) Printer
JP2007021876A (en) Dot-line printer and its printing method
JPH0312728A (en) Recorder
JPH08197786A (en) Image forming method and apparatus
JPH0732674A (en) Printing device
JPH02259822A (en) Recorder