JPH0316764A - Printing device - Google Patents

Printing device

Info

Publication number
JPH0316764A
JPH0316764A JP1151500A JP15150089A JPH0316764A JP H0316764 A JPH0316764 A JP H0316764A JP 1151500 A JP1151500 A JP 1151500A JP 15150089 A JP15150089 A JP 15150089A JP H0316764 A JPH0316764 A JP H0316764A
Authority
JP
Japan
Prior art keywords
data
printing
command
registration
memory card
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
JP1151500A
Other languages
Japanese (ja)
Other versions
JP2612937B2 (en
Inventor
Koji Taiko
大湖 弘司
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 JP1151500A priority Critical patent/JP2612937B2/en
Publication of JPH0316764A publication Critical patent/JPH0316764A/en
Application granted granted Critical
Publication of JP2612937B2 publication Critical patent/JP2612937B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Abstract

PURPOSE:To save labor and time required for the preparation of a memory card by registering data on print received from a host controller in accordance with a registration start command in a memory card and printing data based on data on print registered in response to a call command. CONSTITUTION:If a microprocessor 1 receives a registration start command from a personal computer 7 through an external interface 6, and sets, for example, a card registration mode flag in preparation for the registration of a command to be received later in a RAM card 14 as a memory card. If a reception command for printing of a label format is issued by the personal computer 7, data is written and registered in the RAM card 14. Then the RAM card 14 remains connected until a registration end command is received from the personal computer 7, and the card registration mode flag is reset, if data reception is completed. Consequently, it is possible to register data on print in the memory card based on a program for sending data from a host controller, and also save labor and time required for the preparation of a memory card.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、上位コントローラからの受信データやメモリ
カードに記憶されたデータに基づいて印字を行うラベル
プリンタ等の印字装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printing device such as a label printer that prints based on data received from a host controller or data stored in a memory card.

[従来の技術] 上位コントローラとして例えばパーソナルコンピュータ
(以下パソコンと略称する)に接続された従来の印字装
置は、予め設定されたプログラムに従ってパソコンから
座標,文字の種類,倍率などのフォーマットデータや実
際の文字の印字データが順次送られてくるとその受信デ
ータに基づいて印字部を駆動して所定用紙に印字を行う
ものとなっている。
[Prior Art] A conventional printing device connected to a personal computer (hereinafter referred to as a personal computer) as a host controller, for example, receives format data such as coordinates, character type, magnification, etc. from the personal computer according to a preset program, as well as actual data. When character printing data is sequentially sent, the printing section is driven based on the received data to print on a predetermined sheet of paper.

一方、この種の印字装置のなかにはメモリカードの内容
を読込み可能なものがあり、このものにおいてはメモリ
カードに予めフォーマットデータを登録しておくことに
より、パソコンから印字データのみを送出するだけで何
度も同一フォーマットで印字できる利点がある。
On the other hand, some printing devices of this type can read the contents of a memory card, and by registering format data in the memory card in advance, you can simply send only the print data from your computer. It has the advantage of being able to print in the same format every time.

[発明が解決しようとする課題] しかるに従来、メモリカードへのデータ登録は専用のプ
ログラムを使用し、パソコンから必要なデータを送出す
ることによって行っていた。このためメモリカードを用
いる場合にはデータ登録のための専用のプログラムを用
意する必要があり、無駄な手間と時間を要していた。
[Problems to be Solved by the Invention] However, in the past, data was registered in a memory card by using a dedicated program and sending the necessary data from a personal computer. Therefore, when using a memory card, it is necessary to prepare a dedicated program for data registration, which requires unnecessary effort and time.

そこで本発明は、上位コントローラから印字に関するデ
ータを送出するためのプログラムに基づいてメモリカー
ドへその印字に関するデータを登録することができ、メ
モリカードの作成に要する手間と時間を簡略化できる印
字装置を提供しようとするものである。
Therefore, the present invention provides a printing device that can register printing-related data to a memory card based on a program for sending printing-related data from a host controller, thereby simplifying the effort and time required to create a memory card. This is what we are trying to provide.

[課題を解決するための手段] 上位コントローラから受信した印字に関するデータに基
づいて印字を行う機能と、メモリカードから読出した印
字に関するデータに基づいて印字を行う機能とを有する
印字装置において、上位コントローラからの登録開始コ
マンドに応じて当該上位コントローラから受信した印字
に関するデー夕をメモリカードに登録するデータ登録手
段と、上位コントローラからの登録終了コマンドに応じ
てメモリカードに対する受信データの登録を終了する登
録終了手段と、呼出しコマンドに応じてデータ登録手段
によりメモリカードに登録された印字に関するデータに
基づいて印字を行う手段とを備えたものである。
[Means for solving the problem] In a printing device that has a function of printing based on data related to printing received from a higher level controller and a function of performing printing based on data related to printing read from a memory card, the upper level controller data registration means for registering printing-related data received from the host controller in a memory card in response to a registration start command from the host controller; and registration for terminating registration of received data in the memory card in response to a registration end command from the host controller. The apparatus includes a termination means and a means for printing based on data related to printing registered in a memory card by a data registration means in response to a call command.

[作 用] このような手段を講じた印字装置においては、登録開始
コマンドを受信した場合には引続き受信される印字に関
するデータをメモリカードに登録する。このメモリカー
ドへのデータ登録は登録終了コマンドを受信するまで継
続される。そして、メモリカードへデータ登録が行われ
た状態で、呼出しコマンドを入力すると、・そのメモリ
カードに登録された印字に関するデータに基づいて印字
が行われる。一方、登録終了コマンドが受信された後に
上位コントローラから印字に関するデータが送られてく
ると、その印字に関するデータに基づいて印字が行われ
る。
[Operation] In a printing device that takes such a measure, when a registration start command is received, data related to printing that is subsequently received is registered in the memory card. This data registration to the memory card continues until a registration end command is received. Then, when a call command is input with data registered in the memory card, printing is performed based on the data related to printing registered in the memory card. On the other hand, when data related to printing is sent from the host controller after the registration end command is received, printing is performed based on the data related to printing.

したがって、上位コントローラより印字に関するデータ
が送信される前に登録開始コマンドを、印字に関するデ
ータの送信終了時に登録終了コマンドをそれぞれ発生さ
せるだけで、メモリカードへのデータ登録が可能となる
。また、印字開始時に呼出しコマンドを発生させること
により、上記メモリカードを用いた印字が可能となる。
Therefore, data can be registered in the memory card by simply generating a registration start command before sending print-related data from the host controller, and by generating a registration end command when printing-related data ends. Furthermore, by generating a call command at the start of printing, printing using the memory card described above becomes possible.

[実施例J 以下、本発明をラベルプリンタに適用したー実施例に付
いて図面を参照しながら説明する。
[Embodiment J] Hereinafter, an embodiment in which the present invention is applied to a label printer will be described with reference to the drawings.

第1図はラベルプリンタのブロック構成図であって、1
はCPU (中央処理装置),ROM (リード・オン
リ・メモリ)等からなるマイクロプロセッサであって、
制御部本体を構成する。2は設定データや印字データ等
を格納するRAM (ランダム・アクセス・メモリ)、
3はキーボード4および表示器5を制御するキーボード
・表示コントローラ、6は上位コントローラとしてのパ
ソコン7とのデータ送受信を行う外部インタフェース、
8はI/Oボートであって、これらR A M2,キー
ボード・表示コントローラ3,外部インタフェース6お
よびI/Oポート8はバスラインを介して前記マイクロ
プロセッサ1に接続されている。
FIG. 1 is a block diagram of a label printer, with 1
is a microprocessor consisting of a CPU (central processing unit), ROM (read-only memory), etc.
It constitutes the main body of the control unit. 2 is a RAM (random access memory) that stores setting data, print data, etc.;
3 is a keyboard/display controller that controls the keyboard 4 and display 5; 6 is an external interface that sends and receives data to and from a personal computer 7 as a host controller;
8 is an I/O boat, and these RAM 2, keyboard/display controller 3, external interface 6, and I/O port 8 are connected to the microprocessor 1 via a bus line.

前記I/Oポート8には、印字用のサーマルヘッド9を
駆動するヘッド駆動回路10、インクリボンを駆動する
駆動機構を動作させるリボンモータ11、ラベル用紙の
搬送機構を動作させるフィードモータ12、その他各種
センサ13などが接続されている。
The I/O port 8 includes a head drive circuit 10 that drives a thermal head 9 for printing, a ribbon motor 11 that operates a drive mechanism that drives an ink ribbon, a feed motor 12 that operates a label paper transport mechanism, and others. Various sensors 13 and the like are connected.

14はメモリカードとしてのRAMカードであって、こ
のRAMカード14に対して前記マイクロプロセッサ1
はデータの読み書きができるようになっている。
14 is a RAM card as a memory card, and the microprocessor 1 is connected to this RAM card 14.
can read and write data.

しかして、前記マイクロプロセッサ1は、第2図に示す
ように外部インタフェース6を介してパソコン7からの
コマンドを受信すると、そのコマンドの種類を調べる。
When the microprocessor 1 receives a command from the personal computer 7 via the external interface 6 as shown in FIG. 2, it checks the type of the command.

ここで、受信コマンドが登録開始コマンドであれば、そ
の後受信されるコマンドをメモリカードとしてのR A
 Mカード14に登録するための準備として例えばカー
ド登録゛モ−ドフラグをセットして、次のパソコン7か
らのコマントヲ待つ。この状態で、外部インタフェース
6を介してパソコン7からのコマンドを受信すると、同
様にしてそのコマンドの種類を調べる。ここで、受信コ
マンドが登録終了コマンドではなく、ラベルフォーマッ
ト,罫線フォーマット,ラベルサイズフォーマットなど
の印字に関するコマンドであると、そのコマンドをRA
Mカード14に書き込み登録する。このRAMカ一ド1
4へのコマンド登録はパソコン7から登録終了コマンド
が送られてくるまで継続され、登録終了コマンドを受信
すると、RAMカード14へのコマンド登録終了として
例えば前記カード登録モードフラグをリセットする。
Here, if the received command is a registration start command, the subsequently received command is R A as a memory card.
In preparation for registration in the M card 14, for example, a card registration mode flag is set, and the next command from the personal computer 7 is waited for. In this state, when a command is received from the personal computer 7 via the external interface 6, the type of the command is similarly checked. Here, if the received command is not a registration end command but a command related to printing such as label format, ruled line format, label size format, etc., the command is sent to RA.
Write and register on the M card 14. This RAM card 1
The command registration to the RAM card 14 is continued until a registration end command is sent from the personal computer 7, and when the registration end command is received, the command registration to the RAM card 14 is completed, for example, the card registration mode flag is reset.

一方、外部インタフェース6を介して受信したパソコン
7からのコマンドが登録開始コマンドではなく呼出しコ
マンドであった場合には、RAMカード14から印字に
関するコマンドを読出し、そのコマンドに応じてラベル
用紙に印字を行い、ラベルを発行する。
On the other hand, if the command received from the personal computer 7 via the external interface 6 is a calling command rather than a registration start command, a printing-related command is read from the RAM card 14, and printing is performed on label paper according to the command. and issue a label.

また、外部インタフェース6を介して受信したパソコン
7からのコマンドが登録開始コマンドでもなく、かつ呼
出しコマンドでもない場合には、その受信コマンドに応
じてラベル用紙に印字を行い、ラベルを発行する。
Further, if the command received from the personal computer 7 via the external interface 6 is neither a registration start command nor a call command, printing is performed on label paper according to the received command, and a label is issued.

このような構成のラベルプリンタにおいては、パソコン
7から従来と同様に座標,文字の種類,倍率などのフォ
ーマットデータや実際の文字の印字データが順次送られ
てくるとその受信データに基づいてラベル用紙に印字が
行われる。
In a label printer having such a configuration, format data such as coordinates, character type, magnification, and actual character printing data are sequentially sent from the personal computer 7 in the same way as before, and label paper is printed based on the received data. is printed.

一方、この種の印字に関するデータの受信に先立って、
パソコン7から登録開始コマンドが送られてくると、そ
れ以後送られてきたフォーマットデータ等はRAMカー
ド14に登録される。そして、このRAMカード14へ
のデータ登録はパソコン7から登録終了コマンドが送ら
れてくるまで継続される。
On the other hand, prior to receiving data regarding this type of printing,
When a registration start command is sent from the personal computer 7, format data etc. sent thereafter are registered in the RAM card 14. This data registration into the RAM card 14 continues until a registration end command is sent from the personal computer 7.

その後、パソコン7から呼出しコマンドが送られてくる
とRAMカード14内の登録コマンドが読出され、その
コマンドに基づいてラベル発行が実行される。このとき
、パソコン7から印字データのみが順次送られてくるこ
とによって、何度も同一フォーマットのラベル発行が行
われる。
Thereafter, when a calling command is sent from the personal computer 7, the registered command in the RAM card 14 is read out, and label issuance is executed based on the command. At this time, only print data is sequentially sent from the personal computer 7, so that labels in the same format are issued many times.

このように、パソコン7により印字に関するデータの送
信前に登録開始コマンドを、印字に関するデータの送信
終了時に登録終了コマンドを、印字開始時に呼出しコマ
ンドをそれぞれ発生させるだけで、RAMカード14に
対する印字に関するデータの登録およびそのカードを用
いた印字が可能となる。したがって、従来のパソコン7
による印字制御プログラムに上記各コマンドの処理を付
加するだけでRAMカード14による印字が可能となり
、メモリカードにデータを登録するための専用のプログ
ラムが不要となるので、メモリカードを用いた場合の手
間と時間が簡略化される。
In this way, the printing-related data on the RAM card 14 can be stored in the RAM card 14 by simply generating the registration start command from the personal computer 7 before sending the printing-related data, the registration end command when the printing-related data has finished sending, and the calling command when printing starts. registration and printing using that card becomes possible. Therefore, the conventional personal computer 7
Printing using the RAM card 14 is possible simply by adding the processing of each of the above commands to the printing control program using the ``Printing Control Program'', which eliminates the need for a dedicated program to register data on the memory card, reducing the time and effort required when using a memory card. and time is simplified.

なお、本発明はラベルプリンタに限定されるものではな
く、パソコン等の上位コントローラから受信した印字に
関するデータに基づいて印字を行う機能と、メモリカー
ドから読出した印字に関するデータに基づいて印字を行
う機能とを有する印字装置全般に適用可能である。
Note that the present invention is not limited to label printers, but includes a function of printing based on data related to printing received from a host controller such as a personal computer, and a function of performing printing based on data related to printing read from a memory card. It is applicable to all printing devices having

また、前記実施例では呼出しコマンドをパソコン7から
発生する場合を示したが、ラベルプリンタにおけるキー
ボード4のキー人力などによって発生させてもよい。
Further, in the embodiment described above, a case has been shown in which the calling command is generated from the personal computer 7, but it may also be generated manually using keys on the keyboard 4 of a label printer.

[発明の効果] 以上詳述したように、本発明によれば、上位コントロー
ラから印字に関するデータを送出するためのプログラム
に基づいてメモリカードへその印字に関するデータを登
録することができ、メモリカードの作戊に要する手間と
時間を簡略化できる印字装置を提供できる。
[Effects of the Invention] As detailed above, according to the present invention, data related to printing can be registered in a memory card based on a program for sending data related to printing from a host controller, and data related to printing can be registered in a memory card. It is possible to provide a printing device that can simplify the labor and time required for printing.

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

図は本発明をラベルプリンタに適用したー実施例を示す
図であって、第1図はブロック構成図、第2図は主要な
動作を示す流れ図である。 1・・・マイクロプロセッサ、6・・・外部インタフェ
ース、7・・・パーソナルコンピュータ(パソコン)、
14・・・RAMカード。
The figures are diagrams showing an embodiment in which the present invention is applied to a label printer, in which Fig. 1 is a block diagram and Fig. 2 is a flowchart showing the main operations. 1...Microprocessor, 6...External interface, 7...Personal computer (personal computer),
14...RAM card.

Claims (1)

【特許請求の範囲】[Claims] 上位コントローラから受信した印字に関するデータに基
づいて印字を行う機能と、メモリカードから読出した印
字に関するデータに基づいて印字を行う機能とを有する
印字装置において、前記上位コントローラからの登録開
始コマンドに応じて当該上位コントローラから受信した
前記印字に関するデータを前記メモリカードに登録する
データ登録手段と、前記上位コントローラからの登録終
了コマンドに応じて前記メモリカードに対する受信デー
タの登録を終了する登録終了手段と、呼出しコマンドに
応じて前記データ登録手段により前記メモリカードに登
録された前記印字に関するデータに基づいて印字を行う
手段とを具備したことを特徴とする印字装置。
In a printing device having a function of printing based on data related to printing received from a higher level controller and a function of performing printing based on data related to printing read from a memory card, in response to a registration start command from the higher level controller, data registration means for registering data regarding the printing received from the upper controller in the memory card; registration termination means for terminating the registration of the received data in the memory card in response to a registration termination command from the upper controller; 1. A printing device comprising: means for printing based on data regarding the printing registered in the memory card by the data registration means in response to a command.
JP1151500A 1989-06-14 1989-06-14 Printing device Ceased JP2612937B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1151500A JP2612937B2 (en) 1989-06-14 1989-06-14 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1151500A JP2612937B2 (en) 1989-06-14 1989-06-14 Printing device

Publications (2)

Publication Number Publication Date
JPH0316764A true JPH0316764A (en) 1991-01-24
JP2612937B2 JP2612937B2 (en) 1997-05-21

Family

ID=15519869

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1151500A Ceased JP2612937B2 (en) 1989-06-14 1989-06-14 Printing device

Country Status (1)

Country Link
JP (1) JP2612937B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61249133A (en) * 1985-04-26 1986-11-06 Casio Comput Co Ltd Printing controller
JPS6322672A (en) * 1986-06-02 1988-01-30 Casio Comput Co Ltd Printer
JPS6329860A (en) * 1986-07-23 1988-02-08 Towa Erekutoron Kk Memory card processing method
JPS6339063A (en) * 1986-08-05 1988-02-19 Seiko Epson Corp Program executing method
JPH01194022A (en) * 1988-01-29 1989-08-04 Casio Electron Mfg Co Ltd Printer device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61249133A (en) * 1985-04-26 1986-11-06 Casio Comput Co Ltd Printing controller
JPS6322672A (en) * 1986-06-02 1988-01-30 Casio Comput Co Ltd Printer
JPS6329860A (en) * 1986-07-23 1988-02-08 Towa Erekutoron Kk Memory card processing method
JPS6339063A (en) * 1986-08-05 1988-02-19 Seiko Epson Corp Program executing method
JPH01194022A (en) * 1988-01-29 1989-08-04 Casio Electron Mfg Co Ltd Printer device

Also Published As

Publication number Publication date
JP2612937B2 (en) 1997-05-21

Similar Documents

Publication Publication Date Title
JP2534794B2 (en) Label printer
JPH0411901B2 (en)
JPH10138569A (en) Character information-processing apparatus
JP4174169B2 (en) Print control apparatus and print control method
JPH0316764A (en) Printing device
JPS6159920B2 (en)
JPH07182565A (en) Method for controlling print of receipt in pos terminal
JP2964469B2 (en) Printing device
JP4058982B2 (en) Printer
JPH01118454A (en) Printer
JPH0793076A (en) Printer device
KR100597426B1 (en) A print security method in a network printer
JP3145761B2 (en) Printer
JPH01150568A (en) Printer device
JP3228280B2 (en) Electronic printing apparatus, electronic printing method, and recording medium
JPH0516439A (en) Label printer
JPH0818448B2 (en) Page printer
JPH11249856A (en) Printer system
JP3189835B2 (en) Electronic printing apparatus, electronic printing method, and recording medium
KR100329150B1 (en) Print job handling method of printer driver
JPS61160271A (en) Printer apparatus
JP3419117B2 (en) Printer
JPH0361562A (en) Printer
JPS6359542A (en) Printing system for small character
JPH0818686A (en) Printer

Legal Events

Date Code Title Description
RVOP Cancellation by post-grant opposition