JPH0753457B2 - Label printer device - Google Patents

Label printer device

Info

Publication number
JPH0753457B2
JPH0753457B2 JP61246374A JP24637486A JPH0753457B2 JP H0753457 B2 JPH0753457 B2 JP H0753457B2 JP 61246374 A JP61246374 A JP 61246374A JP 24637486 A JP24637486 A JP 24637486A JP H0753457 B2 JPH0753457 B2 JP H0753457B2
Authority
JP
Japan
Prior art keywords
control unit
label
cpu chip
data
print data
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 - Lifetime
Application number
JP61246374A
Other languages
Japanese (ja)
Other versions
JPS6398444A (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.)
Kubota Corp
Original Assignee
Kubota 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 Kubota Corp filed Critical Kubota Corp
Priority to JP61246374A priority Critical patent/JPH0753457B2/en
Publication of JPS6398444A publication Critical patent/JPS6398444A/en
Publication of JPH0753457B2 publication Critical patent/JPH0753457B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J5/00Devices or arrangements for controlling character selection
    • B41J5/30Character or syllable selection controlled by recorded information

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Labeling Devices (AREA)

Abstract

PURPOSE:To enhance printing speed without using a CPU chip having a high processing capability, by sharing a label-issuing operation between a first controlling part and a second controlling part, and connecting the first and second controlling means to each other through a FIFO register. CONSTITUTION:A first CPU chip 18 as a first controlling part performs an operation [b-1] of reading external printing data through communication with a charge or rate meter 2 and an operation [b-2] of developing the read printing data into dot patterns, writing the dot patterns into a RAM 19, reading the patterns from the RAM 19 and outputting the patterns. The internal printing data read by the operation [b-2] is written into a FIFO register 20. A second CPU chip 21 as a second controlling part performs an operation [c-1] of reading the internal printing data from the FIFO register 20 and a printer-controlling operation [c-2] for operating a printer device 4 based on the internal printing data read by the operation [c-1] and written into a RAM 22.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は料金はかりなどと組み合せて使用され、計重
値、単価、価格などの所定の項目をラベルに印字して、
この印字の完了したラベルを発行するラベルプリンタ装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION INDUSTRIAL APPLICABILITY The present invention is used in combination with a toll scale or the like, and prints predetermined items such as a weight value, a unit price, and a price on a label,
The present invention relates to a label printer device that issues a label that has been printed.

従来の技術 従来のラベルプリンタ装置は、第5図のように単一のCP
Uチップ1を使用して、このCPUチップ1が料金はかり2
からの外部印字データの読み取り動作〔a−1〕と、外
部印字データを所定印字フォーカットの内部印字データ
に変換してRAM3に蓄積する展開動作〔a−2〕と、RAM3
から読み出した内部印字データに基づいて印字ヘッドの
駆動ならびにラベル送りするようプリンタ装置4を制御
するプリンタ制御動作〔a−3〕とを実行するよう構成
されている。
2. Description of the Related Art A conventional label printer device has a single CP as shown in FIG.
Using the U chip 1, this CPU chip 1 will be charged 2
Reading operation of external print data from [a-1], expanding operation [a-2] of converting external print data into internal print data of a predetermined print forcut and storing it in RAM3, and RAM3
The printer control operation [a-3] for controlling the printer unit 4 to drive the print head and feed the label is executed based on the internal print data read from the printer.

第3図と第4図はプリンタ装置4の構成を示す。供給リ
ール5には、一方の面Aの上に等間隔で感熱ラベル6
〔以下、ラベルと称す〕が貼着された帯状剥離台紙7の
巻装体8が取付けられている。供給リール5から引き出
された帯状剥離台紙7は、鋭角辺Bを有する剥離体9を
経由して巻取リール10に掛張されている。剥離体9と供
給リール5との間には、サーマルヘッド11とプラテンロ
ーラ12が前記剥離台紙7を介して対向するよう配設され
ており、サーマルヘッド11はばね等により支持軸13を中
心としてプラテンローラ12側〔矢印C方向〕に付勢され
ている。ラベル発行時には、センサ14がラベル6の後縁
を検出してからラベル貼着の間隔lだけステッピングモ
ータ15で剥離台紙7を送り、その移送中にサーマルヘッ
ド11でラベル6に印字して、ラベル取出口16に発行す
る。
3 and 4 show the configuration of the printer device 4. The supply reel 5 has heat-sensitive labels 6 on one surface A at equal intervals.
A winding body 8 of a strip-shaped release mount 7 to which [hereinafter, referred to as a label] is attached is attached. The strip-shaped peeling mount 7 pulled out from the supply reel 5 is hung on the take-up reel 10 via the peeling body 9 having the acute side B. A thermal head 11 and a platen roller 12 are disposed between the peeling body 9 and the supply reel 5 so as to face each other via the peeling mount 7, and the thermal head 11 is centered on the support shaft 13 by a spring or the like. It is urged toward the platen roller 12 side [direction of arrow C]. When the label is issued, the sensor 14 detects the trailing edge of the label 6 and then the stepping motor 15 sends the peeling mount 7 by the label attachment interval l, and the thermal head 11 prints on the label 6 during the transfer. Issued to the exit 16.

第6図は前記展開動作とプリンタ装置4による印字の様
子を示す。第1図の〔a−1〕で読み取った外部印字デ
ータに基づいてキャラクタジェネレータ17から読み出し
たドットパターンが第2図(a)のように“A"“B"であ
ったとすると、RAM3には1ライン分づつのデータI〜V
に分解して順番に書き込まれる。ここでは5行分で表わ
されているが、実際の行数は数百行と多い。そして〔a
−3〕ではRAM3から読み出したライン分づつのデータで
サーマルヘッド11を駆動し、ラベル6を送りながら“A
B"を印字する。第6図(b)では印字途中のラベル6を
表わし、18はサーマルヘッド11の発熱部の位置を表わし
ている。
FIG. 6 shows the unfolding operation and printing by the printer device 4. If the dot pattern read from the character generator 17 based on the external print data read in [a-1] of FIG. 1 is “A” “B” as shown in FIG. Data I to V for each line
It is decomposed into and written in order. Although it is represented by five lines here, the actual number of lines is as large as several hundreds. And [a
-3], the thermal head 11 is driven by the data for each line read from the RAM 3, and the label 6 is sent while "A
B "is printed. In FIG. 6B, the label 6 is being printed, and 18 is the position of the heat generating portion of the thermal head 11.

発明が解決しようとする問題点 このような従来の構成では、印字速度がCPUチップ1の
処理能力で決まり、印字速度を向上させるためには処理
能力の高いCPUチップを使用した装置とすることが要求
されている。
Problems to be Solved by the Invention In such a conventional configuration, the printing speed is determined by the processing capacity of the CPU chip 1, and in order to improve the printing speed, an apparatus using a CPU chip with high processing capacity may be used. Is required.

本発明は処理能力の高いCPUチップを使用せずとも従来
より印字速度を向上させるとができるラベルプリンタ装
置を提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a label printer device capable of improving the printing speed as compared with the conventional printer without using a CPU chip having a high processing capacity.

問題点を解決するための手段 本発明のラベルプリンタ装置は、外部から与えられる外
部印字データの読み取り動作と、読み取った印字データ
を文字キャラクタに変換してさらに所定印字フォーマッ
トの内部印字データに展開する展開動作と、内部印字デ
ータを出力する転送動作とを実行する第1の制御部と、
この第1の制御部とは別に、内部印字データに基づいて
印字ヘッドの駆動ならびにラベル送りするプリンタ制御
動作とを実行する第2の制御部と、第1と第2の制御部
とを結合するFIFOレジスタとを設けたことを特徴とす
る。
Means for Solving Problems The label printer device of the present invention reads an external print data given from the outside, converts the read print data into a character character, and further develops the internal print data of a predetermined print format. A first control unit that executes a developing operation and a transfer operation that outputs internal print data;
Separately from the first control unit, the second control unit for executing the printer control operation for driving the print head and feeding the label based on the internal print data is combined with the first and second control units. A FIFO register is provided.

作用 この構成によると、ラベルの印字発行に必要な一連の演
算動作を第1の制御部と第2制御部とで分担して、負荷
を軽くして処理速度を高め両制御部は各々独立して動作
し、この独立して動作する両制御部を結合するのにFIFO
レジスタがデータ授受の緩衝手段となる。FIFOレジスタ
を採用したことによって、第1の制御部と第2の制御部
は非同期で動作することができ、第1の制御部は任意の
タイミングでFIFOレジスタにアクセスしてデータを書き
込み、第2の制御部はFIFOレジスタに書き込まれたデー
タを任意のタイミングでFIFOレジスタにアクセスして読
み出すことができ、さらに、第1の制御部と第2の制御
部が同時にFIFOレジスタにアクセスして運転することも
できる。
Operation According to this configuration, the first control unit and the second control unit share the series of arithmetic operations required for printing and issuing the label to reduce the load and increase the processing speed, and both control units are independent of each other. FIFO to connect both independently operating controls
The register serves as a buffer for data transfer. By adopting the FIFO register, the first control unit and the second control unit can operate asynchronously, and the first control unit accesses the FIFO register at any timing to write data, and The control unit can access and read the data written in the FIFO register at any timing, and the first control unit and the second control unit can simultaneously access and operate the FIFO register. You can also

実施例 以下、本発明の一実施例を第1図と第2図に基づいて説
明する。なお、プリンタ装置の構成は第3図、第4図と
同一であるためその説明を省く。
Embodiment An embodiment of the present invention will be described below with reference to FIGS. 1 and 2. The configuration of the printer device is the same as that shown in FIGS. 3 and 4, and the description thereof is omitted.

第1図は本発明のラベルプリンタ装置を示す。18は第1
の制御部としての第1のCPUチップで、第5図の〔a−
1〕〔a−2〕と同じように料金はかり2と通信して外
部印字データの読み取り動作〔b−1〕を実行し、読み
取った印字データを次いでドットパターンに展開してRA
M19に書き込むとともにRAM19から読み出して出力する読
み出し動作〔b−2〕を実行する。20は〔b−2〕で読
み出された内部印字データが書き込まれるFIFOレジス
タ、21は第2の制御部としての第2のCPUチップで、FIF
Oレジスタ20からの内部印字データの読み出し動作〔c
−1〕と、〔c−1〕で読み出されてRAM22に書き込ま
れた内部印字データに基づいて第5図の〔a−3〕と同
じようにプリンタ装置4を動作させるプリンタ制御動作
〔c−2〕とを実行する。
FIG. 1 shows a label printer device of the present invention. 18 is the first
The first CPU chip as a control unit of the
1] As in [a-2], the external print data reading operation [b-1] is executed by communicating with the toll balance 2, and the read print data is then expanded into a dot pattern and RA
A read operation [b-2] of writing to M19 and reading from the RAM 19 and outputting is executed. 20 is a FIFO register in which the internal print data read in [b-2] is written, 21 is a second CPU chip as a second control unit, and FIF
Read operation of internal print data from O register 20 [c
-1] and the printer control operation [c] for operating the printer device 4 in the same manner as in [a-3] of FIG. 5 based on the internal print data read in [c-1] and written in the RAM 22. -2] and are executed.

前記の第1のCPUチップ18とFIFOレジスタ20とのデータ
の授受の様子、FIFOレジスタ20と第2のCPUチップ21と
のデータの授受の様子および第1、第2のCPUチップ18,
21の間の相互関係について詳しく説明する。
A state of data exchange between the first CPU chip 18 and the FIFO register 20, a state of data exchange between the FIFO register 20 and the second CPU chip 21, and the first and second CPU chips 18,
The interrelationship between the 21 will be explained in detail.

先ず、第2のCPUチップ21からの制御信号ライン23を第
1のCPUチップ18がチェックし、第2のCPU21の状態が、
印字中情報がオフ、データ取り込み可能情報がオン、エ
ラー情報がオフのときにRAM19から展開済のドットデー
タを読み出してコントロールワードとともにFIFOレジス
タ20に書き込む。このとき同時に第1のCPUチップ18か
ら第2のCPUチップ21へのデータ転送中信号24をオンす
る。ここで、前記コントロールワールドとしてはドット
データの転送を表わすコード“01"と、ステッピングモ
ータ15がラベル6を前記の間隔lだけ移送するに必要な
パルス数を表わすコード“06"、無印字ライン数を表わ
すコード“02"、同一データのライン数を表わすコード
“07"などが使われており、ドットデータの転送時には
“01"のコントロールワードに続いて各ラインごとのド
ットデータを直列に出力し、最終ラインのドットデータ
を送り終えるとデータ転送終了を表わす“04"のコント
ロールワードを送り、データ転送中信号24をオフする。
First, the first CPU chip 18 checks the control signal line 23 from the second CPU chip 21, and the state of the second CPU 21 is
When the printing information is off, the data fetchable information is on, and the error information is off, the developed dot data is read from the RAM 19 and written into the FIFO register 20 together with the control word. At this time, simultaneously, the data transfer signal 24 from the first CPU chip 18 to the second CPU chip 21 is turned on. Here, as the control world, a code "01" indicating the transfer of dot data, a code "06" indicating the number of pulses required for the stepping motor 15 to transfer the label 6 by the above interval l, the number of non-printing lines. A code "02" that indicates the number of lines of the same data, a code "07" that indicates the number of lines of the same data, etc. are used. When transferring dot data, the dot data for each line is output serially after the control word of "01". , When the dot data of the last line has been sent, the control word of "04" indicating the end of data transfer is sent, and the data transfer signal 24 is turned off.

第2のCPUチップ21はFIFOレジスタ20からコントロール
ワードとドットデータとを読み出してRAM22に記憶す
る。第2のCPUチップ21はデータ転送中信号24かオフに
なるかあるいはRAM22に記憶されたデータ量が所定の値
に達したことを検出すると、RAM22からドットデータを
読み出してサーマルヘッド11に転送するとともにステッ
ピングモータ15を動かして印字を実行させ、これと同時
に制御信号ライン23の印字中情報をオンにする。
The second CPU chip 21 reads the control word and the dot data from the FIFO register 20 and stores them in the RAM 22. The second CPU chip 21 reads dot data from the RAM 22 and transfers it to the thermal head 11 when it detects that the signal 24 during data transfer is turned off or when the amount of data stored in the RAM 22 reaches a predetermined value. At the same time, the stepping motor 15 is moved to execute printing, and at the same time, the printing information on the control signal line 23 is turned on.

なお、第1図において25は第1のCPUチップ18からFIFO
レジスタ20へのデータに同期して出力される書き込み用
シフトパルス、26はFIFOレジスタ20からデトータを読み
出すために第2のCPUチップ21が出力するシフトパル
ス、27はFIFOレジスタ20から第1のCPUチップ18へデー
タが満杯で書き込みができないことを知らせるFIFO満杯
信号、28は第2のCPUチップ21が誤った空データを読み
込まないようにFIFOレジスタ20が第2のCPUチップ21へ
出力するFIFO空信号である。
In FIG. 1, 25 is a FIFO from the first CPU chip 18
A write shift pulse that is output in synchronization with the data to the register 20, 26 is a shift pulse that the second CPU chip 21 outputs to read the detorter from the FIFO register 20, and 27 is the first register that is output from the FIFO register 20. A FIFO full signal indicating that data cannot be written to the chip 18 and 28 is a FIFO empty signal output from the FIFO register 20 to the second CPU chip 21 to prevent the second CPU chip 21 from reading erroneous empty data. It is a signal.

第2図は従来のデータ処理状態aと第1図の構成のデー
タ処理状態bの処理に必要な時間長さを対比している。
第2図aでは第5図における〔a−3〕の印字が完了し
てからでないと、〔a−1〕を実行して次のラベルの情
報を読み込むことができない。T1,T2は第1枚目、第2
枚目のラベル発行期間を表わしている。これに対して第
2図(b)では、第1図の〔c−2〕が完了する前に第
1のCPUチップ18の側では〔b−1〕の通信によって次
のラベルの情報を読み込みを開始できるため、第1枚目
と第2枚目のラベル発行期間T1′,T2′を第2図(a)
のT1,T2と比べてわかるように、 (T1′+T2′)<(T1+T2) となっており、同じ処理能力のCPUチップであっても高
速印字させることができる。
FIG. 2 compares the time length required for processing the conventional data processing state a with the data processing state b of the configuration of FIG.
In FIG. 2a, the printing of [a-3] in FIG. 5 must be completed before the information of the next label can be read by executing [a-1]. T 1 and T 2 are the first and second
It represents the period for issuing the first label. On the other hand, in FIG. 2B, the information of the next label is read by the communication of [b-1] on the side of the first CPU chip 18 before the completion of [c-2] of FIG. The label issuing period T 1 ′, T 2 ′ for the first and second sheets can be set as shown in FIG.
As can be seen from comparison with T 1 and T 2 in ( 1 ), (T 1 ′ + T 2 ′) <(T 1 + T 2 ), and even a CPU chip with the same processing capacity can print at high speed.

発明の効果 以上説明のように本発明は、第1の制御部と第2の制御
部でラベルの発行動作を分担して、第1、第2の制御部
をFIFOレジスタを介して結合したため、処理能力が高い
CPUチップを使用して印字速度を向上させることをせず
とも、従来と同じ処理能力のCPUチップであっても印字
速度を従来よりも向上させることができる。また、FIFO
レジスタを採用したことによって、第1の制御部と第2
の制御部は非同期で動作することができ、第1の制御部
は任意のタイミングでFIFOレジスタにアクセスしてデー
タを書き込み、第2の制御部はFIFOレジスタに書き込ま
れたデータを任意のタイミングでFIFOレジスタにアクセ
スして読み出すことができ、さらに、第1の制御部と第
2の制御部が同時にFIFOレジスタにアクセスして運転す
ることもでき、第1の制御部と第2の制御部の個々の設
計の自由度を向上を期待できる。
EFFECTS OF THE INVENTION As described above, according to the present invention, the label issuing operation is shared by the first control unit and the second control unit, and the first and second control units are coupled via the FIFO register. High processing capacity
Even if the printing speed is not improved by using the CPU chip, the printing speed can be improved more than the conventional one even if the CPU chip has the same processing capacity as the conventional one. Also, the FIFO
By adopting the register, the first control unit and the second
The control unit can operate asynchronously, the first control unit accesses the FIFO register to write data at an arbitrary timing, and the second control unit writes the data written to the FIFO register at an arbitrary timing. The FIFO register can be accessed and read out. Further, the first control unit and the second control unit can simultaneously access and operate the FIFO register, and the first control unit and the second control unit can operate. It can be expected to improve the degree of freedom in individual design.

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

第1図は本発明のラベルプリンタ装置の概略の構成図、
第2図は従来のラベル発行動作と第1図におけるラベル
発行動作との対比説明図、第3図はプリンタ装置の縦断
側面図、第4図は第3図の平面図、第5図は従来のラベ
ルプリンタ装置の概略の構成図、第6図は展開動作とラ
ベル印字状態の説明図である。 18……第1のCPUチップ〔第1の制御部〕、20……FIFO
レジスタ、21……第2のCPUチップ〔第2の制御部〕。
FIG. 1 is a schematic configuration diagram of a label printer device of the present invention,
FIG. 2 is an explanatory view for comparing the conventional label issuing operation with the label issuing operation in FIG. 1, FIG. 3 is a vertical side view of the printer device, FIG. 4 is a plan view of FIG. 3, and FIG. FIG. 6 is a schematic configuration diagram of the label printer device of FIG. 6, and FIG. 6 is an explanatory diagram of a developing operation and a label printing state. 18 ... First CPU chip [first control unit], 20 ... FIFO
Register, 21 ... Second CPU chip [second control unit].

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】第1の制御部と第2の制御部の間にFIFOレ
ジスタを設け、前記第1の制御部を、外部から与えられ
る外部印字データの読み取り動作と、読み取った印字デ
ータを文字キャラクタに変換してさらに所定印字フォー
マットの内部印字データに展開する展開動作と、内部印
字データを前記FIFOレジスタに出力する転送動作とを実
行するよう構成し、前記第2の制御部を、前記FIFOレジ
スタからの内部印字データの読み出し動作と、読み出し
た内部印字データに基づいて印字ヘッドの駆動ならびに
ラベル送りするプリンタ制御動作とを実行するよう構成
したラベルプリンタ装置。
1. A FIFO register is provided between a first control unit and a second control unit, and the first control unit reads the external print data given from the outside and the read print data is printed as a character. The second control unit is configured to execute a decompressing operation for converting the character into a character and further decompressing the internal print data in a predetermined print format and a transfer operation for outputting the internal print data to the FIFO register. A label printer device configured to execute an operation of reading internal print data from a register, and a printer control operation of driving a print head and feeding a label based on the read internal print data.
JP61246374A 1986-10-15 1986-10-15 Label printer device Expired - Lifetime JPH0753457B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61246374A JPH0753457B2 (en) 1986-10-15 1986-10-15 Label printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61246374A JPH0753457B2 (en) 1986-10-15 1986-10-15 Label printer device

Publications (2)

Publication Number Publication Date
JPS6398444A JPS6398444A (en) 1988-04-28
JPH0753457B2 true JPH0753457B2 (en) 1995-06-07

Family

ID=17147592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61246374A Expired - Lifetime JPH0753457B2 (en) 1986-10-15 1986-10-15 Label printer device

Country Status (1)

Country Link
JP (1) JPH0753457B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3166156B2 (en) * 1987-04-07 2001-05-14 ミノルタ株式会社 Printer control device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5959471A (en) * 1982-09-30 1984-04-05 Fujitsu Ltd Thermal printer control system
JPS60205630A (en) * 1984-03-30 1985-10-17 Hitachi Ltd Printer controller

Also Published As

Publication number Publication date
JPS6398444A (en) 1988-04-28

Similar Documents

Publication Publication Date Title
JP3081986B2 (en) Small printer
US4085445A (en) Text merge with copies and envelopes
JPS6022234A (en) Form overlay type printer
JPH07205467A (en) Control circuit for heat-sensitive press
JPS61206663A (en) Printing method in thermal printer
JPH0753457B2 (en) Label printer device
US4649501A (en) Band printer control system architecture
US4956717A (en) Method of and apparatus for controller duplex page printer
JPS58155973A (en) Printing method for thermal label printer
JPH0616764Y2 (en) Dot matrix printer
JP3531028B2 (en) Printer
JP3302146B2 (en) Printer device and head drive circuit thereof
JPS6071266A (en) Print control system
JPH11151849A (en) Printer
JP3586324B2 (en) Thermal line printer and driving method of thermal line printer
JP3098435B2 (en) Control system for multiple thermal heads
JP2767245B2 (en) Printhead print control method
JPH1110962A (en) Printer and printing method
JPS59136274A (en) Label printer
JP2790304B2 (en) Printer control device
JPH08258346A (en) Data processor
JPS61131967A (en) Thermal printer
JPS63116863A (en) Printing method for dot printer
JPS63265661A (en) Thermal head controlling system
JPS63116859A (en) Dot driving method for printing head