JPH0459269A - Printer with memory function - Google Patents

Printer with memory function

Info

Publication number
JPH0459269A
JPH0459269A JP2171691A JP17169190A JPH0459269A JP H0459269 A JPH0459269 A JP H0459269A JP 2171691 A JP2171691 A JP 2171691A JP 17169190 A JP17169190 A JP 17169190A JP H0459269 A JPH0459269 A JP H0459269A
Authority
JP
Japan
Prior art keywords
data
format
format data
stored
ram
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
JP2171691A
Other languages
Japanese (ja)
Inventor
Motoki Matsubara
松原 元樹
Kenichi Fujii
健一 藤井
Eiji Hirao
平尾 栄治
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.)
Kanzaki Paper Manufacturing Co Ltd
Original Assignee
Kanzaki Paper Manufacturing 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 Kanzaki Paper Manufacturing Co Ltd filed Critical Kanzaki Paper Manufacturing Co Ltd
Priority to JP2171691A priority Critical patent/JPH0459269A/en
Publication of JPH0459269A publication Critical patent/JPH0459269A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the operating convenience by calculating the data amount of format data stored in a memory means for each format to indicate the calculated data amount for each format and also indicate the whole data amount or the remaining amount of memory capacity of the memory means. CONSTITUTION:A printer P comprises a CPU 3, RAM 5, a printing control section 6, a thermal head 7, and a stepping motor 8. The CPU 3 controls the entire printer P in accordance with a signal from a host computer. The RAM 5 stores the data which changes each time such as the format data sent from the host computer and the contents of the format data (index). The printing control section 6 prepares index data from the format data stored in the RAM 5 with an index preparation program stored in built-in ROM, or reads the format program stored in the built-in ROM, the format data stored in the RAM 5 by the index printing program, or the index data.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

本発明は、記憶機能付プリンタに関する。 r従来の技術】 ラベル等にプリンタで印字する場合、ラベルの夫々の欄
に印字させるためのフォーマットプログラムと、夫々の
ラベルに適合したフォーマットデータ(印字データ)と
の組合わせによって、プリンタが夫々のラベルに適正に
印字するようになっている。 通常、フォーマットプログラムをROMに入力し、夫々
のラベルに適合したフォーマットデータ(印字データ)
をRAMに入力し、プリンタ内蔵装置だけでプリントで
きるようにしているが、プリンタ内蔵RAMの記憶容量
は小さいので、多くのフォーマットデータを記憶させる
ことができず、RAMに記憶したデータが容量−杯にな
った時でも、新しいフォーマットデータをRAMに記憶
させようとして、始めてRAMが満杯になっている事を
知り、あわてて不要になったフォーマットデータを削除
して、再度新しいフォーマットデータを記憶させると云
った二重手間を掛けなければならないと云う問題がある
。また、フォーマットデータを削除するときには、記憶
されているフォーマットデータから、削除しても良いフ
ォーマットデータを捜す必要があるが、従来の記憶機能
付プリンタは、ホストコンピュータとは1方向送信であ
り、ホストコンピュータで内容を読み取ることができず
、また、従来のプリンタには、記憶しているフォーマッ
トデータの内容及びそのデータ量を表示する機能がない
ために、記憶されたフォーマットデータを確認する方法
がなく、また、記憶装置(RAM)の記憶容量の残量が
分からないと云う問題があった。
The present invention relates to a printer with a memory function. [Prior Art] When printing on a label or the like using a printer, the printer uses a combination of a format program for printing in each column of the label and format data (print data) suitable for each label. Labels are now printed properly. Normally, a format program is input into ROM, and format data (print data) suitable for each label is created.
is input into RAM so that it can be printed using only the printer's built-in device.However, since the storage capacity of the printer's built-in RAM is small, it is not possible to store a lot of format data, and the data stored in RAM becomes full. Even when I tried to store new format data in RAM, I realized that the RAM was full, and I hurriedly deleted the format data that was no longer needed and tried to store the new format data again. There is the problem of having to do double work. Furthermore, when deleting format data, it is necessary to search for format data that can be deleted from among the stored format data. There is no way to check the stored format data because the content cannot be read by a computer, and conventional printers do not have the ability to display the content and amount of stored format data. Additionally, there was a problem in that the remaining storage capacity of the storage device (RAM) was not known.

【発明が解決しようとする課題】[Problem to be solved by the invention]

本発明は、プリンタの記憶装置に記憶している各フォー
マットデータの内容及び記憶データの全容量若しくは記
憶装置の記憶容量の残量を表示できるようにすることを
目的とする。
An object of the present invention is to make it possible to display the contents of each format data stored in a storage device of a printer, the total capacity of the stored data, or the remaining amount of storage capacity of the storage device.

【11題を解決するための手段】 フォーマットデータを記憶する記憶手段と、同記憶手段
に記憶されたフォーマットデータによりラベル等に直接
印字する機能を有するプリンタにおいて、上記記憶手段
に記憶されたフォーマットデータのデータ量をフォーマ
ット別に算出し、算出したデータ量をフォーマット別に
表示及び全体のデータ量或は記憶手段の記憶容量の残量
を表示するようにした。
[Means for Solving Problem 11] In a printer having a storage means for storing format data and a function of directly printing on a label, etc. using the format data stored in the storage means, the format data stored in the storage means is The data amount is calculated for each format, and the calculated data amount is displayed for each format, and the total data amount or the remaining storage capacity of the storage means is displayed.

【作 用】[For use]

ラベル毎に作成されたフォーマットデータを記憶装置に
記憶する際に、該フォーマットデータが記憶される最初
のアドレス(開始コードアドレス)と最後のアドレス(
終了コードアドレス)を読み取れるようにすることで、
一つ一つのフォーマットデータのデータ量が計算できる
ようにし、記憶された全部のフォーマットデータのデー
タ量を表示できるようにすると共に、記憶装置(RAM
)の記憶容量の残りをも表示するようにすることで、入
力したいフォーマットデータが、記憶されているフォー
マットデータを削除しないで入力できるかどうかが判断
できる。また、フォーマットデータを削除する必要が生
じた時に、どのフォーマットデータを削除すれば最適か
が、即座に判断できるようになるので、フォーマットデ
ータの入力が容易になる。
When storing format data created for each label in a storage device, the first address (start code address) and last address (start code address) where the format data is stored are stored.
By making it possible to read the exit code address),
The data amount of each format data can be calculated, the data amount of all stored format data can be displayed, and the storage device (RAM)
), it can be determined whether the format data that you want to input can be input without deleting the stored format data. Furthermore, when it becomes necessary to delete format data, it becomes possible to immediately determine which format data is best to delete, which facilitates the input of format data.

【実施例】【Example】

第1図に本発明の一実施例を示す、第1図において、1
は全体を制御するホストコンピュータ、2は通信インタ
ーフェイスでホストコンピュータからの信号を受けてプ
リンタPに各種信号を入力。 させる、プリンタPはCPU3.RAM5.印字制御部
6.サーマルヘッド7、ステッピングモータ8によって
構成されており、CPU3はホストコンピュータからの
信号によりプリンタP全体を制御する。RAM5は、第
2図に示すように、ホストコンピュータから送られてく
るフォーマットデータ及び同フォーマットデータの内容
(インデックス)等その都度変更されるデータを記憶す
る、インデックスエリアに記憶されるデータは、第3図
に示すように、フォーマットデータの番号。 開始コードアドレス、終了コードアドレス、データ量で
あり、最後に全体のデータ量を計算して書き込む、この
欄にRAM5における記憶容量の残量(RAMの記憶容
量−記憶されたデータ全量)を書き込んでも良い、印字
制御部6は、内蔵ROMに記憶されているインデックス
作成プログラムによって、RAM5に記憶されたフォー
マットデータからインデックスデータを作成したり、内
蔵ROMに記憶されているフォーマットプログラム、イ
ンデックス印字プログラムによって、RAM5に記憶さ
れたフォーマットデータ或はインデックスデータを読み
取って、サーマルヘッド7及びステッピングモータ8を
制御してラベル或は用紙に印字する。第4図はインデッ
クス印字の一例で、フォーマット嵐とそのデータ量及び
RAMの記憶容量から記憶されているデータ量を引算し
た記憶容量の残量を印字している。新しくRAM5にフ
ォーマットデータを入力する時は、記憶容量の残量が記
憶したいデータ量以上あれば、そのまま記憶させ、記憶
容量の残量が記憶したいデータ量以下あれば、フォーマ
ット−覧から削除するフォーマットデータを選択し、選
択したフォーマットデータを削除した後に、新しいフォ
ーマットデータをRAM5に記憶させる。上記操作入力
はホストコンピュータ1によって行っている。 インデックス作成プログラム及びインデックス印字プロ
グラムを組合わせることにより、フォーマットデータ表
示プログラムとなり、第4図に示すフォーマット−覧表
を表示することができる。 第5図にインデックス作成プログラムとインデックス印
字プログラムを連動させたフォーマットデータ表示プロ
グラムのフローチャートを示す、まず最初にN=1と設
定する(ア)、N番目のフォーマットデータの開始コー
ドが残存するかどうかを調査する(イ)、残存する場合
には、N番目のフォーマットデータの開始コードが存在
するアドレスを検出し、開始コードアドレスを記憶する
(つ)、N番目のフォーマットデータの登録番号を検出
し記憶する(工)、N番目のフォーマットデータの終了
コードの存在するアドレスを検出し、終了コードアドレ
スを記憶する(オ)、N番目のフォーマットデータのデ
ータ容量を、データ容量=(終了コードアドレス)−(
Ill!始コートコ−ドアドレス、として計算し、記憶
する(力)、N=N+1と設定しくキ)、動作(イ)に
戻る。動作(イ)において、N番目のフォーマットデー
タの開始コードが残存しないと判断された場合には、記
憶されたフォーマットデータの全データ量を演算し、記
憶する(り)、記憶された各フォーマットデータの登録
番号、データ容量と記憶されたフォーマットデータの全
データ量或は記憶容量の残量を印字する。
FIG. 1 shows an embodiment of the present invention.
2 is a communication interface that receives signals from the host computer and inputs various signals to the printer P. The printer P uses CPU3. RAM5. Print control section 6. It is composed of a thermal head 7 and a stepping motor 8, and a CPU 3 controls the entire printer P based on signals from a host computer. As shown in FIG. 2, the RAM 5 stores format data sent from the host computer and data that changes each time, such as the content (index) of the format data. The data stored in the index area is 3. As shown in Figure 3, the format data number. Start code address, end code address, data amount.Finally, calculate and write the total data amount.Even if you write the remaining storage capacity in RAM5 (RAM storage capacity - total amount of stored data) in this column. The print control unit 6 creates index data from the format data stored in the RAM 5 using an index creation program stored in the built-in ROM, or creates index data from the format data stored in the RAM 5 using the index creation program stored in the built-in ROM. The format data or index data stored in the RAM 5 is read and the thermal head 7 and stepping motor 8 are controlled to print on a label or paper. FIG. 4 is an example of index printing, in which the format, its data amount, and the remaining storage capacity obtained by subtracting the stored data amount from the RAM storage capacity are printed. When inputting new format data to RAM 5, if the remaining storage capacity is more than the amount of data you want to store, it will be stored as is, and if the remaining amount of storage capacity is less than the amount of data you want to store, delete it from the format list. After selecting data and deleting the selected format data, new format data is stored in the RAM 5. The above operation input is performed by the host computer 1. By combining the index creation program and the index printing program, a format data display program is created, and the format list shown in FIG. 4 can be displayed. Figure 5 shows a flowchart of a format data display program that links an index creation program and an index print program.First, N=1 is set (a).Whether or not the start code of the Nth format data remains. (a) If it remains, detect the address where the start code of the Nth format data exists, and store the start code address (t). Detect the registration number of the Nth format data. Store (E), Detect the address where the end code of the N-th format data exists, and store the end code address (E), Data capacity of the N-th format data, Data capacity = (End code address) −(
Ill! Calculate and store the starting court code address (force), set N=N+1 (ki), and return to operation (b). In operation (a), if it is determined that the start code of the Nth format data does not remain, the total data amount of the stored format data is calculated and stored (i), and each stored format data is The registration number, data volume, and total data volume of stored format data or remaining storage capacity are printed.

【効 果】【effect】

本発明によれば、プリンタに記憶されているフォーマッ
トデータの内容を表示することが可能になったことで、
必要に応じてフォーマットデータを適当に削除できるよ
うになり、使用便宜性が良くなった。
According to the present invention, it is now possible to display the contents of format data stored in the printer.
It is now possible to delete format data as needed, making it more convenient to use.

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

第1図は本発明の一実施例の構成図、第2図は上記実施
例における記憶方法の説明図、第3図は上記実施例にお
けるインデックスエリアの記憶方法説明図、第4図は上
記実施例においけるプリント例、第5図はフォーマット
データ表示プログラム(インデックス作成及び印字プロ
グラム)のフローチャートである。 P・・・プリンタ、1・・・ホストコンピュータ、2・
・・通信インターフェイス、3・・・CPU、5・・・
RAM、6・・・印字制御部、7・・・サーマルヘッド
、8・・・ステッピングモータ。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is an explanatory diagram of a storage method in the above embodiment, FIG. 3 is an explanatory diagram of an index area storage method in the above embodiment, and FIG. 4 is an illustration of the above implementation. FIG. 5 is a flowchart of the format data display program (index creation and printing program). P...Printer, 1...Host computer, 2.
...Communication interface, 3...CPU, 5...
RAM, 6... Print control unit, 7... Thermal head, 8... Stepping motor.

Claims (1)

【特許請求の範囲】[Claims] フォーマットデータを記憶する記憶手段と、同記憶手段
に記憶されたフォーマットデータによりラベル等に直接
印字する機能を有するプリンタにおいて、上記記憶手段
に記憶されたフォーマットデータのデータ量をフォーマ
ット別に算出し、算出したデータ量をフォーマット別に
表示及び全体のデータ量或は記憶手段の記憶容量の残量
を表示するようにしたことを特徴とする記憶機能付プリ
ンタ。
In a printer having a storage means for storing format data and a function of directly printing on a label, etc. using the format data stored in the storage means, the amount of data of the format data stored in the storage means is calculated for each format. 1. A printer with a storage function, characterized in that the amount of data stored is displayed by format, and the total amount of data or the remaining storage capacity of a storage means is displayed.
JP2171691A 1990-06-28 1990-06-28 Printer with memory function Pending JPH0459269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2171691A JPH0459269A (en) 1990-06-28 1990-06-28 Printer with memory function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2171691A JPH0459269A (en) 1990-06-28 1990-06-28 Printer with memory function

Publications (1)

Publication Number Publication Date
JPH0459269A true JPH0459269A (en) 1992-02-26

Family

ID=15927905

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2171691A Pending JPH0459269A (en) 1990-06-28 1990-06-28 Printer with memory function

Country Status (1)

Country Link
JP (1) JPH0459269A (en)

Similar Documents

Publication Publication Date Title
JPS5876941A (en) Word processing system
JPH06238959A (en) Printer
JPH0459269A (en) Printer with memory function
US5666478A (en) Method and apparatus for processing characters based on previously- used scalable font data
JP2745478B2 (en) Print control device for character processing device
US6072584A (en) Character information processor
JP2547719B2 (en) Document processing device
JP2003067373A (en) Program, and document processor and method for processing document
JP3092264B2 (en) Printing equipment
JP2002192814A (en) Imaging apparatus with printing attribute-printing function and method for printing printing attribute
JP3158693B2 (en) Printer control device
JPH0469261A (en) Printer
JP3273607B2 (en) Document processing device
JPS6327728B2 (en)
JPH06149805A (en) Address printer
JPH04111116A (en) Character processor
JPH05309883A (en) Printing device
JPH07106654B2 (en) Information processing method
JPH10124493A (en) Device for printing data
JPH03136164A (en) Method and system for document processing
JPH0542724A (en) Character generation device
JPH03121876A (en) Data recording apparatus
JPH0462084A (en) Printer
JPH0430262A (en) Printing device
JPH01271870A (en) Kanji processor