JPS5959471A - Thermal printer control system - Google Patents

Thermal printer control system

Info

Publication number
JPS5959471A
JPS5959471A JP57172153A JP17215382A JPS5959471A JP S5959471 A JPS5959471 A JP S5959471A JP 57172153 A JP57172153 A JP 57172153A JP 17215382 A JP17215382 A JP 17215382A JP S5959471 A JPS5959471 A JP S5959471A
Authority
JP
Japan
Prior art keywords
processing
data
processor
buffer
conversion
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
JP57172153A
Other languages
Japanese (ja)
Inventor
Seiji Nakajima
誠二 中嶋
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57172153A priority Critical patent/JPS5959471A/en
Publication of JPS5959471A publication Critical patent/JPS5959471A/en
Pending 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
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/315Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material
    • B41J2/32Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material using thermal heads
    • B41J2/35Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by selective application of heat to a heat sensitive printing or impression-transfer material using thermal heads providing current or voltage to the thermal head

Landscapes

  • Electronic Switches (AREA)
  • Record Information Processing For Printing (AREA)
  • Facsimile Heads (AREA)

Abstract

PURPOSE:To improve the printing speed in execution by parallelly performing a data input and a data conversion processing with the first processor and a thermal head driving and a step motor driving with the second processor. CONSTITUTION:Tasks in the data input processing I , the data conversion processing II and the output buffer processing III are undertaken by a controller 1 and the task in the print processing IV done with a head driver 8. That is, the processings III and IV are separated to share respective loads by dispersion processing so that the control can be devoted to processings for the data inputting I , the data conversion II and the data outputting III and process data are sent out from an output buffer 5 only when a interrupt request comes from a timing controller 9. In the processing of the first processing, two input buffers 3a and 3b and one conversion buffer 4 are arranged to handle inputting and coversion even during the output standby by pipelining processings. Thus the printing speed in execution can be improved.

Description

【発明の詳細な説明】 (1)発明の技術分野 本発明はマイクロプロセッサを用いたサーマルプリンタ
制御方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to a thermal printer control system using a microprocessor.

(2)従来技術と問題点 一般にサーマルプリンタにおいては入力データを入力し
て入力バッファに蓄積し、これを変換バッファにより変
換処理してこれを出力バッファに蓄わえこれを印字処理
を行っている。かかるサーマルプリンタにおいて従来の
プリンタ制御回路はデータ入力処理とデータ変換処理と
印字処理とを順次に行っていたために実行印字時間とし
ては上記の処理時間を合計したものであり、データ入力
待ち時間、印字待ち時間で多く無駄になシ実行印字速度
の向上にあたって障害となっていた。
(2) Prior art and problems In general, thermal printers input input data and store it in an input buffer, convert it using a conversion buffer, store it in an output buffer, and print it. . Conventional printer control circuits in such thermal printers sequentially perform data input processing, data conversion processing, and printing processing, so the actual printing time is the sum of the above processing times, and the data input waiting time A lot of waiting time was wasted, which was an obstacle to improving printing speed.

(3)発明の目的 本発明は上記従来の欠点にかんがみ実行印字速度の短縮
を可能としたサーマルプリンタ制御方式を捺供すること
を目的とするものである。
(3) Object of the Invention In view of the above-mentioned drawbacks of the conventional method, it is an object of the present invention to provide a thermal printer control system that enables reduction of the actual printing speed.

(4)発明の構成 この目的は本発明によればデータ入力およびデータ変換
処理を第1のプロセッサに行なわせ、サーマルヘッド駆
動およびステップモータ駆動を第2のプロセッサに行な
わせ、前記第1のプロセッサは前記データ入力およびデ
ータ変換処理に専念し、前記第2のプロセッサからデー
タ要求があったときのみ処理済のデータを送出し、且つ
前記第1のプロセッサは複数の人力バッファおよび1個
の変換バッファおよび出力バッファを備えてなp出力待
ちの状態においてもデータの入力、変換処理を行うこと
ができるようにしたサーマルプリンタ制御方式が提案さ
れる。
(4) Structure of the Invention According to the present invention, the object is to cause a first processor to perform data input and data conversion processing, to cause a second processor to drive a thermal head and a step motor, and to is dedicated to the data input and data conversion processing, and sends out processed data only when there is a data request from the second processor, and the first processor has a plurality of manual buffers and one conversion buffer. A thermal printer control method is proposed which is equipped with an output buffer and is capable of inputting data and performing conversion processing even in a state of waiting for output.

(5)発明の実施例 以下本発明の実施例を図面によって詳細に説明する。(5) Examples of the invention Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図に本発明にかかるサーマルプリンタ制御方式のデ
ータの流れを示す。即1図において1はコン)o−ラー
、2は文字発生器、3a+3bは人力バッファ、4は変
換バッファ、5は出力バッファ、6はステップモーター
、7dステツプモータードライバ、8はヘッドドライバ
、9はタイミングコントロール、10は印字バッファ、
1lidサーマルヘツドをそれぞれ示す。なお図におい
てIはデータ入力処理、■はデータ変換処理、■は出力
、■は印字処理のそれぞれの行程を示す。なお第2図は
第1図のデータ流れを処理する制御方式のタスク70−
を示ス。
FIG. 1 shows the data flow of the thermal printer control method according to the present invention. In Figure 1, 1 is a controller, 2 is a character generator, 3a+3b is a manual buffer, 4 is a conversion buffer, 5 is an output buffer, 6 is a step motor, 7d is a step motor driver, 8 is a head driver, and 9 is a timing control, 10 is print buffer,
1lid thermal head is shown respectively. In the figure, I indicates data input processing, ■ indicates data conversion processing, ■ indicates output, and ■ indicates printing processing. Note that FIG. 2 shows the task 70- of the control system that processes the data flow shown in FIG.
Show.

第1図および第2図においてデータ入力処理、rデータ
変換処理■、出力バッファ処理IIIのタスクはコント
ローラ1が受は持ち、印字処理■のタスクはヘッドドラ
イバー8が受けもつ。すなわち出力バッファ処理■と印
字処理■とを分離し、処理I〜■を第1のプロセッサ(
メインゾロセッサ)に行なわせ、処理■を第2のプロセ
ッサ(サブプロセッサ)に行なわせる分散処理とし、そ
れぞれのプロセッサに負荷を分担させ、第1のプロセッ
サはデータ入力(1)、データ変換([)、データ出力
(IIllの処理に専念させる。そしてタイミングコン
トロール9よシ出力パソファ5に対して割込要求があっ
たときにのみ出力バッファ5よシ処理済のデータを送出
する。
In FIGS. 1 and 2, the controller 1 takes charge of the tasks of data input processing, r data conversion processing (2), and output buffer processing III, and the head driver 8 takes charge of the printing processing (2). In other words, output buffer processing (■) and print processing (■) are separated, and processes I to (■) are carried out by the first processor (
This is a distributed processing in which the main processor (main processor) performs processing (1), and the second processor (subprocessor) performs processing (2), and each processor shares the load. ) and data output (IIll). Then, only when the timing control 9 makes an interrupt request to the output buffer 5, the processed data is sent out from the output buffer 5.

なおコントローラー1の第1のプロセッサによる処理に
おいては2個の入力バッファ3 a + 3 h %1
個の変換バッファ4および出力バッファ5を有し、入力
処理、変換処理、出力処理を・母イブライン化して出力
待ちの状態においてもデータの入力、変換処理を行ない
うるように構成される。
Note that in the processing by the first processor of the controller 1, two input buffers 3 a + 3 h %1
It has two conversion buffers 4 and an output buffer 5, and is configured so that input processing, conversion processing, and output processing are integrated into a single line, so that data input and conversion processing can be performed even in a state of waiting for output.

第3図はコントローラ1内の第1のプロセッサによるテ
′−タ処理のフローチャートを示し、ブロック31にお
いて人力バッファが一杯であるか否かを検出し一杯であ
る場合には人力バッファの内容はつぎつぎにブロック3
3に移される。入力バッファが一杯でない場合にはデー
タ人力32が行なわれる。つぎにプ0.7り33におい
ては変換バの変換≠4が行なわれる。ブロック33にお
いて変換バッファが一杯である場合にはそのデータは出
力バッファに移される。ブロック35において出力バッ
ファの内容が一杯でない場合には変換バッファのデータ
が出力バッファに移されるがその内容が一杯である場合
にはブロック31にフィードバックしてデータ入力を停
止する。
FIG. 3 shows a flowchart of data processing by the first processor in the controller 1. In block 31, it is detected whether or not the manual buffer is full, and if it is full, the contents of the manual buffer are stored one after another. to block 3
Moved to 3. Data input 32 is performed if the input buffer is not full. Next, in step 0.7 33, conversion of conversion bar≠4 is performed. If the translation buffer is full at block 33, the data is moved to the output buffer. In block 35, if the content of the output buffer is not full, the data in the conversion buffer is transferred to the output buffer, but if the content is full, it is fed back to block 31 and data input is stopped.

つffK第2のプロセッサによるデータ処理のフローチ
ャートを第4図に示す。まずブロック41において第2
のゾロセッサが甲1のゾロセッサに対して割込みをかけ
る。ブロック42において出力・ぐソファにデータがあ
るかないかを検出しτ−タがある場合にはその内容を印
字バッファに移して印字を行ない、もし出力バッファに
データがない場合にはブロック44により割込み禁止を
行なう。
A flowchart of data processing by the second processor is shown in FIG. First, in block 41, the second
Zorosessa interrupts Zorosessa of A1. In block 42, it is detected whether or not there is data in the output buffer, and if there is τ-data, the contents are transferred to the print buffer and printed, and if there is no data in the output buffer, an interrupt is sent in block 44. prohibition.

(6)発明の効果 以上詳細に説明したように本発明によれば、データ入力
、データ変換、印字を平行して行ないデータ入力待ち時
間、印字待ち時間を大幅に減少することによシ実効印字
速度(スループット)を大幅に向上させることができる
(6) Effects of the Invention As explained in detail above, according to the present invention, data input, data conversion, and printing are performed in parallel, thereby significantly reducing data input waiting time and printing waiting time, thereby achieving effective printing. Speed (throughput) can be significantly improved.

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

第1図は本発明にかかるサーマルプリンタ制御方式にお
けるデータの流れを示す図、氾2図は本発明の方式のタ
スク70−を示す図、a’:3図および第4図は本発明
におけるゾロセッサの動作70チヤートをそれぞれ示す
。 図において■はデータ入力処理、■はデータ変換処理、
IIIはデータ出力処理、■は印字処理、31〜36&
i第1のプロセッサの動作フローチャート、41〜45
は第2のプロセッサの動作フローチャートをそれぞれ示
す。 特許出願人 富士逆株式会社 11キ詐出願代理人 弁理士 青 木   朗 弁理士西舘和之 弁理士内田幸男 弁理士 山 口 昭 之
FIG. 1 is a diagram showing the data flow in the thermal printer control method according to the present invention, FIG. 2 is a diagram showing the task 70- of the method of the present invention, and FIG. 70 charts are shown for each operation. In the figure, ■ indicates data input processing, ■ indicates data conversion processing,
III is data output processing, ■ is printing processing, 31 to 36 &
Operation flowchart of i-first processor, 41 to 45
1 and 2 show operation flowcharts of the second processor, respectively. Patent Applicant Fuji Reverse Co., Ltd. 11K Fraud Application Agent Patent Attorney Akira Aoki Patent Attorney Kazuyuki Nishidate Patent Attorney Yukio Uchida Patent Attorney Akira Yamaguchi

Claims (1)

【特許請求の範囲】[Claims] データ入力およびデータ変換処理を第1のプロセッサに
行なわせ、サーマルヘッド駆動およびステップモータ駆
動を第2のプロセッサに行なわせ、前記第1のプロセッ
サは前記データ入力およびデータ変換処理に専念し、前
記第2のプロセッサからデータ要求があったときのみ処
理済のデータを送出し、且つ前記第1のプロセッサは複
数の入力バッファおよび1個の変換バッファおよび出力
バッファ金儲えてなり出力待ちの状態においてもデータ
の入力、変換処理を行うことができるようにしたサーマ
ルプリンタ制御方式
A first processor performs data input and data conversion processing, a second processor performs thermal head driving and step motor driving, and the first processor is dedicated to the data input and data conversion processing; The first processor sends processed data only when there is a data request from the second processor, and the first processor has a plurality of input buffers, one conversion buffer, and an output buffer. Thermal printer control method that allows input and conversion processing of
JP57172153A 1982-09-30 1982-09-30 Thermal printer control system Pending JPS5959471A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57172153A JPS5959471A (en) 1982-09-30 1982-09-30 Thermal printer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57172153A JPS5959471A (en) 1982-09-30 1982-09-30 Thermal printer control system

Publications (1)

Publication Number Publication Date
JPS5959471A true JPS5959471A (en) 1984-04-05

Family

ID=15936543

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57172153A Pending JPS5959471A (en) 1982-09-30 1982-09-30 Thermal printer control system

Country Status (1)

Country Link
JP (1) JPS5959471A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6135264A (en) * 1984-07-27 1986-02-19 Yokogawa Hokushin Electric Corp Printer
JPS61190625A (en) * 1985-02-19 1986-08-25 Fujitsu Ltd Printer control system
JPS61223934A (en) * 1985-03-29 1986-10-04 Hitachi Ltd Printing controlling system
JPS62181560A (en) * 1986-02-05 1987-08-08 Canon Inc Driving method for zigzag type recording head
JPS6398444A (en) * 1986-10-15 1988-04-28 Kubota Ltd Label printer device
JPH0527926A (en) * 1991-01-17 1993-02-05 Fujitsu Ltd Controller and printer

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6135264A (en) * 1984-07-27 1986-02-19 Yokogawa Hokushin Electric Corp Printer
JPS61190625A (en) * 1985-02-19 1986-08-25 Fujitsu Ltd Printer control system
JPS61223934A (en) * 1985-03-29 1986-10-04 Hitachi Ltd Printing controlling system
JPS62181560A (en) * 1986-02-05 1987-08-08 Canon Inc Driving method for zigzag type recording head
JPS6398444A (en) * 1986-10-15 1988-04-28 Kubota Ltd Label printer device
JPH0527926A (en) * 1991-01-17 1993-02-05 Fujitsu Ltd Controller and printer

Similar Documents

Publication Publication Date Title
CN101446888A (en) Method for processing print jobs and system thereof
JPS5959471A (en) Thermal printer control system
JP2000318228A (en) Method for controlling passage of medium via mixed speed printing process
US8400662B2 (en) Printer control device for controlling concurrently input print data, and printer apparatus with a printer control device
CN100520701C (en) Parallel IPDS and non-IPDS print processing method and control unit
JP2002215352A (en) Image processing device
JP2002205443A (en) Interruption print system and interruption printing method
JPH01184156A (en) Printing automatic contracting/magnifying system of printer
JPH111048A (en) Printing control method and printing apparatus
JP2872246B2 (en) Printer distributed processing method
JPH0267156A (en) Printer
JP3091679U (en) Printer
JPS60200353A (en) Control system of input and output device
JP3064720U (en) Printing device
JP2013075487A (en) Printing device and control method thereof
JPH01103466A (en) Control in page-type printer device
JPH05307451A (en) Print output control system
JPH01253464A (en) Printing device
JP2000289295A (en) Printer apparatus
JPS6163462A (en) Multiple interruption processing method in printer
JP2008288795A (en) Image output device
JPS63179758A (en) Drawing image control system of serial dot printer
JPS59123987A (en) Print data developing method of image memory
JPH11291590A (en) Printer
JPH07319647A (en) Printer and its control method