JP2612937B2 - Printing device - Google Patents

Printing device

Info

Publication number
JP2612937B2
JP2612937B2 JP1151500A JP15150089A JP2612937B2 JP 2612937 B2 JP2612937 B2 JP 2612937B2 JP 1151500 A JP1151500 A JP 1151500A JP 15150089 A JP15150089 A JP 15150089A JP 2612937 B2 JP2612937 B2 JP 2612937B2
Authority
JP
Japan
Prior art keywords
printing
command
data
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.)
Ceased
Application number
JP1151500A
Other languages
Japanese (ja)
Other versions
JPH0316764A (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.)
Tec Corp
Original Assignee
Tec 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 Tec Corp filed Critical Tec Corp
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

Landscapes

  • Credit Cards Or The Like (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Description

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

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

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

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

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

[課題を解決するための手段] 上位コントローラから受信した印字に関するデータに
基づいて印字を行う印字装置において、上位コントロー
ラからの登録開始コマンドに応じて当該上位コントロー
ラから受信した印字に関するデータをメモリカードに登
録するデータ登録手段と、上位コントローラからの登録
終了コマンドに応じてメモリカードに対する受信データ
の登録を終了する登録終了手段と、呼出しコマンドに応
じてメモリカードから読出した印字に関するデータに基
づいて印字を実行すると共に、呼出しコマンドがないと
きには上位コントローラから受信した印字に関するデー
タに基づいて印字を実行する印字制御手段とを備えたも
のである。
[Means for Solving the Problems] In a printing device that performs printing based on data related to printing received from a higher-level controller, data related to printing received from the higher-level controller in response to a registration start command from the higher-level controller is stored in a memory card. Data registration means for registering, registration end means for ending the registration of the received data in the memory card in response to a registration end command from the host controller, and printing based on data relating to printing read from the memory card in response to the call command Print control means for executing printing and executing printing based on data relating to printing received from the host controller when there is no call command.

[作 用] このような手段を講じた印字装置においては、登録開
始コマンドを受信した場合には引続き受信される印字に
関するデータをメモリカードに登録する。このメモリカ
ードへのデータ登録は登録終了コマンドを受信するまで
継続される。そして、呼出しコマンドを入力すると、メ
モリカードから読出した印字に関するデータに基づいて
印字を実行し、読出しコマンドの入力がないときには、
上位コントローラから受信した印字に関するデータに基
づいて印字を実行する。
[Operation] In the printing apparatus having the above-described means, when the registration start command is received, the data regarding the printing that is continuously received is registered in the memory card. This data registration to the memory card is continued until a registration end command is received. Then, when a call command is input, printing is performed based on data relating to printing read from the memory card.
The printing is performed based on the printing data received from the host controller.

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

[実施例] 以下、本発明をラベルプリンタに適用した一実施例に
付いて図面を参照しながら説明する。
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ポー
トであって、これらRAM2,キーボード・表示コントロー
ラ3,外部インタフェース6およびI/Oポート8はバスラ
インを介して前記マイクロプロセッサ1に接続されてい
る。
FIG. 1 is a block diagram of a label printer.
Reference numeral 1 denotes a microprocessor including a CPU (central processing unit), a ROM (read only memory), and the like, which constitutes a control unit main body. Reference numeral 2 denotes a RAM (random access memory) for storing setting data, print data, and the like; 3, a keyboard / display controller for controlling the keyboard 4 and the display 5; and 6, a data transmission / reception with a personal computer 7 as a higher-level controller. The external interface 8 is an I / O port. The 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 for driving a thermal head 9 for printing, a ribbon motor 11 for operating a drive mechanism for driving an ink ribbon, a feed motor 12 for operating a transport mechanism for label paper, and the like. Various sensors
13 and so on are connected.

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

しかして、前記マイクロプロセッサ1は、第2図に示
すような外部インタフェース6を介してパソコン7から
のコマンドを受信すると、そのコマンドの種類を調べ
る。ここで、受信コマンドが登録開始コマンドであれ
ば、その後受信されるコアンドをメモリカードとしての
RAMカード14に登録するための準備として例えばカード
登録モードフラグをセットして、次のパソコン7からの
コマンドを待つ。この状態で、外部インタフェース6を
介してパソコン7からのコマンドを受信すると、同様に
してそのコマンドの種類を調べる。ここで、受信コマン
ドが登録終了コマンドではなく、ラベルフォーマット,
罫線フォーマット,ラベルサイズフォーマットなどの印
字に関するコマンドであると、そのコマンドをRAMカー
ド14に書き込み登録する。このRAMカード14へのコマン
ド登録はパソコン7から登録終了コマンドが送られてく
るまで継続され、登録終了コマンドを受信すると、RAM
カード14へのコマンド登録終了として例えば前記カード
登録モードフラグをリセットする。
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. Here, if the received command is a registration start command, the command received thereafter is used as a memory card.
As a preparation for registration in the RAM card 14, for example, a card registration mode flag is set, and a 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, the received command is not a registration end command, but a label format,
If the command is related to printing such as a ruled line format and a label size format, the command is written to the RAM card 14 and registered. 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 RAM
As the command registration to the 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 not a registration start command but a call command, the command relating to printing is read from the RAM card 14 and printing is performed on label paper according to the command. Then, a label is issued (print control means).

また、外部インタフェース6を介して受信したパソコ
ン7からのコマンドが登録開始コマンドでもなく、かつ
呼出しコマンドでもない場合には、その受信コマンドに
応じてラベル用紙に印字を行い、ラベルを発行する(印
字制御手段)。
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 in accordance with the received command, and a label is issued (printing). Control means).

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

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

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

このように、パソコン7により印字に関するデータの
送信前に登録開始コマンドを、印字に関するデータの送
信終了時に登録終了コマンドを、印字開始時に呼出しコ
マンドをそれぞれ発生させるだけで、RAMカード14に対
する印字に関するデータの登録およびそのカードを用い
た印字が可能となる。したがって、従来のパソコン7に
よる印字制御プログラムに上記各コマンドの処理を付加
するだけでRAMカード14による印字が可能となり、メモ
リカードにデータを登録するための専用のプログラムが
不要となるので、メモリカードを用いた場合の手間と時
間が簡略化される。
As described above, by simply generating a registration start command before transmission of data relating to printing by the personal computer 7, a registration end command at the end of transmission of data relating to printing, and a call command at the start of printing, data relating to printing to the RAM card 14 can be obtained. Registration and printing using the card can be performed. Therefore, printing by the RAM card 14 becomes possible only by adding the processing of each of the above commands to the printing control program by the conventional personal computer 7, and a dedicated program for registering data in the memory card becomes unnecessary. And the time and effort when using are simplified.

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

また、前記実施例では呼出しコマンドをパソコン7か
ら発生する場合を示したが、ラベルプリンタにおけるキ
ーボード4のキー入力などによって発生させてもよい。
In the above-described embodiment, the case where the call command is generated from the personal computer 7 has been described. However, the call command may be generated by a key input of the keyboard 4 in the label printer.

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

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

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

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】上位コントローラから受信した印字に関す
るデータに基づいて印字を行う印字装置において、 前記上位コントローラからの登録開始コマンドに応じて
当該上位コントローラから受信した前記印字に関するデ
ータをメモリカードに登録するデータ登録手段と、 前記上位コントローラからの登録終了コマンドに応じて
前記メモリカードに対する受信データの登録を終了する
登録終了手段と、 呼出しコマンドに応じて前記メモリカードから読出した
印字に関するデータに基づいて印字を実行すると共に、
呼出しコマンドがないときには上位コントローラから受
信した印字に関するデータに基づいて印字を実行する印
字制御手段とを具備したことを特徴とする印字装置。
1. A printing apparatus for performing printing based on printing-related data received from a host controller, wherein the printing-related data received from the host controller is registered in a memory card in response to a registration start command from the host controller. Data registration means, registration end means for ending the registration of received data in the memory card in response to a registration end command from the host controller, and printing based on data relating to printing read from the memory card in response to a call command Along with
A printing control means for executing printing based on printing-related data received from a host controller when there is no call 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 JPH0316764A (en) 1991-01-24
JP2612937B2 true 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)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0621978B2 (en) * 1985-04-26 1994-03-23 カシオ計算機株式会社 Print control device
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
JPH0316764A (en) 1991-01-24

Similar Documents

Publication Publication Date Title
JP3706694B2 (en) Information processing apparatus, printer control method, and storage medium
KR970002660A (en) Printer control with monitor function
JP2534794B2 (en) Label printer
JP3002056B2 (en) Printer device and print control method in the device
JP2612937B2 (en) Printing device
JP4174169B2 (en) Print control apparatus and print control method
JPH0578428B2 (en)
JPH01118454A (en) Printer
JPH0524303A (en) Printer
JP3347369B2 (en) Printing apparatus and method
JP2780974B2 (en) Printer
JPH0635637A (en) Printer
JPH01214464A (en) Electronic typewriter
JP3419117B2 (en) Printer
JPH02201631A (en) Computer system
JPH01238980A (en) Printer device equipped with printing temporary stop function
KR100341802B1 (en) Printing page number display method of printer
JPH0818448B2 (en) Page printer
JPS61160271A (en) Printer apparatus
JPH08166926A (en) Electronic unit, data processing system having the unit and data processing method in the unit
JPH03162979A (en) Printer device
JPH10301725A (en) Printing device and information processor, system and control method therefor and storage medium
JPH04282278A (en) Label printer
JPH01100625A (en) Printer
JPH05177909A (en) Printer

Legal Events

Date Code Title Description
RVOP Cancellation by post-grant opposition