JPH0358318B2 - - Google Patents

Info

Publication number
JPH0358318B2
JPH0358318B2 JP58224696A JP22469683A JPH0358318B2 JP H0358318 B2 JPH0358318 B2 JP H0358318B2 JP 58224696 A JP58224696 A JP 58224696A JP 22469683 A JP22469683 A JP 22469683A JP H0358318 B2 JPH0358318 B2 JP H0358318B2
Authority
JP
Japan
Prior art keywords
command
input
processing means
execution processing
operates
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
JP58224696A
Other languages
Japanese (ja)
Other versions
JPS60115481A (en
Inventor
Kyobumi Nosaka
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP58224696A priority Critical patent/JPS60115481A/en
Publication of JPS60115481A publication Critical patent/JPS60115481A/en
Publication of JPH0358318B2 publication Critical patent/JPH0358318B2/ja
Granted 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
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/52Top-and-bottom stop mechanisms

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、媒体の自動先出し動作が可能なプリ
ンタ装置に係り、特に操作パネル上等に設けたス
イツチの設定によつて既存プリンタとの媒体互換
を可能にすると共に、当該プリンタ装置特有の動
作の場合にはスイツチの設定を無視して最小上端
余白で媒体の先出し動作が可能になつたプリンタ
装置に関するものである。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a printer device capable of automatic media advance operation, and in particular, it is possible to make media compatible with existing printers by setting a switch provided on an operation panel or the like. The present invention relates to a printer device which is capable of first-feeding a medium with a minimum top margin, ignoring switch settings in the case of an operation peculiar to the printer device.

〔従来技術の問題点〕[Problems with conventional technology]

媒体は自動先出し動作が可能なプリンタ装置で
は、従来、以前のプリンタ装置との媒体上の互換
を無視するか、又は、仮に既存のものと互換がと
れるとしてもそのプリンタ装置自身の有する最高
性能(ここでは最小上端余白)を犠牲にして、以
前のプリンタ装置のものに固定されてしまう等の
問題があつた。
Conventionally, in printers capable of automatic media first-out operation, compatibility with previous printers is ignored, or even if compatibility with existing printers is possible, the maximum performance of the printer itself ( Here, there were problems such as sacrificing the minimum top margin (minimum top margin) and fixing it to that of the previous printer device.

〔発明の目的〕[Purpose of the invention]

本発明は、上記の考察に基づくものであつて、
媒体の自動先出し動作が可能なプリンタ装置にお
いて、既存装置との媒体上の互換を可能とするた
めに、上端余白を切替え可能とすると共に、当該
プリンタ装置特有のコマンドが指定された時は上
端余白を最小にして媒体の自動先出し動作を行い
得るようにしたプリンタ装置を提供することを目
的とするものである。
The present invention is based on the above considerations, and includes:
In order to enable media compatibility with existing devices in printer devices that are capable of automatic media first-out operation, the top margin can be switched, and when a command specific to the printer device is specified, the top margin can be changed. It is an object of the present invention to provide a printer device that can perform an automatic first-out operation of media while minimizing the amount of time required.

〔発明の構成〕[Structure of the invention]

そのために本発明のプリンタ装置は、 プリンタ機構部と、 入力されたコマンドに従つて前記プリンタ機構
部を制御するプリンタ制御部と、 種々の値Nを設定できるデイツプ・スイツチと
を具備するプリンタ装置であつて、 前記プリンタ制御部は、 用紙の供給を指示するロード、コマンドが入力
された時に動作し、用紙上端余白が定数値Nc
なるように、用紙を取り込む処理を行うロード・
コマンド実行処理手段と、 前記ロード・コマンド実行処理手段の処理によ
つて用紙が取り込まれた後に動作し、次のコマン
ドが入力された時に当該入力コマンドが所定種類
のコマンドであるか、他の所定種類のコマンドで
あるかを判定するコマンド判定手段と、 前記コマンド判定手段によつて所定種類のコマ
ンドが入力されたと判定された時に動作するコマ
ンド実行処理手段と、 前記コマンド判定手段によつて他の所定種類の
コマンドが入力されたと判定された時に動作する
他コマンド実行処理手段と を有し、 前記コマンド実行処理手段は、前記デイツプ・
スイツチの指定値Nから定数値Ncを減算した値
だけ追加の用紙送りを行い、その後で対応するコ
マンドの処理を行うように構成され、 前記他コマンド実行処理手段は、前記追加の用
紙送りを行うことなく、対応するコマンドの処理
を行うよう構成されている ことを特徴とするものである。
To this end, the printer device of the present invention includes a printer mechanism section, a printer control section that controls the printer mechanism section according to input commands, and a dip switch that can set various values N. The printer control unit operates when a load command is input that instructs paper supply, and performs processing to take in paper so that the top margin of the paper becomes a constant value Nc .
A command execution processing means, which operates after the paper is taken in by the processing of the load command execution processing means, and when the next command is input, it is determined whether the input command is a predetermined type of command or another predetermined command. command determining means for determining whether the command is of a certain type; command execution processing means that operates when the command determining means determines that a predetermined type of command has been input; and other command execution processing means that operates when it is determined that a predetermined type of command has been input, and the command execution processing means operates when it is determined that a predetermined type of command has been input.
The apparatus is configured to perform additional paper feeding by a value obtained by subtracting a constant value N c from the specified value N of the switch, and then process the corresponding command, and the other command execution processing means performs the additional paper feeding. It is characterized in that it is configured to process the corresponding commands.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図面を参照しつつ説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の1実施例システム構成を示す
図、第2図は上端余白寸法の例を示す図、第3図
はデイツプ・スイツチによる上端余白寸法設定例
を説明する図、第4図はマイクロプロセツサによ
る処理の流れを説明する図である。
FIG. 1 is a diagram showing the system configuration of one embodiment of the present invention, FIG. 2 is a diagram showing an example of the top margin dimension, FIG. 3 is a diagram illustrating an example of setting the top margin dimension by a dip switch, and FIG. 4 is a diagram showing an example of the top margin dimension setting. FIG. 2 is a diagram illustrating the flow of processing by a microprocessor.

第1図において、1は本体装置(CPU)、2は
インターフエイス回路、3はMPU(マイクロプロ
セツサ)、4はCS(コントロール・ストレージ)、
5はRAM、6はデイツプ・スイツチ、7はデコ
ーダ、8は出力ポート、9は入力ポート、10は
ドライバ・センサ回路、11は機構部、12はア
ドレス・スイツチを示す。CS4は、制御用のマ
イヤロプログラムを格納するメモリ(ROM)で
あり、RAM5は、本体装置1から送られてきた
データを格納したりデータ処理の作業領域として
使用したりするメモリである。デコーダ7は、入
力ポート9及び出力ポート8のアドレス指定用の
デコーダである。出力ポート8は、各種のモータ
をドライブしたり、印字ヘツドに印字させたりす
るための情報をMPU3からドライバ・センサ回
路10へ送るポートであり、入力ポート9は、
IDセンサや媒体位置センサ等の各種センサの内
容をドライバ・センサ回路10からMPU3へ読
込んだり、デイツプ・スイツチ6の内容をMPU
3へ読込んだりするポートである。デイツプ・ス
イツチ6は、第2図に示す様に、媒体の上端から
第1印字行までの上端余白の寸法を設定するもの
であり、例えば操作パネル上に設ける上端余白切
替スイツチである。今、第3図aに示す様な上端
余白を有する既存機種との媒体上の互換が必要と
なつた場合を想定すると、デイツプ・スイツチ6
の内容は010に設定する、この様に設定された状
態に於いて、本体装置1からのコマンド待ちの待
機状態にあるとき、媒体ロード(コマンド又はマ
ニユアルでも良いが、ここではコマンド指定とす
る)が指示されると、プリンタ装置は、媒体を一
旦上端余白最小値(第3図bに示す例では7.6mm)
に位置づけ、再び次のコマンド待ちとなつて待機
状態にはいる。この状態に於いて、本体装置1か
ら送られてきたコマンドが既存機種に於いても有
効となるものである時(例えばライト・コマン
ド、改行コマンド等)プリンタ装置は、送られて
きたコマンド動作(ここではライト・コマンドと
する)を実行する前に、上端余白を7.6mmからデ
イツプ・スイツチ設定値(ここでは23.3mm)にな
る迄媒体の用紙送り動作を実行する。この用紙送
り動作終了後、ライト・コマンド(具体的には印
字動作)を実行する。
In Figure 1, 1 is the main unit (CPU), 2 is the interface circuit, 3 is the MPU (microprocessor), 4 is the CS (control storage),
5 is a RAM, 6 is a dip switch, 7 is a decoder, 8 is an output port, 9 is an input port, 10 is a driver/sensor circuit, 11 is a mechanical section, and 12 is an address switch. CS4 is a memory (ROM) that stores a Mayaro program for control, and RAM5 is a memory that stores data sent from the main device 1 and is used as a work area for data processing. Decoder 7 is a decoder for addressing input port 9 and output port 8. The output port 8 is a port that sends information from the MPU 3 to the driver/sensor circuit 10 to drive various motors or print on the print head, and the input port 9 is
The contents of various sensors such as the ID sensor and medium position sensor can be read from the driver sensor circuit 10 to the MPU 3, and the contents of the dip switch 6 can be read from the driver sensor circuit 10 to the MPU 3.
This is a port for reading data to 3. The dip switch 6, as shown in FIG. 2, sets the size of the top margin from the top of the medium to the first print line, and is, for example, a top margin changeover switch provided on the operation panel. Now, assuming that it becomes necessary to have media compatibility with an existing model that has a top margin as shown in Figure 3a, dip switch 6
The content of is set to 010. In the state set in this way, when in the standby state waiting for a command from the main unit 1, the media load (command or manual may be used, but here the command is specified) When instructed to do so, the printer device temporarily prints the media with the minimum top margin (7.6 mm in the example shown in Figure 3b).
, and enters the standby state again, waiting for the next command. In this state, when the command sent from main device 1 is valid even in existing models (for example, write command, line feed command, etc.), the printer device performs the command action ( Before executing the write command (in this example), the paper is fed until the top margin reaches the dip switch setting value (23.3 mm in this example) from 7.6 mm. After this paper feeding operation is completed, a write command (specifically, a printing operation) is executed.

次に、プリンタ装置におけるMPU3による処
理の流れを第4図を参照しつつ説明する。まず、
本体装置1からロード・コマンドが指示される
と、MPU3は、媒体をロードし、以下の処理を
行う。
Next, the flow of processing by the MPU 3 in the printer device will be explained with reference to FIG. first,
When the main unit 1 instructs a load command, the MPU 3 loads the medium and performs the following processing.

上端余白7.6mmまでロードする。次にの処
理を行う。
Load up to the top margin of 7.6mm. Perform the following processing.

次のコマンド入力を待ち、コマンドが入力さ
れると又はの処理を行う。
Waits for the next command input, and when the command is input, performs processing.

コマンドを調べ、ライト又は改行コマンドの
場合にはの処理を行う。
Checks the command and performs processing if it is a write or line feed command.

デイツプ・スイツチの設定がNであるとする
と、N−7.6mmだけ用紙送りを行う。次にの
処理を行う。
Assuming that the dip switch is set to N, the paper is fed by N-7.6 mm. Perform the following processing.

上端Nmmでライト又は改行コマンドを実行す
る。
Execute a write or line feed command at the top Nmm.

コマンドを調べ、ライトIDコマンドの場合
にはの処理を行う。
Checks the command and performs processing if it is a light ID command.

上端7.6mmでライトIDコマンドを実行する。 Execute the light ID command at the top edge of 7.6mm.

以上のように、上端余白7.6mmに於いて待機中
に指定されたコマンドが、通常の印字コマンド
(ライト・コマンドや改行コマンド等)以外の当
該プリンタ装置特有のコマンド、例えばライト
IDコマンドである場合には、デイツプ・スイツ
チ6の内容を無視し、そのまま最小の上端余白
7.6mmの位置でIDマークの印字動作を実行するの
で、新しいプリンタ装置として有する機能をも有
効に使うことができる。
As described above, the command specified during standby at the top margin of 7.6 mm is a command specific to the printer device other than the normal print command (write command, line feed command, etc.), such as a write command.
If it is an ID command, the contents of dip switch 6 are ignored and the minimum top margin is
Since the ID mark is printed at the 7.6 mm position, the functions of a new printer device can be used effectively.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように、本発明によれ
ば、以前に使用していたプリンタ装置との上端先
出し寸法の互換が可能になるばかりでなく、特別
にオペレータが介入しなくてもそのプリンタ装置
の有する最小上端余白により、上端余白寸法を短
縮し、IDマークを印字する等の新たな機能を有
効に発揮させることができる。
As is clear from the above description, according to the present invention, not only is it possible to make the top edge end-out dimension compatible with a previously used printer device, but also the printer device can be used without special operator intervention. Because of the minimum top margin that it has, it is possible to shorten the top margin dimension and effectively utilize new functions such as printing an ID mark.

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

第1図は本発明の1実施例システム構成を示す
図、第2図は上端余白寸法の例を示す図、第3図
はデイツプ・スイツチによる上端余白寸法設定例
を説明する図、第4図はマイクロプセツサによる
処理の流れを説明する図である。 1……本体装置(CPU)、2……インターフエ
イス回路、3……MPU(マイクロプロセツサ)、
4……CS(コントロール・ストレージ)、5……
RAM、6……デイツプ・スイツチ、7……デコ
ーダ、8……出力ポート、9……入力ポート、1
0……ドライバ・センサ回路、11……機構部、
12……アドレス・スイツチ。
FIG. 1 is a diagram showing the system configuration of one embodiment of the present invention, FIG. 2 is a diagram showing an example of the top margin dimension, FIG. 3 is a diagram illustrating an example of setting the top margin dimension by a dip switch, and FIG. 4 is a diagram showing an example of the top margin dimension setting. FIG. 2 is a diagram illustrating the flow of processing by a microprocessor. 1... Main unit (CPU), 2... Interface circuit, 3... MPU (microprocessor),
4...CS (control storage), 5...
RAM, 6... Deep switch, 7... Decoder, 8... Output port, 9... Input port, 1
0...driver/sensor circuit, 11...mechanism section,
12...Address switch.

Claims (1)

【特許請求の範囲】 1 プリンタ機構部と、 入力されたコマンドに従つて前記プリンタ機構
部を制御するプリンタ制御部と、 種々の値Nを設定できるデイツプ・スイツチと
を具備するプリンタ装置であつて、 前記プリンタ制御部は、 用紙の供給を指示するロード、コマンドが入力
された時に動作し、用紙上端余白が定数値Nc
なるように、用紙を取り込む処理を行うロード・
コマンド実行処理手段と、 前記ロード・コマンド実行処理手段の処理によ
つて用紙が取り込まれた後に動作し、次のコマン
ドが入力された時に当該入力コマンドが所定種類
のコマンドであるか、他の所定種類のコマンドで
あるかを判定するコマンド判定手段と、 前記コマンド判定手段によつて所定種類のコマ
ンドが入力されたと判定された時に動作するコマ
ンド実行処理手段と、 前記コマンド判定手段によつて他の所定種類の
コマンドが入力されたと判定された時に動作する
他コマンド実行処理手段と を有し、 前記コマンド実行処理手段は、前記デイツプ・
スイツチの指定値Nから定数値Ncを減算した値
だけ追加の用紙送りを行い、その後で対応するコ
マンドの処理を行うように構成され、 前記他コマンド実行処理手段は、前記追加の用
紙送りを行うことなく、対応するコマンドの処理
を行うよう構成されている ことを特徴とするプリンタ装置。
[Scope of Claims] 1. A printer device comprising: a printer mechanism section; a printer control section that controls the printer mechanism section according to input commands; and a dip switch that can set various values N. , the printer control unit operates when a load command is input that instructs paper supply, and performs processing to take in paper so that the top margin of the paper becomes a constant value Nc .
A command execution processing means, which operates after the paper is taken in by the processing of the load command execution processing means, and when the next command is input, it is determined whether the input command is a predetermined type of command or another predetermined command. command determining means for determining whether the command is of a certain type; command execution processing means that operates when the command determining means determines that a predetermined type of command has been input; and other command execution processing means that operates when it is determined that a predetermined type of command has been input, and the command execution processing means operates when it is determined that a predetermined type of command has been input.
The apparatus is configured to perform additional paper feeding by a value obtained by subtracting a constant value N c from the specified value N of the switch, and then process the corresponding command, and the other command execution processing means performs the additional paper feeding. What is claimed is: 1. A printer device characterized in that it is configured to process a corresponding command.
JP58224696A 1983-11-29 1983-11-29 Printer controlling system Granted JPS60115481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58224696A JPS60115481A (en) 1983-11-29 1983-11-29 Printer controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58224696A JPS60115481A (en) 1983-11-29 1983-11-29 Printer controlling system

Publications (2)

Publication Number Publication Date
JPS60115481A JPS60115481A (en) 1985-06-21
JPH0358318B2 true JPH0358318B2 (en) 1991-09-05

Family

ID=16817802

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58224696A Granted JPS60115481A (en) 1983-11-29 1983-11-29 Printer controlling system

Country Status (1)

Country Link
JP (1) JPS60115481A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2643569B2 (en) * 1990-09-12 1997-08-20 ブラザー工業株式会社 Tape printer

Also Published As

Publication number Publication date
JPS60115481A (en) 1985-06-21

Similar Documents

Publication Publication Date Title
JPS6392473A (en) Printer
JPH0358318B2 (en)
JPS6159920B2 (en)
JPH0578428B2 (en)
JP4890984B2 (en) Printing apparatus and printing apparatus control method
JPH0474740B2 (en)
JPH078589B2 (en) Recording control device
JP2005111715A (en) Printer and control method therefor
JP2886928B2 (en) Printing control device
JPH0691955A (en) Ic card attachable printer and data controlling method using the printer
JPH01159262A (en) Printer
JPS6274677A (en) Printer
JP2886929B2 (en) Printing control device
CN115098048A (en) Printing control method and system based on printing module
JPH05189172A (en) Printer
JPH0818448B2 (en) Page printer
JPH08292851A (en) Printer device
JPS62183369A (en) Serial printer
JPH01190472A (en) Printing device
JPH06171151A (en) Printer
JPH055474U (en) Printer device
JPH05138995A (en) Printer
JPH04238064A (en) Printer
JPH0592636A (en) Printing controller
JPH09188023A (en) Printer apparatus

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees