JPH053332Y2 - - Google Patents

Info

Publication number
JPH053332Y2
JPH053332Y2 JP4774085U JP4774085U JPH053332Y2 JP H053332 Y2 JPH053332 Y2 JP H053332Y2 JP 4774085 U JP4774085 U JP 4774085U JP 4774085 U JP4774085 U JP 4774085U JP H053332 Y2 JPH053332 Y2 JP H053332Y2
Authority
JP
Japan
Prior art keywords
printing
printer
home position
power
initialization
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
JP4774085U
Other languages
Japanese (ja)
Other versions
JPS61164755U (en
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 filed Critical
Priority to JP4774085U priority Critical patent/JPH053332Y2/ja
Publication of JPS61164755U publication Critical patent/JPS61164755U/ja
Application granted granted Critical
Publication of JPH053332Y2 publication Critical patent/JPH053332Y2/ja
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Description

【考案の詳細な説明】 [考案の技術分野] この考案は印字動作の初期設定のためのプリン
タのリターン制御装置に関する。
[Detailed Description of the Invention] [Technical Field of the Invention] This invention relates to a printer return control device for initializing printing operations.

[従来技術とその問題点] 従来、プリンタ機能を有する小型電子機器にお
いては、電源投入時やプリンタの動作当初など
に、必ず初期設定として印字ヘツドやキヤリツジ
または活字ドラム等の印字部材をホームポジシヨ
ンに戻すリターン動作が行なわれている。
[Prior art and its problems] Conventionally, in small electronic devices with a printer function, when the power is turned on or when the printer starts operating, the printing member such as the print head, carriage, or type drum must be set to the home position as an initial setting. A return operation is being performed to return to .

しかしながら、このような小型電子機器にあつ
ては、初めから印字部材がホームポジシヨンに位
置している場合でも、改めて印字部材をホームポ
ジシヨンに戻すリターン動作が行なわれるため、
時間、電力が無駄に消費されていた。
However, in such small electronic devices, even if the printing member is located at the home position from the beginning, a return operation is performed to return the printing member to the home position.
Time and power were wasted.

[考案の目的] この考案は上記のような実情に鑑みてなされた
もので、初期設定時に必要な場合にのみ印字部材
(印字ヘツド、キヤリツジ、活字ドラム等)をホ
ームポジシヨンに戻すリターン動作を行なわせる
ようにしたプリンタのリターン制御装置を提供す
ることを目的とする。
[Purpose of the invention] This invention was made in view of the above-mentioned circumstances, and it is designed to perform a return operation to return printing members (print head, carriage, type drum, etc.) to the home position only when necessary during initial setup. It is an object of the present invention to provide a return control device for a printer that allows the printer to perform the following operations.

[考案の要点] この考案は、電源オフ時にプリンタの印字部材
がホームポジシヨンにあるか否かを記憶し、プリ
ントオン命令入力時にこの記憶内容により印字処
理前に印字部材をホームポジシヨンにリターンさ
せるか否か制御するようにしたものである。
[Key points of the invention] This invention memorizes whether or not the printing member of the printer is at the home position when the power is turned off, and when a print-on command is input, the stored content returns the printing member to the home position before printing processing. It is possible to control whether or not to

[考案の実施例] 以下本考案を小型電子式計算機に応用した場合
の実施例について図面を参照して説明する。第1
図はその回路構成を示すもので、11はバツクア
ツプ用の電源であり、この電源11の電力は初期
化フラグレジスタ12に供給される。この初期化
フラグレジスタ12は、プリンタ13の印字部材
(前述したように印字ヘツド、キヤリツジ、活字
ドラム等を意味する)がホームポジシヨンに位置
しているか否かを電源11から供給される電力に
よつて記憶するもので、その記憶内容である初期
化フラグがセツト状態である「1」である時、セ
ツト出力がリターン制御部14に送られる。この
リターン制御部14は、図示しない小型電子式計
算機本体からプリントオン信号が入力された時
に、初期化フラグレジスタ12のセツト出力に応
じてプリンタ13の印字部材のホームポジシヨン
位置へのリターン動作の実行を制御するもので、
プリンタ13にリターン信号を、また、上記初期
化フラグレジスタ12にリセツト信号を送出す
る。プリンタ13は、リターン制御部14からの
リターン信号に従つて、印字部材をホームポジシ
ヨンに戻す動作を実行する。このプリンタ13が
印字を行なう際には印字中信号が、また、印字が
終了した際には印字終了信号が、それぞれ印字中
フラグレジスタ15に送出される。この印字中フ
ラグレジスタ15は、プリンタ13が印字中にそ
の記憶内容である印字中フラグがセツト状態とな
るもので、この印字中フラグがセツトされている
時、すなわちプリンタ13が印字動作を行なつて
いる場合には、それを示す印字中出力が印字中判
断部16になされる。この印字中判断部16は、
小型電子式計算機本体から電源オフ時に送られて
くるパワーオフ信号に従つて、印字中フラグレジ
スタ15からの印字中出力によりプリンタ13が
印字中であるかどうかを判断するもので、その判
断の結果により上記初期化フラグレジスタ12に
セツト信号を出力するようになる。
[Embodiments of the invention] Hereinafter, embodiments in which the invention is applied to a small electronic calculator will be described with reference to the drawings. 1st
The figure shows its circuit configuration. Reference numeral 11 is a backup power supply, and power from this power supply 11 is supplied to an initialization flag register 12. This initialization flag register 12 determines whether or not the printing member (meaning the print head, carriage, type drum, etc. as described above) of the printer 13 is located at the home position based on the power supplied from the power supply 11. When the initialization flag, which is the stored content, is set to "1", a set output is sent to the return control section 14. This return control unit 14 controls the return operation of the printing member of the printer 13 to the home position according to the set output of the initialization flag register 12 when a print-on signal is input from the main body of a small electronic calculator (not shown). It controls execution.
A return signal is sent to the printer 13, and a reset signal is sent to the initialization flag register 12. The printer 13 executes an operation of returning the printing member to the home position in accordance with the return signal from the return control unit 14. When the printer 13 prints, a printing signal is sent to the printing flag register 15, and when printing is completed, a printing completion signal is sent to the printing flag register 15. This printing flag register 15 is such that the printing flag which is stored therein is set while the printer 13 is printing.When this printing flag is set, that is, when the printer 13 is performing a printing operation. If so, a printing-in-progress output indicating this is sent to the printing-in-progress judgment unit 16. This printing-in-progress determination unit 16
In accordance with the power-off signal sent from the main body of the small electronic calculator when the power is turned off, it is determined whether the printer 13 is printing based on the printing-in-progress output from the printing-in-progress flag register 15, and the result of that judgment is As a result, a set signal is output to the initialization flag register 12.

次いで上記実施例の動作について説明する。第
2図は小型電子式計算機本体に設けられる電源オ
フキーを操作した場合の動作処理の内容を示すも
ので、動作当初において印字中判断部16に小型
電子式計算機本体からパワーオフ信号が入力され
ると、まずステツプA01に示すように印字中判断
部16が印字中フラグレジスタ15からの印字中
出力により、プリンタ13が印字中であるか否か
を判断する。ここで、プリンタ13が印字中であ
ると判断されると、次にステツプA02に進み、印
字部材が印字していた位置で停止してしまい、次
の印字開始時に初期化が必要であるので、印字中
判断部16が初期化フラグレジスタ12にセツト
信号を送出し、初期化フラグをセツトする。そし
て、この初期化フラグのセツト動作が終了した時
点で、次に上記パワーオフ信号に従つて、ステツ
プA03に示すような実際のパワーオフの処理がな
され、この電源オフキーの操作に対する処理が終
了する。また、上記ステツプA01でプリンタ13
が印字中ではないと判断された場合は、すでに印
字部材はホームポジシヨンにあり、次の印字開始
時には初期化の必要はないものとして、ステツプ
A02の初期化フラグのセツトは行なわずに、直接
ステツプA03のパワーオフ処理が行なわれる。
Next, the operation of the above embodiment will be explained. Figure 2 shows the contents of the operation process when the power off key provided on the main body of the small electronic calculator is operated.At the beginning of the operation, a power off signal is input from the main body of the small electronic calculator to the printing judgment section 16. First, as shown in step A01, the printing-in-progress determining section 16 determines whether or not the printer 13 is printing based on the printing-in-progress output from the printing in-progress flag register 15. Here, if it is determined that the printer 13 is printing, the process proceeds to step A02, where the printing member stops at the position where it was printing and needs to be initialized when starting the next printing. The printing determining section 16 sends a set signal to the initialization flag register 12 to set the initialization flag. Then, when this initialization flag setting operation is completed, the actual power-off processing as shown in step A03 is performed according to the power-off signal, and the processing for this power-off key operation is completed. . Also, in step A01 above, the printer 13
If it is determined that printing is not in progress, it is assumed that the printing member is already at the home position and there is no need to initialize it when the next printing starts.
The power-off process at step A03 is directly performed without setting the initialization flag at A02.

続いて第3図により小型電子式計算機本体から
の印字命令に対する動作を説明する。小型電子式
計算機本体からリターン制御部14にプリントオ
ン命令が入力されると、リターン制御部14はス
テツプB01に示すように初期化フラグレジスタ1
2のセツト出力によつてプリンタ13の印字部材
がホームポジシヨン位置に戻つているか否か、つ
まり初期化が必要であるか否かを判断する。ここ
で、初期化フラグレジスタ12に初期化フラグが
セツトしてあり、初期化の必要があると判断され
た場合は、プリンタ13の印字部材がホームポジ
シヨンに位置していないこととなるので、初期化
を行なうためにステツプB02に進み、例えばサー
マルプリンタにおいてはキヤリツジリターン、す
なわち印字ヘツドをホームポジシヨンへ戻す動作
と、ペーパーフイード、すなわち印字用紙の桁送
りの動作が実行される。この初期化の動作が終了
すると、続いてステツプB03において、もう初期
化の必要はないので、リターン制御部14から初
期化フラグレジスタ12にリセツト信号が送出さ
れ、初期化フラグレジスタ12の初期化フラグが
リセツトされる。以上の印字動作前の処理が終了
すると、続くステツプB04においてプリンタ13
から印字中フラグレジスタ15に印字中信号が入
力され、印字中フラグがセツトされる。そして、
ステツプB05で実際の印字処理が実行され、小型
電子式計算機本体からの印字命令に対する動作処
理を終了する。また、上記ステツプB01で初期化
した後であると判断された場合は、もう初期化の
動作は必要ないので、ステツプB02、03の初期化
処理は行なわずに、直接ステツプB04からの印字
処理を行なうものとなる。
Next, the operation in response to a print command from the main body of the small electronic calculator will be explained with reference to FIG. When a print-on command is input to the return control section 14 from the main body of the small electronic calculator, the return control section 14 sets the initialization flag register 1 as shown in step B01.
It is determined whether the printing member of the printer 13 has returned to the home position by the set output of step 2, that is, whether initialization is necessary. Here, if the initialization flag is set in the initialization flag register 12 and it is determined that initialization is necessary, this means that the printing member of the printer 13 is not located at the home position. In order to perform initialization, the process advances to step B02, where, for example, in a thermal printer, a carriage return operation, that is, an operation for returning the print head to the home position, and a paper feed operation, that is, an operation for shifting the printing paper are executed. When this initialization operation is completed, in step B03, since no further initialization is necessary, a reset signal is sent from the return control unit 14 to the initialization flag register 12, and the initialization flag of the initialization flag register 12 is reset. is reset. When the above-mentioned processing before the printing operation is completed, the printer 13 in the following step B04
A printing signal is inputted to the printing flag register 15 from the print flag register 15, and the printing flag is set. and,
At step B05, actual printing processing is executed, and the operation processing in response to the printing command from the main body of the small electronic calculator is completed. Furthermore, if it is determined that the printer has been initialized in step B01 above, no further initialization is necessary, so the printing process can be performed directly from step B04 without performing the initialization processing in steps B02 and 03. It becomes something that you do.

なお、上記実施例ではサーマルプリンタの印字
ヘツドをホームポジシヨンにリターンさせるもの
を示したが、これに限らず、シリアルプリンタ
(すなわち活字輪を備えたキヤリツジを移動させ
るもの)のキヤリツジをホームポジシヨンにリタ
ーンさせるものでもよく、またラインプリンタに
おいては活字ドラムを回転させてホームポジシヨ
ンに位置させるものにも適用できる。
In the above embodiment, the print head of a thermal printer is returned to the home position, but the present invention is not limited to this. It can also be applied to line printers in which the type drum is rotated and positioned at the home position.

また、最近の小型電子式計算機は演算レジスタ
や独立メモリを構成するRAMを回路駆動用の電
池によりバツクアツプして不揮発性メモリとして
いるので、上記初期化フラグレジスタ12を上記
RAMの一部に設ければ、バツクアツプ用の電源
11を特別に設ける必要はない。いづれにして
も、メモリのバツクアツプに必要な電力はプリン
タの動作に必要な電力に比べて極めて微少である
から、バツクアツプ用の電力が消費電力に影響す
ることはない。
Furthermore, in recent small electronic calculators, the RAM constituting the arithmetic registers and independent memory is backed up by a circuit-driving battery to provide non-volatile memory, so the initialization flag register 12 is
If it is provided in a part of the RAM, there is no need to provide a special backup power supply 11. In any case, the power required for backing up the memory is extremely small compared to the power required to operate the printer, so the power for backup has no effect on power consumption.

[考案の効果] 以上のようにこの考案によれば、電源投入時や
印字開始時にプリンタの印字部材がすでにホーム
ポジシヨンに位置している場合には、無駄な初期
化動作を行なわずに直接印字動作を実行するよう
になるので、時間、電力を浪費することのないプ
リンタのリターン制御装置を提供することができ
る。
[Effects of the invention] As described above, according to this invention, if the printing member of the printer is already at the home position when the power is turned on or when printing starts, the printing member can be directly set without performing unnecessary initialization operations. Since the printing operation is executed, it is possible to provide a printer return control device that does not waste time or power.

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

図面はこの考案の一実施例を示すもので、第1
図は回路構成を示すブロツク図、第2図は電源オ
フキー操作時の動作を示すフローチヤート、第3
図はプリント命令に対する動作を示すフローチヤ
ートである。 11……電源、12……初期化フラグレジス
タ、13……プリンタ、14……リターン制御
部、15……印字中フラグレジスタ、16……印
字中判断部。
The drawing shows one embodiment of this invention.
The figure is a block diagram showing the circuit configuration, Figure 2 is a flowchart showing the operation when the power off key is operated, and Figure 3 is a flowchart showing the operation when the power off key is operated.
The figure is a flowchart showing operations in response to print commands. DESCRIPTION OF SYMBOLS 11... Power supply, 12... Initialization flag register, 13... Printer, 14... Return control unit, 15... Printing flag register, 16... Printing determining unit.

Claims (1)

【実用新案登録請求の範囲】 電源オフ時にプリンタの印字部材がホームポジ
シヨンにあるか否かを判断する判断手段と、 この判断手段の判断結果を記憶する記憶手段
と、 プリントオン命令が入力された時に、上記記憶
手段が印字部材はホームポジシヨンにあると記憶
している場合に直ちに印字処理に移行させ、上記
記憶手段が印字部材はホームポジシヨンにないと
記憶している場合に印字処理の前に印字部材をホ
ームポジシヨンにリターンさせる制御手段と を具備したことを特徴とするプリンタのリターン
制御装置。
[Scope of Claim for Utility Model Registration] Judgment means for judging whether the printing member of the printer is in the home position when the power is turned off, storage means for storing the judgment result of this judgment means, and a print-on command is input. When the storage means remembers that the printing member is at the home position, the printing process is started immediately, and when the storage means remembers that the printing member is not at the home position, the printing process is started. 1. A return control device for a printer, comprising: a control means for returning a printing member to a home position before the printing member returns to the home position.
JP4774085U 1985-03-30 1985-03-30 Expired - Lifetime JPH053332Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4774085U JPH053332Y2 (en) 1985-03-30 1985-03-30

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4774085U JPH053332Y2 (en) 1985-03-30 1985-03-30

Publications (2)

Publication Number Publication Date
JPS61164755U JPS61164755U (en) 1986-10-13
JPH053332Y2 true JPH053332Y2 (en) 1993-01-27

Family

ID=30563343

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4774085U Expired - Lifetime JPH053332Y2 (en) 1985-03-30 1985-03-30

Country Status (1)

Country Link
JP (1) JPH053332Y2 (en)

Also Published As

Publication number Publication date
JPS61164755U (en) 1986-10-13

Similar Documents

Publication Publication Date Title
JPH053332Y2 (en)
JPH1044557A (en) Printer and method for stopping it forcibly
JP2774369B2 (en) Image recording device
JP3093342B2 (en) Power saving method and printing apparatus
JPH0561821A (en) Data transfer method
EP0200222A2 (en) Word processor with automatic typewriter mode
JPH0332467B2 (en)
KR100509466B1 (en) Printer's Power Save Mode Control
JPH0753461B2 (en) Printer
JP3147376B2 (en) Program starter
JPH09109515A (en) Image forming device
JPH0139140B2 (en)
JPH0532013A (en) Information processing and device therefor
KR970003662B1 (en) Printer
JPS60229780A (en) Electronic typewriter
KR100544165B1 (en) Method for changing registered information of printer in printer driver
JPS5981749A (en) Electronic calculator with printer
JP2805642B2 (en) Printer device
JPH0358318B2 (en)
JPH04338576A (en) Printer device
JPH06187070A (en) Reset controller for information processor
JPH05173733A (en) Method and device for processing information
JPS6399981A (en) Power source device for printer
JPH0532012A (en) Information processing and device therefor
JPH1124798A (en) Information processor